7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/iot-managed-integrations/model/OtaTaskExecutionStatus.h>
22namespace IoTManagedIntegrations
48 inline void SetExecutionNumber(
long long value) { m_executionNumberHasBeenSet =
true; m_executionNumber = value; }
59 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
60 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
61 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
72 template<
typename QueuedAtT = Aws::Utils::DateTime>
73 void SetQueuedAt(QueuedAtT&& value) { m_queuedAtHasBeenSet =
true; m_queuedAt = std::forward<QueuedAtT>(value); }
74 template<
typename QueuedAtT = Aws::Utils::DateTime>
85 inline void SetRetryAttempt(
int value) { m_retryAttemptHasBeenSet =
true; m_retryAttempt = value; }
96 template<
typename StartedAtT = Aws::Utils::DateTime>
97 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
98 template<
typename StartedAtT = Aws::Utils::DateTime>
113 long long m_executionNumber{0};
114 bool m_executionNumberHasBeenSet =
false;
117 bool m_lastUpdatedAtHasBeenSet =
false;
120 bool m_queuedAtHasBeenSet =
false;
122 int m_retryAttempt{0};
123 bool m_retryAttemptHasBeenSet =
false;
126 bool m_startedAtHasBeenSet =
false;
129 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