7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/CommandNamespace.h>
11#include <aws/iot/model/CommandPayload.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/iot/model/CommandParameter.h>
14#include <aws/iot/model/Tag.h>
47 template<
typename CommandIdT = Aws::String>
48 void SetCommandId(CommandIdT&& value) { m_commandIdHasBeenSet =
true; m_commandId = std::forward<CommandIdT>(value); }
49 template<
typename CommandIdT = Aws::String>
71 template<
typename DisplayNameT = Aws::String>
72 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
73 template<
typename DisplayNameT = Aws::String>
83 template<
typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
85 template<
typename DescriptionT = Aws::String>
100 template<
typename PayloadT = CommandPayload>
101 void SetPayload(PayloadT&& value) { m_payloadHasBeenSet =
true; m_payload = std::forward<PayloadT>(value); }
102 template<
typename PayloadT = CommandPayload>
116 template<
typename MandatoryParametersT = Aws::Vector<CommandParameter>>
117 void SetMandatoryParameters(MandatoryParametersT&& value) { m_mandatoryParametersHasBeenSet =
true; m_mandatoryParameters = std::forward<MandatoryParametersT>(value); }
118 template<
typename MandatoryParametersT = Aws::Vector<CommandParameter>>
120 template<
typename MandatoryParametersT = CommandParameter>
134 template<
typename RoleArnT = Aws::String>
135 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
136 template<
typename RoleArnT = Aws::String>
146 template<
typename TagsT = Aws::Vector<Tag>>
147 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
148 template<
typename TagsT = Aws::Vector<Tag>>
150 template<
typename TagsT = Tag>
156 bool m_commandIdHasBeenSet =
false;
159 bool m_namespaceHasBeenSet =
false;
162 bool m_displayNameHasBeenSet =
false;
165 bool m_descriptionHasBeenSet =
false;
167 CommandPayload m_payload;
168 bool m_payloadHasBeenSet =
false;
171 bool m_mandatoryParametersHasBeenSet =
false;
174 bool m_roleArnHasBeenSet =
false;
177 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