7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_EXPORTS.h>
10#include <aws/iot/model/JobExecutionStatus.h>
11#include <aws/iot/model/JobExecutionStatusDetails.h>
44 template <
typename JobIdT = Aws::String>
46 m_jobIdHasBeenSet =
true;
47 m_jobId = std::forward<JobIdT>(value);
49 template <
typename JobIdT = Aws::String>
51 SetJobId(std::forward<JobIdT>(value));
64 m_statusHasBeenSet =
true;
81 m_forceCanceledHasBeenSet =
true;
82 m_forceCanceled = value;
97 template <
typename StatusDetailsT = JobExecutionStatusDetails>
99 m_statusDetailsHasBeenSet =
true;
100 m_statusDetails = std::forward<StatusDetailsT>(value);
102 template <
typename StatusDetailsT = JobExecutionStatusDetails>
115 template <
typename ThingArnT = Aws::String>
117 m_thingArnHasBeenSet =
true;
118 m_thingArn = std::forward<ThingArnT>(value);
120 template <
typename ThingArnT = Aws::String>
133 template <
typename QueuedAtT = Aws::Utils::DateTime>
135 m_queuedAtHasBeenSet =
true;
136 m_queuedAt = std::forward<QueuedAtT>(value);
138 template <
typename QueuedAtT = Aws::Utils::DateTime>
151 template <
typename StartedAtT = Aws::Utils::DateTime>
153 m_startedAtHasBeenSet =
true;
154 m_startedAt = std::forward<StartedAtT>(value);
156 template <
typename StartedAtT = Aws::Utils::DateTime>
170 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
172 m_lastUpdatedAtHasBeenSet =
true;
173 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
175 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
191 m_executionNumberHasBeenSet =
true;
192 m_executionNumber = value;
208 m_versionNumberHasBeenSet =
true;
209 m_versionNumber = value;
228 m_approximateSecondsBeforeTimedOutHasBeenSet =
true;
229 m_approximateSecondsBeforeTimedOut = value;
241 bool m_forceCanceled{
false};
243 JobExecutionStatusDetails m_statusDetails;
253 long long m_executionNumber{0};
255 long long m_versionNumber{0};
257 long long m_approximateSecondsBeforeTimedOut{0};
258 bool m_jobIdHasBeenSet =
false;
259 bool m_statusHasBeenSet =
false;
260 bool m_forceCanceledHasBeenSet =
false;
261 bool m_statusDetailsHasBeenSet =
false;
262 bool m_thingArnHasBeenSet =
false;
263 bool m_queuedAtHasBeenSet =
false;
264 bool m_startedAtHasBeenSet =
false;
265 bool m_lastUpdatedAtHasBeenSet =
false;
266 bool m_executionNumberHasBeenSet =
false;
267 bool m_versionNumberHasBeenSet =
false;
268 bool m_approximateSecondsBeforeTimedOutHasBeenSet =
false;
JobExecutionStatus GetStatus() const
bool ApproximateSecondsBeforeTimedOutHasBeenSet() const
void SetThingArn(ThingArnT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
bool VersionNumberHasBeenSet() const
void SetVersionNumber(long long value)
long long GetVersionNumber() const
AWS_IOT_API JobExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
JobExecution & WithQueuedAt(QueuedAtT &&value)
bool QueuedAtHasBeenSet() const
void SetStartedAt(StartedAtT &&value)
bool StartedAtHasBeenSet() const
JobExecution & WithThingArn(ThingArnT &&value)
const Aws::Utils::DateTime & GetQueuedAt() const
AWS_IOT_API JobExecution()=default
const Aws::Utils::DateTime & GetStartedAt() const
bool GetForceCanceled() const
void SetJobId(JobIdT &&value)
bool StatusDetailsHasBeenSet() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(JobExecutionStatus value)
const JobExecutionStatusDetails & GetStatusDetails() const
void SetQueuedAt(QueuedAtT &&value)
void SetApproximateSecondsBeforeTimedOut(long long value)
const Aws::String & GetThingArn() const
void SetExecutionNumber(long long value)
JobExecution & WithJobId(JobIdT &&value)
JobExecution & WithStatusDetails(StatusDetailsT &&value)
long long GetExecutionNumber() const
const Aws::String & GetJobId() const
JobExecution & WithApproximateSecondsBeforeTimedOut(long long value)
void SetStatusDetails(StatusDetailsT &&value)
void SetForceCanceled(bool value)
bool JobIdHasBeenSet() const
long long GetApproximateSecondsBeforeTimedOut() const
bool ForceCanceledHasBeenSet() const
AWS_IOT_API JobExecution(Aws::Utils::Json::JsonView jsonValue)
JobExecution & WithExecutionNumber(long long value)
JobExecution & WithStartedAt(StartedAtT &&value)
JobExecution & WithVersionNumber(long long value)
bool StatusHasBeenSet() const
JobExecution & WithForceCanceled(bool value)
JobExecution & WithLastUpdatedAt(LastUpdatedAtT &&value)
bool ThingArnHasBeenSet() const
bool LastUpdatedAtHasBeenSet() const
JobExecution & WithStatus(JobExecutionStatus value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
bool ExecutionNumberHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue