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/Tag.h>
43 template <
typename CommandIdT = Aws::String>
45 m_commandIdHasBeenSet =
true;
46 m_commandId = std::forward<CommandIdT>(value);
48 template <
typename CommandIdT = Aws::String>
63 m_namespaceHasBeenSet =
true;
79 template <
typename DisplayNameT = Aws::String>
81 m_displayNameHasBeenSet =
true;
82 m_displayName = std::forward<DisplayNameT>(value);
84 template <
typename DisplayNameT = Aws::String>
97 template <
typename DescriptionT = Aws::String>
99 m_descriptionHasBeenSet =
true;
100 m_description = std::forward<DescriptionT>(value);
102 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>
142 template <
typename MandatoryParametersT = Aws::Vector<CommandParameter>>
144 m_mandatoryParametersHasBeenSet =
true;
145 m_mandatoryParameters = std::forward<MandatoryParametersT>(value);
147 template <
typename MandatoryParametersT = Aws::Vector<CommandParameter>>
152 template <
typename MandatoryParametersT = CommandParameter>
154 m_mandatoryParametersHasBeenSet =
true;
155 m_mandatoryParameters.emplace_back(std::forward<MandatoryParametersT>(value));
170 template <
typename RoleArnT = Aws::String>
172 m_roleArnHasBeenSet =
true;
173 m_roleArn = std::forward<RoleArnT>(value);
175 template <
typename RoleArnT = Aws::String>
188 template <
typename TagsT = Aws::Vector<Tag>>
190 m_tagsHasBeenSet =
true;
191 m_tags = std::forward<TagsT>(value);
193 template <
typename TagsT = Aws::Vector<Tag>>
195 SetTags(std::forward<TagsT>(value));
198 template <
typename TagsT = Tag>
200 m_tagsHasBeenSet =
true;
201 m_tags.emplace_back(std::forward<TagsT>(value));
207 bool m_commandIdHasBeenSet =
false;
210 bool m_namespaceHasBeenSet =
false;
213 bool m_displayNameHasBeenSet =
false;
216 bool m_descriptionHasBeenSet =
false;
218 CommandPayload m_payload;
219 bool m_payloadHasBeenSet =
false;
222 bool m_mandatoryParametersHasBeenSet =
false;
225 bool m_roleArnHasBeenSet =
false;
228 bool m_tagsHasBeenSet =
false;
void SetMandatoryParameters(MandatoryParametersT &&value)
CreateCommandRequest & WithMandatoryParameters(MandatoryParametersT &&value)
CreateCommandRequest & AddMandatoryParameters(MandatoryParametersT &&value)
const Aws::Vector< Tag > & GetTags() 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)
void SetCommandId(CommandIdT &&value)
CreateCommandRequest & WithDisplayName(DisplayNameT &&value)
bool TagsHasBeenSet() const
bool MandatoryParametersHasBeenSet() const
CreateCommandRequest & WithRoleArn(RoleArnT &&value)
CreateCommandRequest & WithNamespace(CommandNamespace value)
bool PayloadHasBeenSet() const
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
CreateCommandRequest & WithCommandId(CommandIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector