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/ExecutionMode.h>
14#include <aws/ssm/model/Tag.h>
15#include <aws/ssm/model/Target.h>
16#include <aws/ssm/model/TargetLocation.h>
51 template <
typename DocumentNameT = Aws::String>
53 m_documentNameHasBeenSet =
true;
54 m_documentName = std::forward<DocumentNameT>(value);
56 template <
typename DocumentNameT = Aws::String>
69 template <
typename DocumentVersionT = Aws::String>
71 m_documentVersionHasBeenSet =
true;
72 m_documentVersion = std::forward<DocumentVersionT>(value);
74 template <
typename DocumentVersionT = Aws::String>
88 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
90 m_parametersHasBeenSet =
true;
91 m_parameters = std::forward<ParametersT>(value);
93 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
98 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<Aws::String>>
100 m_parametersHasBeenSet =
true;
101 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
113 template <
typename ClientTokenT = Aws::String>
115 m_clientTokenHasBeenSet =
true;
116 m_clientToken = std::forward<ClientTokenT>(value);
118 template <
typename ClientTokenT = Aws::String>
133 m_modeHasBeenSet =
true;
149 template <
typename TargetParameterNameT = Aws::String>
151 m_targetParameterNameHasBeenSet =
true;
152 m_targetParameterName = std::forward<TargetParameterNameT>(value);
154 template <
typename TargetParameterNameT = Aws::String>
170 template <
typename TargetsT = Aws::Vector<Target>>
172 m_targetsHasBeenSet =
true;
173 m_targets = std::forward<TargetsT>(value);
175 template <
typename TargetsT = Aws::Vector<Target>>
180 template <
typename TargetsT = Target>
182 m_targetsHasBeenSet =
true;
183 m_targets.emplace_back(std::forward<TargetsT>(value));
195 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
197 m_targetMapsHasBeenSet =
true;
198 m_targetMaps = std::forward<TargetMapsT>(value);
200 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
205 template <
typename TargetMapsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
207 m_targetMapsHasBeenSet =
true;
208 m_targetMaps.emplace_back(std::forward<TargetMapsT>(value));
223 template <
typename MaxConcurrencyT = Aws::String>
225 m_maxConcurrencyHasBeenSet =
true;
226 m_maxConcurrency = std::forward<MaxConcurrencyT>(value);
228 template <
typename MaxConcurrencyT = Aws::String>
255 template <
typename MaxErrorsT = Aws::String>
257 m_maxErrorsHasBeenSet =
true;
258 m_maxErrors = std::forward<MaxErrorsT>(value);
260 template <
typename MaxErrorsT = Aws::String>
279 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
281 m_targetLocationsHasBeenSet =
true;
282 m_targetLocations = std::forward<TargetLocationsT>(value);
284 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
289 template <
typename TargetLocationsT = TargetLocation>
291 m_targetLocationsHasBeenSet =
true;
292 m_targetLocations.emplace_back(std::forward<TargetLocationsT>(value));
314 template <
typename TagsT = Aws::Vector<Tag>>
316 m_tagsHasBeenSet =
true;
317 m_tags = std::forward<TagsT>(value);
319 template <
typename TagsT = Aws::Vector<Tag>>
321 SetTags(std::forward<TagsT>(value));
324 template <
typename TagsT = Tag>
326 m_tagsHasBeenSet =
true;
327 m_tags.emplace_back(std::forward<TagsT>(value));
338 template <
typename AlarmConfigurationT = AlarmConfiguration>
340 m_alarmConfigurationHasBeenSet =
true;
341 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
343 template <
typename AlarmConfigurationT = AlarmConfiguration>
358 template <
typename TargetLocationsURLT = Aws::String>
360 m_targetLocationsURLHasBeenSet =
true;
361 m_targetLocationsURL = std::forward<TargetLocationsURLT>(value);
363 template <
typename TargetLocationsURLT = Aws::String>
394 AlarmConfiguration m_alarmConfiguration;
397 bool m_documentNameHasBeenSet =
false;
398 bool m_documentVersionHasBeenSet =
false;
399 bool m_parametersHasBeenSet =
false;
400 bool m_clientTokenHasBeenSet =
false;
401 bool m_modeHasBeenSet =
false;
402 bool m_targetParameterNameHasBeenSet =
false;
403 bool m_targetsHasBeenSet =
false;
404 bool m_targetMapsHasBeenSet =
false;
405 bool m_maxConcurrencyHasBeenSet =
false;
406 bool m_maxErrorsHasBeenSet =
false;
407 bool m_targetLocationsHasBeenSet =
false;
408 bool m_tagsHasBeenSet =
false;
409 bool m_alarmConfigurationHasBeenSet =
false;
410 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