7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm/SSMRequest.h>
11#include <aws/ssm/SSM_EXPORTS.h>
12#include <aws/ssm/model/AlarmConfiguration.h>
13#include <aws/ssm/model/CloudWatchOutputConfig.h>
14#include <aws/ssm/model/DocumentHashType.h>
15#include <aws/ssm/model/NotificationConfig.h>
16#include <aws/ssm/model/Target.h>
56 template <
typename InstanceIdsT = Aws::Vector<Aws::String>>
58 m_instanceIdsHasBeenSet =
true;
59 m_instanceIds = std::forward<InstanceIdsT>(value);
61 template <
typename InstanceIdsT = Aws::Vector<Aws::String>>
66 template <
typename InstanceIdsT = Aws::String>
68 m_instanceIdsHasBeenSet =
true;
69 m_instanceIds.emplace_back(std::forward<InstanceIdsT>(value));
90 template <
typename TargetsT = Aws::Vector<Target>>
92 m_targetsHasBeenSet =
true;
93 m_targets = std::forward<TargetsT>(value);
95 template <
typename TargetsT = Aws::Vector<Target>>
100 template <
typename TargetsT = Target>
102 m_targetsHasBeenSet =
true;
103 m_targets.emplace_back(std::forward<TargetsT>(value));
122 template <
typename DocumentNameT = Aws::String>
124 m_documentNameHasBeenSet =
true;
125 m_documentName = std::forward<DocumentNameT>(value);
127 template <
typename DocumentNameT = Aws::String>
146 template <
typename DocumentVersionT = Aws::String>
148 m_documentVersionHasBeenSet =
true;
149 m_documentVersion = std::forward<DocumentVersionT>(value);
151 template <
typename DocumentVersionT = Aws::String>
165 template <
typename DocumentHashT = Aws::String>
167 m_documentHashHasBeenSet =
true;
168 m_documentHash = std::forward<DocumentHashT>(value);
170 template <
typename DocumentHashT = Aws::String>
184 m_documentHashTypeHasBeenSet =
true;
185 m_documentHashType = value;
201 m_timeoutSecondsHasBeenSet =
true;
202 m_timeoutSeconds = value;
217 template <
typename CommentT = Aws::String>
219 m_commentHasBeenSet =
true;
220 m_comment = std::forward<CommentT>(value);
222 template <
typename CommentT = Aws::String>
235 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
237 m_parametersHasBeenSet =
true;
238 m_parameters = std::forward<ParametersT>(value);
240 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
245 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<Aws::String>>
247 m_parametersHasBeenSet =
true;
248 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
261 template <
typename OutputS3RegionT = Aws::String>
263 m_outputS3RegionHasBeenSet =
true;
264 m_outputS3Region = std::forward<OutputS3RegionT>(value);
266 template <
typename OutputS3RegionT = Aws::String>
280 template <
typename OutputS3BucketNameT = Aws::String>
282 m_outputS3BucketNameHasBeenSet =
true;
283 m_outputS3BucketName = std::forward<OutputS3BucketNameT>(value);
285 template <
typename OutputS3BucketNameT = Aws::String>
299 template <
typename OutputS3KeyPrefixT = Aws::String>
301 m_outputS3KeyPrefixHasBeenSet =
true;
302 m_outputS3KeyPrefix = std::forward<OutputS3KeyPrefixT>(value);
304 template <
typename OutputS3KeyPrefixT = Aws::String>
323 template <
typename MaxConcurrencyT = Aws::String>
325 m_maxConcurrencyHasBeenSet =
true;
326 m_maxConcurrency = std::forward<MaxConcurrencyT>(value);
328 template <
typename MaxConcurrencyT = Aws::String>
348 template <
typename MaxErrorsT = Aws::String>
350 m_maxErrorsHasBeenSet =
true;
351 m_maxErrors = std::forward<MaxErrorsT>(value);
353 template <
typename MaxErrorsT = Aws::String>
373 template <
typename ServiceRoleArnT = Aws::String>
375 m_serviceRoleArnHasBeenSet =
true;
376 m_serviceRoleArn = std::forward<ServiceRoleArnT>(value);
378 template <
typename ServiceRoleArnT = Aws::String>
391 template <
typename NotificationConfigT = NotificationConfig>
393 m_notificationConfigHasBeenSet =
true;
394 m_notificationConfig = std::forward<NotificationConfigT>(value);
396 template <
typename NotificationConfigT = NotificationConfig>
411 template <
typename CloudWatchOutputConfigT = CloudWatchOutputConfig>
413 m_cloudWatchOutputConfigHasBeenSet =
true;
414 m_cloudWatchOutputConfig = std::forward<CloudWatchOutputConfigT>(value);
416 template <
typename CloudWatchOutputConfigT = CloudWatchOutputConfig>
429 template <
typename AlarmConfigurationT = AlarmConfiguration>
431 m_alarmConfigurationHasBeenSet =
true;
432 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
434 template <
typename AlarmConfigurationT = AlarmConfiguration>
453 int m_timeoutSeconds{0};
471 NotificationConfig m_notificationConfig;
473 CloudWatchOutputConfig m_cloudWatchOutputConfig;
475 AlarmConfiguration m_alarmConfiguration;
476 bool m_instanceIdsHasBeenSet =
false;
477 bool m_targetsHasBeenSet =
false;
478 bool m_documentNameHasBeenSet =
false;
479 bool m_documentVersionHasBeenSet =
false;
480 bool m_documentHashHasBeenSet =
false;
481 bool m_documentHashTypeHasBeenSet =
false;
482 bool m_timeoutSecondsHasBeenSet =
false;
483 bool m_commentHasBeenSet =
false;
484 bool m_parametersHasBeenSet =
false;
485 bool m_outputS3RegionHasBeenSet =
false;
486 bool m_outputS3BucketNameHasBeenSet =
false;
487 bool m_outputS3KeyPrefixHasBeenSet =
false;
488 bool m_maxConcurrencyHasBeenSet =
false;
489 bool m_maxErrorsHasBeenSet =
false;
490 bool m_serviceRoleArnHasBeenSet =
false;
491 bool m_notificationConfigHasBeenSet =
false;
492 bool m_cloudWatchOutputConfigHasBeenSet =
false;
493 bool m_alarmConfigurationHasBeenSet =
false;
bool NotificationConfigHasBeenSet() const
DocumentHashType GetDocumentHashType() const
SendCommandRequest & WithComment(CommentT &&value)
bool DocumentHashHasBeenSet() const
SendCommandRequest & WithDocumentName(DocumentNameT &&value)
void SetParameters(ParametersT &&value)
SendCommandRequest & WithServiceRoleArn(ServiceRoleArnT &&value)
bool CloudWatchOutputConfigHasBeenSet() const
bool ServiceRoleArnHasBeenSet() const
SendCommandRequest & WithOutputS3Region(OutputS3RegionT &&value)
void SetAlarmConfiguration(AlarmConfigurationT &&value)
void SetDocumentHash(DocumentHashT &&value)
const Aws::String & GetServiceRoleArn() const
bool ParametersHasBeenSet() const
const Aws::Vector< Target > & GetTargets() const
const Aws::String & GetOutputS3Region() const
const AlarmConfiguration & GetAlarmConfiguration() const
void SetCloudWatchOutputConfig(CloudWatchOutputConfigT &&value)
void SetOutputS3BucketName(OutputS3BucketNameT &&value)
const Aws::String & GetOutputS3KeyPrefix() const
const Aws::String & GetComment() const
void SetDocumentVersion(DocumentVersionT &&value)
const Aws::String & GetMaxErrors() const
void SetOutputS3KeyPrefix(OutputS3KeyPrefixT &&value)
SendCommandRequest & AddTargets(TargetsT &&value)
void SetDocumentName(DocumentNameT &&value)
void SetNotificationConfig(NotificationConfigT &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
void SetOutputS3Region(OutputS3RegionT &&value)
void SetDocumentHashType(DocumentHashType value)
bool OutputS3RegionHasBeenSet() const
SendCommandRequest & WithTimeoutSeconds(int value)
const NotificationConfig & GetNotificationConfig() const
SendCommandRequest & WithAlarmConfiguration(AlarmConfigurationT &&value)
const Aws::String & GetDocumentName() const
const Aws::String & GetMaxConcurrency() const
AWS_SSM_API Aws::String SerializePayload() const override
bool OutputS3KeyPrefixHasBeenSet() const
SendCommandRequest & WithMaxErrors(MaxErrorsT &&value)
void SetInstanceIds(InstanceIdsT &&value)
const Aws::String & GetDocumentHash() const
void SetMaxConcurrency(MaxConcurrencyT &&value)
void SetMaxErrors(MaxErrorsT &&value)
bool DocumentHashTypeHasBeenSet() const
SendCommandRequest & WithCloudWatchOutputConfig(CloudWatchOutputConfigT &&value)
bool MaxErrorsHasBeenSet() const
bool OutputS3BucketNameHasBeenSet() const
int GetTimeoutSeconds() const
const Aws::String & GetDocumentVersion() const
SendCommandRequest & WithDocumentVersion(DocumentVersionT &&value)
SendCommandRequest & WithInstanceIds(InstanceIdsT &&value)
SendCommandRequest & WithParameters(ParametersT &&value)
void SetComment(CommentT &&value)
void SetServiceRoleArn(ServiceRoleArnT &&value)
const Aws::Vector< Aws::String > & GetInstanceIds() const
bool AlarmConfigurationHasBeenSet() const
bool TargetsHasBeenSet() const
bool DocumentVersionHasBeenSet() const
void SetTimeoutSeconds(int value)
void SetTargets(TargetsT &&value)
const CloudWatchOutputConfig & GetCloudWatchOutputConfig() const
SendCommandRequest & WithDocumentHashType(DocumentHashType value)
bool InstanceIdsHasBeenSet() const
SendCommandRequest & WithDocumentHash(DocumentHashT &&value)
SendCommandRequest & WithNotificationConfig(NotificationConfigT &&value)
bool TimeoutSecondsHasBeenSet() const
SendCommandRequest & WithOutputS3KeyPrefix(OutputS3KeyPrefixT &&value)
bool DocumentNameHasBeenSet() const
SendCommandRequest & AddInstanceIds(InstanceIdsT &&value)
bool MaxConcurrencyHasBeenSet() const
const Aws::String & GetOutputS3BucketName() const
bool CommentHasBeenSet() const
SendCommandRequest & WithTargets(TargetsT &&value)
SendCommandRequest & WithOutputS3BucketName(OutputS3BucketNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SSM_API SendCommandRequest()=default
SendCommandRequest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
SendCommandRequest & WithMaxConcurrency(MaxConcurrencyT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector