7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/JobExecutionStatus.h>
9#include <aws/core/utils/DateTime.h>
57 template<
typename QueuedAtT = Aws::Utils::DateTime>
58 void SetQueuedAt(QueuedAtT&& value) { m_queuedAtHasBeenSet =
true; m_queuedAt = std::forward<QueuedAtT>(value); }
59 template<
typename QueuedAtT = Aws::Utils::DateTime>
69 template<
typename StartedAtT = Aws::Utils::DateTime>
70 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
71 template<
typename StartedAtT = Aws::Utils::DateTime>
82 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
83 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
84 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
96 inline void SetExecutionNumber(
long long value) { m_executionNumberHasBeenSet =
true; m_executionNumber = value; }
107 inline void SetRetryAttempt(
int value) { m_retryAttemptHasBeenSet =
true; m_retryAttempt = value; }
113 bool m_statusHasBeenSet =
false;
116 bool m_queuedAtHasBeenSet =
false;
119 bool m_startedAtHasBeenSet =
false;
122 bool m_lastUpdatedAtHasBeenSet =
false;
124 long long m_executionNumber{0};
125 bool m_executionNumberHasBeenSet =
false;
127 int m_retryAttempt{0};
128 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