7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/CommandNamespace.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iot/model/CommandPayload.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/iot/model/CommandParameter.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename CommandIdT = Aws::String>
46 void SetCommandId(CommandIdT&& value) { m_commandIdHasBeenSet =
true; m_commandId = std::forward<CommandIdT>(value); }
47 template<
typename CommandIdT = Aws::String>
58 template<
typename CommandArnT = Aws::String>
59 void SetCommandArn(CommandArnT&& value) { m_commandArnHasBeenSet =
true; m_commandArn = std::forward<CommandArnT>(value); }
60 template<
typename CommandArnT = Aws::String>
78 template<
typename DisplayNameT = Aws::String>
79 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
80 template<
typename DisplayNameT = Aws::String>
89 template<
typename DescriptionT = Aws::String>
90 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
91 template<
typename DescriptionT = Aws::String>
100 template<
typename MandatoryParametersT = Aws::Vector<CommandParameter>>
101 void SetMandatoryParameters(MandatoryParametersT&& value) { m_mandatoryParametersHasBeenSet =
true; m_mandatoryParameters = std::forward<MandatoryParametersT>(value); }
102 template<
typename MandatoryParametersT = Aws::Vector<CommandParameter>>
104 template<
typename MandatoryParametersT = CommandParameter>
105 GetCommandResult&
AddMandatoryParameters(MandatoryParametersT&& value) { m_mandatoryParametersHasBeenSet =
true; m_mandatoryParameters.emplace_back(std::forward<MandatoryParametersT>(value));
return *
this; }
113 template<
typename PayloadT = CommandPayload>
114 void SetPayload(PayloadT&& value) { m_payloadHasBeenSet =
true; m_payload = std::forward<PayloadT>(value); }
115 template<
typename PayloadT = CommandPayload>
125 template<
typename RoleArnT = Aws::String>
126 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
127 template<
typename RoleArnT = Aws::String>
136 template<
typename CreatedAtT = Aws::Utils::DateTime>
137 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
138 template<
typename CreatedAtT = Aws::Utils::DateTime>
147 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
148 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
149 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
158 inline void SetDeprecated(
bool value) { m_deprecatedHasBeenSet =
true; m_deprecated = value; }
167 inline void SetPendingDeletion(
bool value) { m_pendingDeletionHasBeenSet =
true; m_pendingDeletion = value; }
174 template<
typename RequestIdT = Aws::String>
175 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
176 template<
typename RequestIdT = Aws::String>
182 bool m_commandIdHasBeenSet =
false;
185 bool m_commandArnHasBeenSet =
false;
188 bool m_namespaceHasBeenSet =
false;
191 bool m_displayNameHasBeenSet =
false;
194 bool m_descriptionHasBeenSet =
false;
197 bool m_mandatoryParametersHasBeenSet =
false;
199 CommandPayload m_payload;
200 bool m_payloadHasBeenSet =
false;
203 bool m_roleArnHasBeenSet =
false;
206 bool m_createdAtHasBeenSet =
false;
209 bool m_lastUpdatedAtHasBeenSet =
false;
211 bool m_deprecated{
false};
212 bool m_deprecatedHasBeenSet =
false;
214 bool m_pendingDeletion{
false};
215 bool m_pendingDeletionHasBeenSet =
false;
218 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
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
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 SetLastUpdatedAt(LastUpdatedAtT &&value)
GetCommandResult & WithNamespace(CommandNamespace value)
void SetNamespace(CommandNamespace value)
GetCommandResult & WithMandatoryParameters(MandatoryParametersT &&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 CommandPayload & GetPayload() 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