7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/CommandExecutionStatus.h>
10#include <aws/core/utils/DateTime.h>
49 template<
typename CommandArnT = Aws::String>
50 void SetCommandArn(CommandArnT&& value) { m_commandArnHasBeenSet =
true; m_commandArn = std::forward<CommandArnT>(value); }
51 template<
typename CommandArnT = Aws::String>
61 template<
typename ExecutionIdT = Aws::String>
62 void SetExecutionId(ExecutionIdT&& value) { m_executionIdHasBeenSet =
true; m_executionId = std::forward<ExecutionIdT>(value); }
63 template<
typename ExecutionIdT = Aws::String>
74 template<
typename TargetArnT = Aws::String>
75 void SetTargetArn(TargetArnT&& value) { m_targetArnHasBeenSet =
true; m_targetArn = std::forward<TargetArnT>(value); }
76 template<
typename TargetArnT = Aws::String>
97 template<
typename CreatedAtT = Aws::Utils::DateTime>
98 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
99 template<
typename CreatedAtT = Aws::Utils::DateTime>
110 template<
typename StartedAtT = Aws::Utils::DateTime>
111 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
112 template<
typename StartedAtT = Aws::Utils::DateTime>
123 template<
typename CompletedAtT = Aws::Utils::DateTime>
124 void SetCompletedAt(CompletedAtT&& value) { m_completedAtHasBeenSet =
true; m_completedAt = std::forward<CompletedAtT>(value); }
125 template<
typename CompletedAtT = Aws::Utils::DateTime>
131 bool m_commandArnHasBeenSet =
false;
134 bool m_executionIdHasBeenSet =
false;
137 bool m_targetArnHasBeenSet =
false;
140 bool m_statusHasBeenSet =
false;
143 bool m_createdAtHasBeenSet =
false;
146 bool m_startedAtHasBeenSet =
false;
149 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