7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/JobExecutionStatus.h>
10#include <aws/iot/model/JobExecutionStatusDetails.h>
11#include <aws/core/utils/DateTime.h>
52 inline void SetJobId(
const char* value) { m_jobIdHasBeenSet =
true; m_jobId.assign(value); }
78 inline void SetForceCanceled(
bool value) { m_forceCanceledHasBeenSet =
true; m_forceCanceled = value; }
103 inline void SetThingArn(
const char* value) { m_thingArnHasBeenSet =
true; m_thingArn.assign(value); }
154 inline void SetExecutionNumber(
long long value) { m_executionNumberHasBeenSet =
true; m_executionNumber = value; }
165 inline void SetVersionNumber(
long long value) { m_versionNumberHasBeenSet =
true; m_versionNumber = value; }
185 bool m_jobIdHasBeenSet =
false;
188 bool m_statusHasBeenSet =
false;
190 bool m_forceCanceled;
191 bool m_forceCanceledHasBeenSet =
false;
194 bool m_statusDetailsHasBeenSet =
false;
197 bool m_thingArnHasBeenSet =
false;
200 bool m_queuedAtHasBeenSet =
false;
203 bool m_startedAtHasBeenSet =
false;
206 bool m_lastUpdatedAtHasBeenSet =
false;
208 long long m_executionNumber;
209 bool m_executionNumberHasBeenSet =
false;
211 long long m_versionNumber;
212 bool m_versionNumberHasBeenSet =
false;
214 long long m_approximateSecondsBeforeTimedOut;
215 bool m_approximateSecondsBeforeTimedOutHasBeenSet =
false;
JobExecution & WithThingArn(const Aws::String &value)
bool ApproximateSecondsBeforeTimedOutHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
bool VersionNumberHasBeenSet() const
void SetStatus(JobExecutionStatus &&value)
void SetVersionNumber(long long value)
void SetQueuedAt(const Aws::Utils::DateTime &value)
long long GetVersionNumber() const
void SetStatus(const JobExecutionStatus &value)
AWS_IOT_API JobExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
bool QueuedAtHasBeenSet() const
void SetThingArn(const char *value)
bool StartedAtHasBeenSet() const
void SetStatusDetails(JobExecutionStatusDetails &&value)
const Aws::Utils::DateTime & GetQueuedAt() const
void SetStatusDetails(const JobExecutionStatusDetails &value)
JobExecution & WithJobId(const Aws::String &value)
JobExecution & WithThingArn(const char *value)
const Aws::Utils::DateTime & GetStartedAt() const
bool GetForceCanceled() const
JobExecution & WithQueuedAt(Aws::Utils::DateTime &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
bool StatusDetailsHasBeenSet() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
JobExecution & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetJobId(const char *value)
JobExecution & WithJobId(const char *value)
JobExecution & WithJobId(Aws::String &&value)
const JobExecutionStatusDetails & GetStatusDetails() const
void SetThingArn(Aws::String &&value)
void SetApproximateSecondsBeforeTimedOut(long long value)
const JobExecutionStatus & GetStatus() const
void SetJobId(Aws::String &&value)
JobExecution & WithStatusDetails(JobExecutionStatusDetails &&value)
const Aws::String & GetThingArn() const
void SetExecutionNumber(long long value)
JobExecution & WithStatus(JobExecutionStatus &&value)
void SetThingArn(const Aws::String &value)
AWS_IOT_API JobExecution()
long long GetExecutionNumber() const
const Aws::String & GetJobId() const
JobExecution & WithApproximateSecondsBeforeTimedOut(long long value)
void SetForceCanceled(bool value)
bool JobIdHasBeenSet() const
JobExecution & WithStatusDetails(const JobExecutionStatusDetails &value)
JobExecution & WithStartedAt(Aws::Utils::DateTime &&value)
JobExecution & WithThingArn(Aws::String &&value)
long long GetApproximateSecondsBeforeTimedOut() const
bool ForceCanceledHasBeenSet() const
JobExecution & WithStartedAt(const Aws::Utils::DateTime &value)
AWS_IOT_API JobExecution(Aws::Utils::Json::JsonView jsonValue)
void SetStartedAt(Aws::Utils::DateTime &&value)
JobExecution & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
JobExecution & WithStatus(const JobExecutionStatus &value)
JobExecution & WithExecutionNumber(long long value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
JobExecution & WithVersionNumber(long long value)
void SetJobId(const Aws::String &value)
bool StatusHasBeenSet() const
JobExecution & WithForceCanceled(bool value)
void SetStartedAt(const Aws::Utils::DateTime &value)
void SetQueuedAt(Aws::Utils::DateTime &&value)
JobExecution & WithQueuedAt(const Aws::Utils::DateTime &value)
bool ThingArnHasBeenSet() const
bool LastUpdatedAtHasBeenSet() const
bool ExecutionNumberHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue