7#include <aws/core/utils/DateTime.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
9#include <aws/iot-managed-integrations/model/OtaTaskExecutionStatus.h>
20namespace IoTManagedIntegrations {
43 m_executionNumberHasBeenSet =
true;
44 m_executionNumber = value;
59 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
61 m_lastUpdatedAtHasBeenSet =
true;
62 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
64 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
78 template <
typename QueuedAtT = Aws::Utils::DateTime>
80 m_queuedAtHasBeenSet =
true;
81 m_queuedAt = std::forward<QueuedAtT>(value);
83 template <
typename QueuedAtT = Aws::Utils::DateTime>
98 m_retryAttemptHasBeenSet =
true;
99 m_retryAttempt = value;
114 template <
typename StartedAtT = Aws::Utils::DateTime>
116 m_startedAtHasBeenSet =
true;
117 m_startedAt = std::forward<StartedAtT>(value);
119 template <
typename StartedAtT = Aws::Utils::DateTime>
133 m_statusHasBeenSet =
true;
142 long long m_executionNumber{0};
148 int m_retryAttempt{0};
153 bool m_executionNumberHasBeenSet =
false;
154 bool m_lastUpdatedAtHasBeenSet =
false;
155 bool m_queuedAtHasBeenSet =
false;
156 bool m_retryAttemptHasBeenSet =
false;
157 bool m_startedAtHasBeenSet =
false;
158 bool m_statusHasBeenSet =
false;
void SetStatus(OtaTaskExecutionStatus value)
void SetStartedAt(StartedAtT &&value)
int GetRetryAttempt() const
OtaTaskExecutionSummary & WithStatus(OtaTaskExecutionStatus value)
const Aws::Utils::DateTime & GetQueuedAt() const
long long GetExecutionNumber() const
void SetExecutionNumber(long long value)
void SetQueuedAt(QueuedAtT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskExecutionSummary()=default
bool StatusHasBeenSet() const
bool QueuedAtHasBeenSet() const
bool ExecutionNumberHasBeenSet() const
void SetRetryAttempt(int value)
OtaTaskExecutionSummary & WithQueuedAt(QueuedAtT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
OtaTaskExecutionStatus GetStatus() const
AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
OtaTaskExecutionSummary & WithRetryAttempt(int value)
const Aws::Utils::DateTime & GetStartedAt() const
bool LastUpdatedAtHasBeenSet() const
OtaTaskExecutionSummary & WithStartedAt(StartedAtT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
OtaTaskExecutionSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
bool RetryAttemptHasBeenSet() const
bool StartedAtHasBeenSet() const
OtaTaskExecutionSummary & WithExecutionNumber(long long value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Aws::Utils::Json::JsonValue JsonValue