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/SSM_EXPORTS.h>
11#include <aws/ssm/model/Target.h>
12#include <aws/ssm/model/TargetLocation.h>
47 template <
typename DocumentNameT = Aws::String>
49 m_documentNameHasBeenSet =
true;
50 m_documentName = std::forward<DocumentNameT>(value);
52 template <
typename DocumentNameT = Aws::String>
65 template <
typename DocumentVersionT = Aws::String>
67 m_documentVersionHasBeenSet =
true;
68 m_documentVersion = std::forward<DocumentVersionT>(value);
70 template <
typename DocumentVersionT = Aws::String>
84 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
86 m_parametersHasBeenSet =
true;
87 m_parameters = std::forward<ParametersT>(value);
89 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
94 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<Aws::String>>
96 m_parametersHasBeenSet =
true;
97 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
109 template <
typename TargetParameterNameT = Aws::String>
111 m_targetParameterNameHasBeenSet =
true;
112 m_targetParameterName = std::forward<TargetParameterNameT>(value);
114 template <
typename TargetParameterNameT = Aws::String>
128 template <
typename TargetsT = Aws::Vector<Target>>
130 m_targetsHasBeenSet =
true;
131 m_targets = std::forward<TargetsT>(value);
133 template <
typename TargetsT = Aws::Vector<Target>>
138 template <
typename TargetsT = Target>
140 m_targetsHasBeenSet =
true;
141 m_targets.emplace_back(std::forward<TargetsT>(value));
153 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
155 m_targetMapsHasBeenSet =
true;
156 m_targetMaps = std::forward<TargetMapsT>(value);
158 template <
typename TargetMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::Vector<Aws::String>>>>
163 template <
typename TargetMapsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
165 m_targetMapsHasBeenSet =
true;
166 m_targetMaps.emplace_back(std::forward<TargetMapsT>(value));
179 template <
typename MaxConcurrencyT = Aws::String>
181 m_maxConcurrencyHasBeenSet =
true;
182 m_maxConcurrency = std::forward<MaxConcurrencyT>(value);
184 template <
typename MaxConcurrencyT = Aws::String>
199 template <
typename MaxErrorsT = Aws::String>
201 m_maxErrorsHasBeenSet =
true;
202 m_maxErrors = std::forward<MaxErrorsT>(value);
204 template <
typename MaxErrorsT = Aws::String>
218 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
220 m_targetLocationsHasBeenSet =
true;
221 m_targetLocations = std::forward<TargetLocationsT>(value);
223 template <
typename TargetLocationsT = Aws::Vector<TargetLocation>>
228 template <
typename TargetLocationsT = TargetLocation>
230 m_targetLocationsHasBeenSet =
true;
231 m_targetLocations.emplace_back(std::forward<TargetLocationsT>(value));
253 bool m_documentNameHasBeenSet =
false;
254 bool m_documentVersionHasBeenSet =
false;
255 bool m_parametersHasBeenSet =
false;
256 bool m_targetParameterNameHasBeenSet =
false;
257 bool m_targetsHasBeenSet =
false;
258 bool m_targetMapsHasBeenSet =
false;
259 bool m_maxConcurrencyHasBeenSet =
false;
260 bool m_maxErrorsHasBeenSet =
false;
261 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