7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10#include <aws/iot-managed-integrations/model/OtaStatus.h>
21namespace IoTManagedIntegrations {
43 template <
typename TaskIdT = Aws::String>
45 m_taskIdHasBeenSet =
true;
46 m_taskId = std::forward<TaskIdT>(value);
48 template <
typename TaskIdT = Aws::String>
61 template <
typename TaskArnT = Aws::String>
63 m_taskArnHasBeenSet =
true;
64 m_taskArn = std::forward<TaskArnT>(value);
66 template <
typename TaskArnT = Aws::String>
79 template <
typename CreatedAtT = Aws::Utils::DateTime>
81 m_createdAtHasBeenSet =
true;
82 m_createdAt = std::forward<CreatedAtT>(value);
84 template <
typename CreatedAtT = Aws::Utils::DateTime>
98 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
100 m_lastUpdatedAtHasBeenSet =
true;
101 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
103 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
116 template <
typename TaskConfigurationIdT = Aws::String>
118 m_taskConfigurationIdHasBeenSet =
true;
119 m_taskConfigurationId = std::forward<TaskConfigurationIdT>(value);
121 template <
typename TaskConfigurationIdT = Aws::String>
135 m_statusHasBeenSet =
true;
155 bool m_taskIdHasBeenSet =
false;
156 bool m_taskArnHasBeenSet =
false;
157 bool m_createdAtHasBeenSet =
false;
158 bool m_lastUpdatedAtHasBeenSet =
false;
159 bool m_taskConfigurationIdHasBeenSet =
false;
160 bool m_statusHasBeenSet =
false;
bool TaskIdHasBeenSet() const
OtaTaskSummary & WithTaskId(TaskIdT &&value)
bool TaskArnHasBeenSet() const
OtaTaskSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
bool StatusHasBeenSet() const
bool LastUpdatedAtHasBeenSet() const
AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskSummary()=default
void SetTaskArn(TaskArnT &&value)
void SetStatus(OtaStatus value)
OtaTaskSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetTaskArn() const
OtaStatus GetStatus() const
AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreatedAtHasBeenSet() const
bool TaskConfigurationIdHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
OtaTaskSummary & WithTaskArn(TaskArnT &&value)
OtaTaskSummary & WithStatus(OtaStatus value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::String & GetTaskId() const
void SetCreatedAt(CreatedAtT &&value)
OtaTaskSummary & WithTaskConfigurationId(TaskConfigurationIdT &&value)
void SetTaskConfigurationId(TaskConfigurationIdT &&value)
void SetTaskId(TaskIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTaskConfigurationId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue