7#include <aws/core/utils/DateTime.h>
8#include <aws/iot/IoT_EXPORTS.h>
9#include <aws/iot/model/JobExecutionStatus.h>
42 m_statusHasBeenSet =
true;
57 template <
typename QueuedAtT = Aws::Utils::DateTime>
59 m_queuedAtHasBeenSet =
true;
60 m_queuedAt = std::forward<QueuedAtT>(value);
62 template <
typename QueuedAtT = Aws::Utils::DateTime>
75 template <
typename StartedAtT = Aws::Utils::DateTime>
77 m_startedAtHasBeenSet =
true;
78 m_startedAt = std::forward<StartedAtT>(value);
80 template <
typename StartedAtT = Aws::Utils::DateTime>
94 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
96 m_lastUpdatedAtHasBeenSet =
true;
97 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
99 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
115 m_executionNumberHasBeenSet =
true;
116 m_executionNumber = value;
132 m_retryAttemptHasBeenSet =
true;
133 m_retryAttempt = value;
149 long long m_executionNumber{0};
151 int m_retryAttempt{0};
152 bool m_statusHasBeenSet =
false;
153 bool m_queuedAtHasBeenSet =
false;
154 bool m_startedAtHasBeenSet =
false;
155 bool m_lastUpdatedAtHasBeenSet =
false;
156 bool m_executionNumberHasBeenSet =
false;
157 bool m_retryAttemptHasBeenSet =
false;
JobExecutionSummary & WithStatus(JobExecutionStatus value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
AWS_IOT_API JobExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetStartedAt(StartedAtT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
void SetExecutionNumber(long long value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API JobExecutionSummary()=default
JobExecutionSummary & WithRetryAttempt(int value)
JobExecutionSummary & WithQueuedAt(QueuedAtT &&value)
bool QueuedAtHasBeenSet() const
JobExecutionSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Utils::DateTime & GetQueuedAt() const
long long GetExecutionNumber() const
JobExecutionStatus GetStatus() const
bool RetryAttemptHasBeenSet() const
bool LastUpdatedAtHasBeenSet() const
void SetRetryAttempt(int value)
JobExecutionSummary & WithExecutionNumber(long long value)
void SetStatus(JobExecutionStatus value)
int GetRetryAttempt() const
bool StartedAtHasBeenSet() const
const Aws::Utils::DateTime & GetStartedAt() const
void SetQueuedAt(QueuedAtT &&value)
JobExecutionSummary & WithStartedAt(StartedAtT &&value)
bool StatusHasBeenSet() const
AWS_IOT_API JobExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ExecutionNumberHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue