7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/ssm/model/ExecutionMode.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ssm/model/AlarmConfiguration.h>
14#include <aws/ssm/model/Target.h>
15#include <aws/ssm/model/TargetLocation.h>
16#include <aws/ssm/model/Tag.h>
55 template<
typename DocumentNameT = Aws::String>
56 void SetDocumentName(DocumentNameT&& value) { m_documentNameHasBeenSet =
true; m_documentName = std::forward<DocumentNameT>(value); }
57 template<
typename DocumentNameT = Aws::String>
67 template<
typename DocumentVersionT = Aws::String>
68 void SetDocumentVersion(DocumentVersionT&& value) { m_documentVersionHasBeenSet =
true; m_documentVersion = std::forward<DocumentVersionT>(value); }
69 template<
typename DocumentVersionT = Aws::String>
80 template<
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
81 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
82 template<
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
84 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<Aws::String>>
86 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
97 template<
typename ClientTokenT = Aws::String>
98 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
99 template<
typename ClientTokenT = Aws::String>
121 template<
typename TargetParameterNameT = Aws::String>
122 void SetTargetParameterName(TargetParameterNameT&& value) { m_targetParameterNameHasBeenSet =
true; m_targetParameterName = std::forward<TargetParameterNameT>(value); }
123 template<
typename TargetParameterNameT = Aws::String>
136 template<
typename TargetsT = Aws::Vector<Target>>
137 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
138 template<
typename TargetsT = Aws::Vector<Target>>
140 template<
typename TargetsT = Target>
151 template<
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
152 void SetTargetMaps(TargetMapsT&& value) { m_targetMapsHasBeenSet =
true; m_targetMaps = std::forward<TargetMapsT>(value); }
153 template<
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
155 template<
typename TargetMapsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
169 template<
typename MaxConcurrencyT = Aws::String>
170 void SetMaxConcurrency(MaxConcurrencyT&& value) { m_maxConcurrencyHasBeenSet =
true; m_maxConcurrency = std::forward<MaxConcurrencyT>(value); }
171 template<
typename MaxConcurrencyT = Aws::String>
195 template<
typename MaxErrorsT = Aws::String>
196 void SetMaxErrors(MaxErrorsT&& value) { m_maxErrorsHasBeenSet =
true; m_maxErrors = std::forward<MaxErrorsT>(value); }
197 template<
typename MaxErrorsT = Aws::String>
213 template<
typename TargetLocationsT = Aws::Vector<TargetLocation>>
214 void SetTargetLocations(TargetLocationsT&& value) { m_targetLocationsHasBeenSet =
true; m_targetLocations = std::forward<TargetLocationsT>(value); }
215 template<
typename TargetLocationsT = Aws::Vector<TargetLocation>>
217 template<
typename TargetLocationsT = TargetLocation>
238 template<
typename TagsT = Aws::Vector<Tag>>
239 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
240 template<
typename TagsT = Aws::Vector<Tag>>
242 template<
typename TagsT = Tag>
252 template<
typename AlarmConfigurationT = AlarmConfiguration>
253 void SetAlarmConfiguration(AlarmConfigurationT&& value) { m_alarmConfigurationHasBeenSet =
true; m_alarmConfiguration = std::forward<AlarmConfigurationT>(value); }
254 template<
typename AlarmConfigurationT = AlarmConfiguration>
266 template<
typename TargetLocationsURLT = Aws::String>
267 void SetTargetLocationsURL(TargetLocationsURLT&& value) { m_targetLocationsURLHasBeenSet =
true; m_targetLocationsURL = std::forward<TargetLocationsURLT>(value); }
268 template<
typename TargetLocationsURLT = Aws::String>
274 bool m_documentNameHasBeenSet =
false;
277 bool m_documentVersionHasBeenSet =
false;
280 bool m_parametersHasBeenSet =
false;
283 bool m_clientTokenHasBeenSet =
false;
286 bool m_modeHasBeenSet =
false;
289 bool m_targetParameterNameHasBeenSet =
false;
292 bool m_targetsHasBeenSet =
false;
295 bool m_targetMapsHasBeenSet =
false;
298 bool m_maxConcurrencyHasBeenSet =
false;
301 bool m_maxErrorsHasBeenSet =
false;
304 bool m_targetLocationsHasBeenSet =
false;
307 bool m_tagsHasBeenSet =
false;
309 AlarmConfiguration m_alarmConfiguration;
310 bool m_alarmConfigurationHasBeenSet =
false;
313 bool m_targetLocationsURLHasBeenSet =
false;
StartAutomationExecutionRequest & WithParameters(ParametersT &&value)
void SetMaxErrors(MaxErrorsT &&value)
bool MaxConcurrencyHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
StartAutomationExecutionRequest & WithMode(ExecutionMode value)
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
AWS_SSM_API Aws::String SerializePayload() const override
void SetParameters(ParametersT &&value)
void SetTargets(TargetsT &&value)
StartAutomationExecutionRequest & WithDocumentName(DocumentNameT &&value)
StartAutomationExecutionRequest & WithTargetMaps(TargetMapsT &&value)
const Aws::String & GetMaxConcurrency() const
const Aws::String & GetMaxErrors() const
bool DocumentNameHasBeenSet() const
const Aws::String & GetTargetLocationsURL() const
bool TargetLocationsHasBeenSet() const
StartAutomationExecutionRequest & WithTargetLocations(TargetLocationsT &&value)
StartAutomationExecutionRequest & WithTargetParameterName(TargetParameterNameT &&value)
void SetTargetLocationsURL(TargetLocationsURLT &&value)
StartAutomationExecutionRequest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
StartAutomationExecutionRequest & AddTargetLocations(TargetLocationsT &&value)
bool AlarmConfigurationHasBeenSet() const
StartAutomationExecutionRequest & WithTags(TagsT &&value)
StartAutomationExecutionRequest & WithClientToken(ClientTokenT &&value)
AWS_SSM_API StartAutomationExecutionRequest()=default
bool ClientTokenHasBeenSet() const
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool TagsHasBeenSet() const
const AlarmConfiguration & GetAlarmConfiguration() const
void SetAlarmConfiguration(AlarmConfigurationT &&value)
StartAutomationExecutionRequest & AddTargets(TargetsT &&value)
bool TargetsHasBeenSet() const
const Aws::String & GetDocumentVersion() const
StartAutomationExecutionRequest & WithMaxErrors(MaxErrorsT &&value)
bool TargetParameterNameHasBeenSet() const
void SetMaxConcurrency(MaxConcurrencyT &&value)
void SetDocumentName(DocumentNameT &&value)
bool TargetLocationsURLHasBeenSet() const
bool MaxErrorsHasBeenSet() const
StartAutomationExecutionRequest & AddTags(TagsT &&value)
StartAutomationExecutionRequest & WithAlarmConfiguration(AlarmConfigurationT &&value)
bool TargetMapsHasBeenSet() const
bool ModeHasBeenSet() const
void SetTargetParameterName(TargetParameterNameT &&value)
const Aws::String & GetClientToken() const
void SetTargetMaps(TargetMapsT &&value)
void SetTags(TagsT &&value)
StartAutomationExecutionRequest & WithTargetLocationsURL(TargetLocationsURLT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
void SetTargetLocations(TargetLocationsT &&value)
void SetDocumentVersion(DocumentVersionT &&value)
StartAutomationExecutionRequest & WithMaxConcurrency(MaxConcurrencyT &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetDocumentName() const
const Aws::Vector< TargetLocation > & GetTargetLocations() const
ExecutionMode GetMode() const
StartAutomationExecutionRequest & AddTargetMaps(TargetMapsT &&value)
StartAutomationExecutionRequest & WithTargets(TargetsT &&value)
bool DocumentVersionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
StartAutomationExecutionRequest & WithDocumentVersion(DocumentVersionT &&value)
const Aws::Vector< Target > & GetTargets() const
const Aws::String & GetTargetParameterName() const
void SetMode(ExecutionMode value)
bool ParametersHasBeenSet() const
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