7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iot/IoTRequest.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/CommandNamespace.h>
12#include <aws/iot/model/CommandParameter.h>
13#include <aws/iot/model/CommandPayload.h>
14#include <aws/iot/model/CommandPreprocessor.h>
15#include <aws/iot/model/Tag.h>
44 template <
typename CommandIdT = Aws::String>
46 m_commandIdHasBeenSet =
true;
47 m_commandId = std::forward<CommandIdT>(value);
49 template <
typename CommandIdT = Aws::String>
64 m_namespaceHasBeenSet =
true;
80 template <
typename DisplayNameT = Aws::String>
82 m_displayNameHasBeenSet =
true;
83 m_displayName = std::forward<DisplayNameT>(value);
85 template <
typename DisplayNameT = Aws::String>
98 template <
typename DescriptionT = Aws::String>
100 m_descriptionHasBeenSet =
true;
101 m_description = std::forward<DescriptionT>(value);
103 template <
typename DescriptionT = Aws::String>
120 template <
typename PayloadT = CommandPayload>
122 m_payloadHasBeenSet =
true;
123 m_payload = std::forward<PayloadT>(value);
125 template <
typename PayloadT = CommandPayload>
141 template <
typename PayloadTemplateT = Aws::String>
143 m_payloadTemplateHasBeenSet =
true;
144 m_payloadTemplate = std::forward<PayloadTemplateT>(value);
146 template <
typename PayloadTemplateT = Aws::String>
162 template <
typename PreprocessorT = CommandPreprocessor>
164 m_preprocessorHasBeenSet =
true;
165 m_preprocessor = std::forward<PreprocessorT>(value);
167 template <
typename PreprocessorT = CommandPreprocessor>
181 template <
typename MandatoryParametersT = Aws::Vector<CommandParameter>>
183 m_mandatoryParametersHasBeenSet =
true;
184 m_mandatoryParameters = std::forward<MandatoryParametersT>(value);
186 template <
typename MandatoryParametersT = Aws::Vector<CommandParameter>>
191 template <
typename MandatoryParametersT = CommandParameter>
193 m_mandatoryParametersHasBeenSet =
true;
194 m_mandatoryParameters.emplace_back(std::forward<MandatoryParametersT>(value));
209 template <
typename RoleArnT = Aws::String>
211 m_roleArnHasBeenSet =
true;
212 m_roleArn = std::forward<RoleArnT>(value);
214 template <
typename RoleArnT = Aws::String>
227 template <
typename TagsT = Aws::Vector<Tag>>
229 m_tagsHasBeenSet =
true;
230 m_tags = std::forward<TagsT>(value);
232 template <
typename TagsT = Aws::Vector<Tag>>
234 SetTags(std::forward<TagsT>(value));
237 template <
typename TagsT = Tag>
239 m_tagsHasBeenSet =
true;
240 m_tags.emplace_back(std::forward<TagsT>(value));
253 CommandPayload m_payload;
257 CommandPreprocessor m_preprocessor;
264 bool m_commandIdHasBeenSet =
false;
265 bool m_namespaceHasBeenSet =
false;
266 bool m_displayNameHasBeenSet =
false;
267 bool m_descriptionHasBeenSet =
false;
268 bool m_payloadHasBeenSet =
false;
269 bool m_payloadTemplateHasBeenSet =
false;
270 bool m_preprocessorHasBeenSet =
false;
271 bool m_mandatoryParametersHasBeenSet =
false;
272 bool m_roleArnHasBeenSet =
false;
273 bool m_tagsHasBeenSet =
false;
void SetMandatoryParameters(MandatoryParametersT &&value)
CreateCommandRequest & WithMandatoryParameters(MandatoryParametersT &&value)
CreateCommandRequest & AddMandatoryParameters(MandatoryParametersT &&value)
const Aws::Vector< Tag > & GetTags() const
bool PreprocessorHasBeenSet() const
const Aws::String & GetPayloadTemplate() const
const Aws::String & GetRoleArn() const
bool RoleArnHasBeenSet() const
void SetPayload(PayloadT &&value)
bool DisplayNameHasBeenSet() const
CommandNamespace GetNamespace() const
bool CommandIdHasBeenSet() const
CreateCommandRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetDisplayName() const
bool NamespaceHasBeenSet() const
const Aws::Vector< CommandParameter > & GetMandatoryParameters() const
void SetTags(TagsT &&value)
const CommandPayload & GetPayload() const
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetDescription() const
void SetDescription(DescriptionT &&value)
bool PayloadTemplateHasBeenSet() const
void SetCommandId(CommandIdT &&value)
CreateCommandRequest & WithDisplayName(DisplayNameT &&value)
bool TagsHasBeenSet() const
CreateCommandRequest & WithPreprocessor(PreprocessorT &&value)
bool MandatoryParametersHasBeenSet() const
CreateCommandRequest & WithRoleArn(RoleArnT &&value)
CreateCommandRequest & WithNamespace(CommandNamespace value)
bool PayloadHasBeenSet() const
void SetPayloadTemplate(PayloadTemplateT &&value)
CreateCommandRequest & WithPayloadTemplate(PayloadTemplateT &&value)
void SetNamespace(CommandNamespace value)
CreateCommandRequest & WithPayload(PayloadT &&value)
void SetRoleArn(RoleArnT &&value)
CreateCommandRequest & WithTags(TagsT &&value)
bool DescriptionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetCommandId() const
CreateCommandRequest & AddTags(TagsT &&value)
AWS_IOT_API Aws::String SerializePayload() const override
AWS_IOT_API CreateCommandRequest()=default
void SetPreprocessor(PreprocessorT &&value)
const CommandPreprocessor & GetPreprocessor() const
CreateCommandRequest & WithCommandId(CommandIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector