7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iot/IoT_EXPORTS.h>
12#include <aws/iot/model/CommandNamespace.h>
13#include <aws/iot/model/CommandParameter.h>
14#include <aws/iot/model/CommandPayload.h>
15#include <aws/iot/model/CommandPreprocessor.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
41 template <
typename CommandIdT = Aws::String>
43 m_commandIdHasBeenSet =
true;
44 m_commandId = std::forward<CommandIdT>(value);
46 template <
typename CommandIdT = Aws::String>
60 template <
typename CommandArnT = Aws::String>
62 m_commandArnHasBeenSet =
true;
63 m_commandArn = std::forward<CommandArnT>(value);
65 template <
typename CommandArnT = Aws::String>
78 m_namespaceHasBeenSet =
true;
92 template <
typename DisplayNameT = Aws::String>
94 m_displayNameHasBeenSet =
true;
95 m_displayName = std::forward<DisplayNameT>(value);
97 template <
typename DisplayNameT = Aws::String>
109 template <
typename DescriptionT = Aws::String>
111 m_descriptionHasBeenSet =
true;
112 m_description = std::forward<DescriptionT>(value);
114 template <
typename DescriptionT = Aws::String>
126 template <
typename MandatoryParametersT = Aws::Vector<CommandParameter>>
128 m_mandatoryParametersHasBeenSet =
true;
129 m_mandatoryParameters = std::forward<MandatoryParametersT>(value);
131 template <
typename MandatoryParametersT = Aws::Vector<CommandParameter>>
136 template <
typename MandatoryParametersT = CommandParameter>
138 m_mandatoryParametersHasBeenSet =
true;
139 m_mandatoryParameters.emplace_back(std::forward<MandatoryParametersT>(value));
149 template <
typename PayloadT = CommandPayload>
151 m_payloadHasBeenSet =
true;
152 m_payload = std::forward<PayloadT>(value);
154 template <
typename PayloadT = CommandPayload>
166 template <
typename PayloadTemplateT = Aws::String>
168 m_payloadTemplateHasBeenSet =
true;
169 m_payloadTemplate = std::forward<PayloadTemplateT>(value);
171 template <
typename PayloadTemplateT = Aws::String>
184 template <
typename PreprocessorT = CommandPreprocessor>
186 m_preprocessorHasBeenSet =
true;
187 m_preprocessor = std::forward<PreprocessorT>(value);
189 template <
typename PreprocessorT = CommandPreprocessor>
202 template <
typename RoleArnT = Aws::String>
204 m_roleArnHasBeenSet =
true;
205 m_roleArn = std::forward<RoleArnT>(value);
207 template <
typename RoleArnT = Aws::String>
219 template <
typename CreatedAtT = Aws::Utils::DateTime>
221 m_createdAtHasBeenSet =
true;
222 m_createdAt = std::forward<CreatedAtT>(value);
224 template <
typename CreatedAtT = Aws::Utils::DateTime>
236 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
238 m_lastUpdatedAtHasBeenSet =
true;
239 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
241 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
254 m_deprecatedHasBeenSet =
true;
255 m_deprecated = value;
269 m_pendingDeletionHasBeenSet =
true;
270 m_pendingDeletion = value;
281 template <
typename RequestIdT = Aws::String>
283 m_requestIdHasBeenSet =
true;
284 m_requestId = std::forward<RequestIdT>(value);
286 template <
typename RequestIdT = Aws::String>
307 CommandPayload m_payload;
311 CommandPreprocessor m_preprocessor;
319 bool m_deprecated{
false};
321 bool m_pendingDeletion{
false};
325 bool m_commandIdHasBeenSet =
false;
326 bool m_commandArnHasBeenSet =
false;
327 bool m_namespaceHasBeenSet =
false;
328 bool m_displayNameHasBeenSet =
false;
329 bool m_descriptionHasBeenSet =
false;
330 bool m_mandatoryParametersHasBeenSet =
false;
331 bool m_payloadHasBeenSet =
false;
332 bool m_payloadTemplateHasBeenSet =
false;
333 bool m_preprocessorHasBeenSet =
false;
334 bool m_roleArnHasBeenSet =
false;
335 bool m_createdAtHasBeenSet =
false;
336 bool m_lastUpdatedAtHasBeenSet =
false;
337 bool m_deprecatedHasBeenSet =
false;
338 bool m_pendingDeletionHasBeenSet =
false;
339 bool m_requestIdHasBeenSet =
false;
GetCommandResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetDisplayName() const
GetCommandResult & WithCommandArn(CommandArnT &&value)
const Aws::Vector< CommandParameter > & GetMandatoryParameters() const
GetCommandResult & AddMandatoryParameters(MandatoryParametersT &&value)
GetCommandResult & WithRoleArn(RoleArnT &&value)
const Aws::String & GetRequestId() const
GetCommandResult & WithPayloadTemplate(PayloadTemplateT &&value)
bool GetDeprecated() const
void SetPayload(PayloadT &&value)
void SetRequestId(RequestIdT &&value)
void SetDeprecated(bool value)
const Aws::String & GetCommandId() const
AWS_IOT_API GetCommandResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCommandResult & WithDescription(DescriptionT &&value)
const Aws::String & GetRoleArn() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetCommandId(CommandIdT &&value)
bool GetPendingDeletion() const
CommandNamespace GetNamespace() const
GetCommandResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::String & GetDescription() const
AWS_IOT_API GetCommandResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCommandResult & WithCommandId(CommandIdT &&value)
GetCommandResult & WithRequestId(RequestIdT &&value)
GetCommandResult & WithPendingDeletion(bool value)
void SetPendingDeletion(bool value)
void SetMandatoryParameters(MandatoryParametersT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetDisplayName(DisplayNameT &&value)
void SetCommandArn(CommandArnT &&value)
void SetPreprocessor(PreprocessorT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
GetCommandResult & WithNamespace(CommandNamespace value)
void SetNamespace(CommandNamespace value)
GetCommandResult & WithMandatoryParameters(MandatoryParametersT &&value)
GetCommandResult & WithPreprocessor(PreprocessorT &&value)
void SetDescription(DescriptionT &&value)
AWS_IOT_API GetCommandResult()=default
GetCommandResult & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetCommandArn() const
void SetCreatedAt(CreatedAtT &&value)
GetCommandResult & WithPayload(PayloadT &&value)
const Aws::String & GetPayloadTemplate() const
const CommandPayload & GetPayload() const
void SetPayloadTemplate(PayloadTemplateT &&value)
const CommandPreprocessor & GetPreprocessor() const
void SetRoleArn(RoleArnT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
GetCommandResult & WithDeprecated(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue