7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/model/Target.h>
12#include <aws/ssm/model/TargetLocation.h>
53 template<
typename DocumentNameT = Aws::String>
54 void SetDocumentName(DocumentNameT&& value) { m_documentNameHasBeenSet =
true; m_documentName = std::forward<DocumentNameT>(value); }
55 template<
typename DocumentNameT = Aws::String>
65 template<
typename DocumentVersionT = Aws::String>
66 void SetDocumentVersion(DocumentVersionT&& value) { m_documentVersionHasBeenSet =
true; m_documentVersion = std::forward<DocumentVersionT>(value); }
67 template<
typename DocumentVersionT = Aws::String>
78 template<
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
79 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
80 template<
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
82 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<Aws::String>>
84 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
95 template<
typename TargetParameterNameT = Aws::String>
96 void SetTargetParameterName(TargetParameterNameT&& value) { m_targetParameterNameHasBeenSet =
true; m_targetParameterName = std::forward<TargetParameterNameT>(value); }
97 template<
typename TargetParameterNameT = Aws::String>
108 template<
typename TargetsT = Aws::Vector<Target>>
109 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
110 template<
typename TargetsT = Aws::Vector<Target>>
112 template<
typename TargetsT = Target>
113 Runbook&
AddTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets.emplace_back(std::forward<TargetsT>(value));
return *
this; }
123 template<
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
124 void SetTargetMaps(TargetMapsT&& value) { m_targetMapsHasBeenSet =
true; m_targetMaps = std::forward<TargetMapsT>(value); }
125 template<
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
127 template<
typename TargetMapsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
128 Runbook&
AddTargetMaps(TargetMapsT&& value) { m_targetMapsHasBeenSet =
true; m_targetMaps.emplace_back(std::forward<TargetMapsT>(value));
return *
this; }
139 template<
typename MaxConcurrencyT = Aws::String>
140 void SetMaxConcurrency(MaxConcurrencyT&& value) { m_maxConcurrencyHasBeenSet =
true; m_maxConcurrency = std::forward<MaxConcurrencyT>(value); }
141 template<
typename MaxConcurrencyT = Aws::String>
153 template<
typename MaxErrorsT = Aws::String>
154 void SetMaxErrors(MaxErrorsT&& value) { m_maxErrorsHasBeenSet =
true; m_maxErrors = std::forward<MaxErrorsT>(value); }
155 template<
typename MaxErrorsT = Aws::String>
166 template<
typename TargetLocationsT = Aws::Vector<TargetLocation>>
167 void SetTargetLocations(TargetLocationsT&& value) { m_targetLocationsHasBeenSet =
true; m_targetLocations = std::forward<TargetLocationsT>(value); }
168 template<
typename TargetLocationsT = Aws::Vector<TargetLocation>>
170 template<
typename TargetLocationsT = TargetLocation>
171 Runbook&
AddTargetLocations(TargetLocationsT&& value) { m_targetLocationsHasBeenSet =
true; m_targetLocations.emplace_back(std::forward<TargetLocationsT>(value));
return *
this; }
176 bool m_documentNameHasBeenSet =
false;
179 bool m_documentVersionHasBeenSet =
false;
182 bool m_parametersHasBeenSet =
false;
185 bool m_targetParameterNameHasBeenSet =
false;
188 bool m_targetsHasBeenSet =
false;
191 bool m_targetMapsHasBeenSet =
false;
194 bool m_maxConcurrencyHasBeenSet =
false;
197 bool m_maxErrorsHasBeenSet =
false;
200 bool m_targetLocationsHasBeenSet =
false;
Runbook & WithParameters(ParametersT &&value)
Runbook & AddTargets(TargetsT &&value)
void SetTargetLocations(TargetLocationsT &&value)
bool ParametersHasBeenSet() const
void SetTargets(TargetsT &&value)
bool TargetMapsHasBeenSet() const
bool MaxConcurrencyHasBeenSet() const
Runbook & WithMaxErrors(MaxErrorsT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
Runbook & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
bool MaxErrorsHasBeenSet() const
const Aws::String & GetDocumentVersion() const
const Aws::Vector< Target > & GetTargets() const
Runbook & WithMaxConcurrency(MaxConcurrencyT &&value)
void SetDocumentVersion(DocumentVersionT &&value)
void SetMaxConcurrency(MaxConcurrencyT &&value)
Runbook & WithTargetLocations(TargetLocationsT &&value)
const Aws::Vector< TargetLocation > & GetTargetLocations() const
void SetMaxErrors(MaxErrorsT &&value)
Runbook & WithTargets(TargetsT &&value)
void SetDocumentName(DocumentNameT &&value)
void SetTargetMaps(TargetMapsT &&value)
AWS_SSM_API Runbook & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DocumentNameHasBeenSet() const
const Aws::String & GetDocumentName() const
const Aws::String & GetMaxConcurrency() const
Runbook & WithTargetMaps(TargetMapsT &&value)
bool TargetParameterNameHasBeenSet() const
const Aws::String & GetMaxErrors() const
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
AWS_SSM_API Runbook(Aws::Utils::Json::JsonView jsonValue)
void SetTargetParameterName(TargetParameterNameT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSM_API Runbook()=default
Runbook & AddTargetMaps(TargetMapsT &&value)
Runbook & WithTargetParameterName(TargetParameterNameT &&value)
Runbook & AddTargetLocations(TargetLocationsT &&value)
bool TargetsHasBeenSet() const
void SetParameters(ParametersT &&value)
Runbook & WithDocumentName(DocumentNameT &&value)
const Aws::String & GetTargetParameterName() const
bool TargetLocationsHasBeenSet() const
bool DocumentVersionHasBeenSet() const
Runbook & WithDocumentVersion(DocumentVersionT &&value)
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
Aws::Utils::Json::JsonValue JsonValue