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>
55 inline void SetDocumentName(
const char* value) { m_documentNameHasBeenSet =
true; m_documentName.assign(value); }
69 inline void SetDocumentVersion(
const char* value) { m_documentVersionHasBeenSet =
true; m_documentVersion.assign(value); }
103 inline void SetTargetParameterName(
const char* value) { m_targetParameterNameHasBeenSet =
true; m_targetParameterName.assign(value); }
121 inline Runbook&
AddTargets(
Target&& value) { m_targetsHasBeenSet =
true; m_targets.push_back(std::move(value));
return *
this; }
149 inline void SetMaxConcurrency(
const char* value) { m_maxConcurrencyHasBeenSet =
true; m_maxConcurrency.assign(value); }
165 inline void SetMaxErrors(
const char* value) { m_maxErrorsHasBeenSet =
true; m_maxErrors.assign(value); }
188 bool m_documentNameHasBeenSet =
false;
191 bool m_documentVersionHasBeenSet =
false;
194 bool m_parametersHasBeenSet =
false;
197 bool m_targetParameterNameHasBeenSet =
false;
200 bool m_targetsHasBeenSet =
false;
203 bool m_targetMapsHasBeenSet =
false;
206 bool m_maxConcurrencyHasBeenSet =
false;
209 bool m_maxErrorsHasBeenSet =
false;
212 bool m_targetLocationsHasBeenSet =
false;
Runbook & WithParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetTargets(const Aws::Vector< Target > &value)
Runbook & AddParameters(const Aws::String &key, Aws::Vector< Aws::String > &&value)
bool ParametersHasBeenSet() const
Runbook & WithDocumentVersion(const Aws::String &value)
Runbook & WithMaxErrors(const Aws::String &value)
Runbook & WithParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetMaxConcurrency(const Aws::String &value)
bool TargetMapsHasBeenSet() const
bool MaxConcurrencyHasBeenSet() const
void SetTargetParameterName(Aws::String &&value)
Runbook & WithTargetLocations(Aws::Vector< TargetLocation > &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
Runbook & AddParameters(Aws::String &&key, Aws::Vector< Aws::String > &&value)
Runbook & AddParameters(Aws::String &&key, const Aws::Vector< Aws::String > &value)
void SetDocumentVersion(const char *value)
bool MaxErrorsHasBeenSet() const
const Aws::String & GetDocumentVersion() const
void SetMaxErrors(const char *value)
const Aws::Vector< Target > & GetTargets() const
Runbook & WithMaxConcurrency(Aws::String &&value)
void SetTargetLocations(Aws::Vector< TargetLocation > &&value)
Runbook & WithDocumentName(const Aws::String &value)
Runbook & AddTargetMaps(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
Runbook & WithMaxErrors(Aws::String &&value)
const Aws::Vector< TargetLocation > & GetTargetLocations() const
void SetDocumentName(const Aws::String &value)
void SetMaxErrors(const Aws::String &value)
Runbook & WithDocumentName(const char *value)
Runbook & WithTargets(Aws::Vector< Target > &&value)
AWS_SSM_API Runbook & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DocumentNameHasBeenSet() const
Runbook & WithTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
void SetTargets(Aws::Vector< Target > &&value)
const Aws::String & GetDocumentName() const
Runbook & WithMaxConcurrency(const char *value)
void SetTargetLocations(const Aws::Vector< TargetLocation > &value)
Runbook & WithTargetParameterName(const Aws::String &value)
Runbook & WithMaxErrors(const char *value)
void SetMaxErrors(Aws::String &&value)
Runbook & WithMaxConcurrency(const Aws::String &value)
const Aws::String & GetMaxConcurrency() const
Runbook & WithDocumentVersion(const char *value)
void SetDocumentName(Aws::String &&value)
Runbook & WithTargetParameterName(const char *value)
void SetDocumentVersion(const Aws::String &value)
bool TargetParameterNameHasBeenSet() const
Runbook & AddTargetLocations(const TargetLocation &value)
Runbook & AddTargets(const Target &value)
void SetMaxConcurrency(const char *value)
Runbook & WithTargetLocations(const Aws::Vector< TargetLocation > &value)
const Aws::String & GetMaxErrors() const
void SetDocumentName(const char *value)
Runbook & AddParameters(const char *key, Aws::Vector< Aws::String > &&value)
Runbook & WithTargets(const Aws::Vector< Target > &value)
Runbook & AddTargets(Target &&value)
void SetTargetParameterName(const char *value)
void SetDocumentVersion(Aws::String &&value)
Runbook & AddParameters(const char *key, const Aws::Vector< Aws::String > &value)
void SetMaxConcurrency(Aws::String &&value)
void SetTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
AWS_SSM_API Runbook(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
Runbook & WithTargetParameterName(Aws::String &&value)
Runbook & WithTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
Runbook & AddParameters(const Aws::String &key, const Aws::Vector< Aws::String > &value)
bool TargetsHasBeenSet() const
void SetTargetParameterName(const Aws::String &value)
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
Runbook & WithDocumentVersion(Aws::String &&value)
Runbook & AddTargetLocations(TargetLocation &&value)
void SetParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
Runbook & WithDocumentName(Aws::String &&value)
const Aws::String & GetTargetParameterName() const
bool TargetLocationsHasBeenSet() const
bool DocumentVersionHasBeenSet() const
Runbook & AddTargetMaps(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&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