7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/model/ActionCategory.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/mgn/model/SsmExternalParameter.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/mgn/model/SsmParameterStoreParameter.h>
46 template<
typename ActionIDT = Aws::String>
47 void SetActionID(ActionIDT&& value) { m_actionIDHasBeenSet =
true; m_actionID = std::forward<ActionIDT>(value); }
48 template<
typename ActionIDT = Aws::String>
58 template<
typename ActionNameT = Aws::String>
59 void SetActionName(ActionNameT&& value) { m_actionNameHasBeenSet =
true; m_actionName = std::forward<ActionNameT>(value); }
60 template<
typename ActionNameT = Aws::String>
70 inline void SetActive(
bool value) { m_activeHasBeenSet =
true; m_active = value; }
90 template<
typename DescriptionT = Aws::String>
91 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
92 template<
typename DescriptionT = Aws::String>
102 template<
typename DocumentIdentifierT = Aws::String>
103 void SetDocumentIdentifier(DocumentIdentifierT&& value) { m_documentIdentifierHasBeenSet =
true; m_documentIdentifier = std::forward<DocumentIdentifierT>(value); }
104 template<
typename DocumentIdentifierT = Aws::String>
114 template<
typename DocumentVersionT = Aws::String>
115 void SetDocumentVersion(DocumentVersionT&& value) { m_documentVersionHasBeenSet =
true; m_documentVersion = std::forward<DocumentVersionT>(value); }
116 template<
typename DocumentVersionT = Aws::String>
126 template<
typename ExternalParametersT = Aws::Map<Aws::String, SsmExternalParameter>>
127 void SetExternalParameters(ExternalParametersT&& value) { m_externalParametersHasBeenSet =
true; m_externalParameters = std::forward<ExternalParametersT>(value); }
128 template<
typename ExternalParametersT = Aws::Map<Aws::String, SsmExternalParameter>>
130 template<
typename ExternalParametersKeyT = Aws::String,
typename ExternalParametersValueT = SsmExternalParameter>
132 m_externalParametersHasBeenSet =
true; m_externalParameters.emplace(std::forward<ExternalParametersKeyT>(key), std::forward<ExternalParametersValueT>(value));
return *
this;
152 template<
typename OperatingSystemT = Aws::String>
153 void SetOperatingSystem(OperatingSystemT&& value) { m_operatingSystemHasBeenSet =
true; m_operatingSystem = std::forward<OperatingSystemT>(value); }
154 template<
typename OperatingSystemT = Aws::String>
164 inline void SetOrder(
int value) { m_orderHasBeenSet =
true; m_order = value; }
174 template<
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<SsmParameterStoreParameter>>>
175 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
176 template<
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<SsmParameterStoreParameter>>>
178 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<SsmParameterStoreParameter>>
180 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
190 inline void SetTimeoutSeconds(
int value) { m_timeoutSecondsHasBeenSet =
true; m_timeoutSeconds = value; }
198 template<
typename RequestIdT = Aws::String>
199 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
200 template<
typename RequestIdT = Aws::String>
206 bool m_actionIDHasBeenSet =
false;
209 bool m_actionNameHasBeenSet =
false;
211 bool m_active{
false};
212 bool m_activeHasBeenSet =
false;
215 bool m_categoryHasBeenSet =
false;
218 bool m_descriptionHasBeenSet =
false;
221 bool m_documentIdentifierHasBeenSet =
false;
224 bool m_documentVersionHasBeenSet =
false;
227 bool m_externalParametersHasBeenSet =
false;
229 bool m_mustSucceedForCutover{
false};
230 bool m_mustSucceedForCutoverHasBeenSet =
false;
233 bool m_operatingSystemHasBeenSet =
false;
236 bool m_orderHasBeenSet =
false;
239 bool m_parametersHasBeenSet =
false;
241 int m_timeoutSeconds{0};
242 bool m_timeoutSecondsHasBeenSet =
false;
245 bool m_requestIdHasBeenSet =
false;
bool ActionIDHasBeenSet() const
void SetOperatingSystem(OperatingSystemT &&value)
void SetMustSucceedForCutover(bool value)
bool DocumentIdentifierHasBeenSet() const
bool ParametersHasBeenSet() const
void SetRequestId(RequestIdT &&value)
bool CategoryHasBeenSet() const
const Aws::String & GetActionName() const
bool OrderHasBeenSet() const
TemplateActionDocument & WithDescription(DescriptionT &&value)
TemplateActionDocument & WithRequestId(RequestIdT &&value)
void SetParameters(ParametersT &&value)
bool RequestIdHasBeenSet() const
void SetActionName(ActionNameT &&value)
void SetActive(bool value)
TemplateActionDocument & WithOperatingSystem(OperatingSystemT &&value)
bool OperatingSystemHasBeenSet() const
TemplateActionDocument & WithActive(bool value)
TemplateActionDocument & WithActionName(ActionNameT &&value)
bool ExternalParametersHasBeenSet() const
int GetTimeoutSeconds() const
TemplateActionDocument & WithActionID(ActionIDT &&value)
void SetCategory(ActionCategory value)
bool MustSucceedForCutoverHasBeenSet() const
const Aws::Map< Aws::String, SsmExternalParameter > & GetExternalParameters() const
void SetDocumentVersion(DocumentVersionT &&value)
TemplateActionDocument & WithMustSucceedForCutover(bool value)
const Aws::String & GetActionID() const
void SetTimeoutSeconds(int value)
bool TimeoutSecondsHasBeenSet() const
AWS_MGN_API TemplateActionDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
bool ActiveHasBeenSet() const
TemplateActionDocument & WithDocumentVersion(DocumentVersionT &&value)
TemplateActionDocument & AddExternalParameters(ExternalParametersKeyT &&key, ExternalParametersValueT &&value)
TemplateActionDocument & WithParameters(ParametersT &&value)
TemplateActionDocument & WithTimeoutSeconds(int value)
const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > & GetParameters() const
ActionCategory GetCategory() const
const Aws::String & GetDocumentVersion() const
bool ActionNameHasBeenSet() const
const Aws::String & GetRequestId() const
TemplateActionDocument & WithCategory(ActionCategory value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
bool DocumentVersionHasBeenSet() const
TemplateActionDocument & WithDocumentIdentifier(DocumentIdentifierT &&value)
const Aws::String & GetDocumentIdentifier() const
AWS_MGN_API TemplateActionDocument(Aws::Utils::Json::JsonView jsonValue)
void SetDocumentIdentifier(DocumentIdentifierT &&value)
TemplateActionDocument & WithExternalParameters(ExternalParametersT &&value)
const Aws::String & GetOperatingSystem() const
void SetActionID(ActionIDT &&value)
void SetExternalParameters(ExternalParametersT &&value)
bool GetMustSucceedForCutover() const
TemplateActionDocument & WithOrder(int value)
AWS_MGN_API TemplateActionDocument()=default
const Aws::String & GetDescription() const
TemplateActionDocument & AddParameters(ParametersKeyT &&key, ParametersValueT &&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
Aws::Utils::Json::JsonValue JsonValue