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>
50 template<
typename JobIdT = Aws::String>
51 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
52 template<
typename JobIdT = Aws::String>
74 inline void SetForceCanceled(
bool value) { m_forceCanceledHasBeenSet =
true; m_forceCanceled = value; }
85 template<
typename StatusDetailsT = JobExecutionStatusDetails>
86 void SetStatusDetails(StatusDetailsT&& value) { m_statusDetailsHasBeenSet =
true; m_statusDetails = std::forward<StatusDetailsT>(value); }
87 template<
typename StatusDetailsT = JobExecutionStatusDetails>
97 template<
typename ThingArnT = Aws::String>
98 void SetThingArn(ThingArnT&& value) { m_thingArnHasBeenSet =
true; m_thingArn = std::forward<ThingArnT>(value); }
99 template<
typename ThingArnT = Aws::String>
109 template<
typename QueuedAtT = Aws::Utils::DateTime>
110 void SetQueuedAt(QueuedAtT&& value) { m_queuedAtHasBeenSet =
true; m_queuedAt = std::forward<QueuedAtT>(value); }
111 template<
typename QueuedAtT = Aws::Utils::DateTime>
121 template<
typename StartedAtT = Aws::Utils::DateTime>
122 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
123 template<
typename StartedAtT = Aws::Utils::DateTime>
134 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
135 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
136 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
148 inline void SetExecutionNumber(
long long value) { m_executionNumberHasBeenSet =
true; m_executionNumber = value; }
159 inline void SetVersionNumber(
long long value) { m_versionNumberHasBeenSet =
true; m_versionNumber = value; }
179 bool m_jobIdHasBeenSet =
false;
182 bool m_statusHasBeenSet =
false;
184 bool m_forceCanceled{
false};
185 bool m_forceCanceledHasBeenSet =
false;
187 JobExecutionStatusDetails m_statusDetails;
188 bool m_statusDetailsHasBeenSet =
false;
191 bool m_thingArnHasBeenSet =
false;
194 bool m_queuedAtHasBeenSet =
false;
197 bool m_startedAtHasBeenSet =
false;
200 bool m_lastUpdatedAtHasBeenSet =
false;
202 long long m_executionNumber{0};
203 bool m_executionNumberHasBeenSet =
false;
205 long long m_versionNumber{0};
206 bool m_versionNumberHasBeenSet =
false;
208 long long m_approximateSecondsBeforeTimedOut{0};
209 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