7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_EXPORTS.h>
10#include <aws/iot/model/CommandExecutionStatus.h>
43 template <
typename CommandArnT = Aws::String>
45 m_commandArnHasBeenSet =
true;
46 m_commandArn = std::forward<CommandArnT>(value);
48 template <
typename CommandArnT = Aws::String>
61 template <
typename ExecutionIdT = Aws::String>
63 m_executionIdHasBeenSet =
true;
64 m_executionId = std::forward<ExecutionIdT>(value);
66 template <
typename ExecutionIdT = Aws::String>
80 template <
typename TargetArnT = Aws::String>
82 m_targetArnHasBeenSet =
true;
83 m_targetArn = std::forward<TargetArnT>(value);
85 template <
typename TargetArnT = Aws::String>
99 m_statusHasBeenSet =
true;
115 template <
typename CreatedAtT = Aws::Utils::DateTime>
117 m_createdAtHasBeenSet =
true;
118 m_createdAt = std::forward<CreatedAtT>(value);
120 template <
typename CreatedAtT = Aws::Utils::DateTime>
134 template <
typename StartedAtT = Aws::Utils::DateTime>
136 m_startedAtHasBeenSet =
true;
137 m_startedAt = std::forward<StartedAtT>(value);
139 template <
typename StartedAtT = Aws::Utils::DateTime>
153 template <
typename CompletedAtT = Aws::Utils::DateTime>
155 m_completedAtHasBeenSet =
true;
156 m_completedAt = std::forward<CompletedAtT>(value);
158 template <
typename CompletedAtT = Aws::Utils::DateTime>
178 bool m_commandArnHasBeenSet =
false;
179 bool m_executionIdHasBeenSet =
false;
180 bool m_targetArnHasBeenSet =
false;
181 bool m_statusHasBeenSet =
false;
182 bool m_createdAtHasBeenSet =
false;
183 bool m_startedAtHasBeenSet =
false;
184 bool m_completedAtHasBeenSet =
false;
const Aws::Utils::DateTime & GetCompletedAt() const
AWS_IOT_API CommandExecutionSummary()=default
void SetCreatedAt(CreatedAtT &&value)
CommandExecutionSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool CreatedAtHasBeenSet() const
CommandExecutionSummary & WithExecutionId(ExecutionIdT &&value)
CommandExecutionSummary & WithCommandArn(CommandArnT &&value)
bool CommandArnHasBeenSet() const
const Aws::String & GetTargetArn() const
bool ExecutionIdHasBeenSet() const
const Aws::String & GetCommandArn() const
CommandExecutionStatus GetStatus() const
void SetTargetArn(TargetArnT &&value)
bool StatusHasBeenSet() const
bool CompletedAtHasBeenSet() const
bool TargetArnHasBeenSet() const
void SetExecutionId(ExecutionIdT &&value)
AWS_IOT_API CommandExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API CommandExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CommandExecutionSummary & WithTargetArn(TargetArnT &&value)
CommandExecutionSummary & WithStatus(CommandExecutionStatus value)
const Aws::String & GetExecutionId() const
void SetStatus(CommandExecutionStatus value)
void SetCompletedAt(CompletedAtT &&value)
CommandExecutionSummary & WithStartedAt(StartedAtT &&value)
CommandExecutionSummary & WithCompletedAt(CompletedAtT &&value)
void SetCommandArn(CommandArnT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetStartedAt(StartedAtT &&value)
bool StartedAtHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue