AWS IoT Device SDK C++ v2: Aws::Iotjobs::JobExecutionState Class Reference

AWS IoT Device SDK C++ v2 1.14.0 AWS IoT Device SDK C++ v2

Public Member Functions | Public Attributes | List of all members
Aws::Iotjobs::JobExecutionState Class Referencefinal

`#include <JobExecutionState.h>`

## Public Member Functions
| JobExecutionState ()=default
| JobExecutionState (const Crt::JsonView &doc)
JobExecutionState & | operator= (const Crt::JsonView &doc)
void | SerializeToObject (Crt::JsonObject &doc) const

## Public Attributes
Aws::Crt::Optional< Aws::Crt::Map< Aws::Crt::String, Aws::Crt::String > > | StatusDetails
Aws::Crt::Optional< int32_t > | VersionNumber
Aws::Crt::Optional< Aws::Iotjobs::JobStatus > | Status

## Detailed Description

Data about the state of a job execution.

## Constructor & Destructor Documentation

## ◆ JobExecutionState() [1/2]

Aws::Iotjobs::JobExecutionState::JobExecutionState | ( |  | ) |
| default

## ◆ JobExecutionState() [2/2]

Aws::Iotjobs::JobExecutionState::JobExecutionState | ( | const Crt::JsonView & | doc | ) |

## Member Function Documentation

## ◆ operator=()

JobExecutionState & Aws::Iotjobs::JobExecutionState::operator= | ( | const Crt::JsonView & | doc | ) |

## ◆ SerializeToObject()

void Aws::Iotjobs::JobExecutionState::SerializeToObject | ( | Crt::JsonObject & | doc | ) | const

## Member Data Documentation

## ◆ Status

Aws::Crt::Optional<Aws::Iotjobs::JobStatus> Aws::Iotjobs::JobExecutionState::Status

The status of the job execution. Can be one of: QUEUED, IN_PROGRESS, FAILED, SUCCEEDED, CANCELED, TIMED_OUT, REJECTED, or REMOVED.

## ◆ StatusDetails

Aws::Crt::Optional<Aws::Crt::Map<Aws::Crt::String, Aws::Crt::String> > Aws::Iotjobs::JobExecutionState::StatusDetails

A collection of name-value pairs that describe the status of the job execution.

## ◆ VersionNumber

Aws::Crt::Optional<int32_t> Aws::Iotjobs::JobExecutionState::VersionNumber

The version of the job execution. Job execution versions are incremented each time they are updated by a device.

The documentation for this class was generated from the following files:

- jobs/include/aws/iotjobs/JobExecutionState.h
- jobs/source/JobExecutionState.cpp