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>
48 inline void SetActionID(
const char* value) { m_actionIDHasBeenSet =
true; m_actionID.assign(value); }
62 inline void SetActionName(
const char* value) { m_actionNameHasBeenSet =
true; m_actionName.assign(value); }
74 inline void SetActive(
bool value) { m_activeHasBeenSet =
true; m_active = value; }
98 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
112 inline void SetDocumentIdentifier(
const char* value) { m_documentIdentifierHasBeenSet =
true; m_documentIdentifier.assign(value); }
126 inline void SetDocumentVersion(
const char* value) { m_documentVersionHasBeenSet =
true; m_documentVersion.assign(value); }
168 inline void SetOperatingSystem(
const char* value) { m_operatingSystemHasBeenSet =
true; m_operatingSystem.assign(value); }
180 inline void SetOrder(
int value) { m_orderHasBeenSet =
true; m_order = value; }
208 inline void SetTimeoutSeconds(
int value) { m_timeoutSecondsHasBeenSet =
true; m_timeoutSeconds = value; }
218 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
226 bool m_actionIDHasBeenSet =
false;
229 bool m_actionNameHasBeenSet =
false;
232 bool m_activeHasBeenSet =
false;
235 bool m_categoryHasBeenSet =
false;
238 bool m_descriptionHasBeenSet =
false;
241 bool m_documentIdentifierHasBeenSet =
false;
244 bool m_documentVersionHasBeenSet =
false;
247 bool m_externalParametersHasBeenSet =
false;
249 bool m_mustSucceedForCutover;
250 bool m_mustSucceedForCutoverHasBeenSet =
false;
253 bool m_operatingSystemHasBeenSet =
false;
256 bool m_orderHasBeenSet =
false;
259 bool m_parametersHasBeenSet =
false;
261 int m_timeoutSeconds;
262 bool m_timeoutSecondsHasBeenSet =
false;
265 bool m_requestIdHasBeenSet =
false;
TemplateActionDocument & WithCategory(ActionCategory &&value)
bool ActionIDHasBeenSet() const
void SetDocumentVersion(const char *value)
AWS_MGN_API TemplateActionDocument()
void SetCategory(ActionCategory &&value)
TemplateActionDocument & WithParameters(Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &&value)
TemplateActionDocument & WithOperatingSystem(Aws::String &&value)
void SetDocumentVersion(Aws::String &&value)
void SetParameters(Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &&value)
TemplateActionDocument & AddParameters(Aws::String &&key, Aws::Vector< SsmParameterStoreParameter > &&value)
void SetMustSucceedForCutover(bool value)
TemplateActionDocument & WithDocumentVersion(const Aws::String &value)
bool DocumentIdentifierHasBeenSet() const
void SetDescription(const Aws::String &value)
bool ParametersHasBeenSet() const
bool CategoryHasBeenSet() const
TemplateActionDocument & WithDescription(const Aws::String &value)
TemplateActionDocument & AddExternalParameters(const Aws::String &key, const SsmExternalParameter &value)
const Aws::String & GetActionName() const
void SetDescription(Aws::String &&value)
void SetDocumentIdentifier(const Aws::String &value)
bool OrderHasBeenSet() const
TemplateActionDocument & WithActionID(const char *value)
TemplateActionDocument & WithActionID(const Aws::String &value)
void SetRequestId(Aws::String &&value)
TemplateActionDocument & AddExternalParameters(Aws::String &&key, SsmExternalParameter &&value)
TemplateActionDocument & WithDocumentIdentifier(const char *value)
TemplateActionDocument & AddExternalParameters(Aws::String &&key, const SsmExternalParameter &value)
void SetActionID(Aws::String &&value)
bool RequestIdHasBeenSet() const
TemplateActionDocument & WithActionName(Aws::String &&value)
void SetActive(bool value)
TemplateActionDocument & WithExternalParameters(const Aws::Map< Aws::String, SsmExternalParameter > &value)
TemplateActionDocument & WithRequestId(const char *value)
TemplateActionDocument & AddExternalParameters(const char *key, SsmExternalParameter &&value)
bool OperatingSystemHasBeenSet() const
TemplateActionDocument & WithActive(bool value)
TemplateActionDocument & WithOperatingSystem(const Aws::String &value)
bool ExternalParametersHasBeenSet() const
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &value)
int GetTimeoutSeconds() const
void SetExternalParameters(Aws::Map< Aws::String, SsmExternalParameter > &&value)
TemplateActionDocument & WithDescription(const char *value)
TemplateActionDocument & WithCategory(const ActionCategory &value)
void SetRequestId(const char *value)
bool MustSucceedForCutoverHasBeenSet() const
const ActionCategory & GetCategory() const
const Aws::Map< Aws::String, SsmExternalParameter > & GetExternalParameters() const
TemplateActionDocument & WithMustSucceedForCutover(bool value)
TemplateActionDocument & AddParameters(const char *key, Aws::Vector< SsmParameterStoreParameter > &&value)
const Aws::String & GetActionID() const
void SetTimeoutSeconds(int value)
bool TimeoutSecondsHasBeenSet() const
void SetOperatingSystem(const Aws::String &value)
TemplateActionDocument & WithActionName(const Aws::String &value)
AWS_MGN_API TemplateActionDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
bool ActiveHasBeenSet() const
void SetActionID(const Aws::String &value)
TemplateActionDocument & WithParameters(const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &value)
TemplateActionDocument & WithExternalParameters(Aws::Map< Aws::String, SsmExternalParameter > &&value)
TemplateActionDocument & WithTimeoutSeconds(int value)
TemplateActionDocument & WithActionName(const char *value)
void SetDescription(const char *value)
TemplateActionDocument & WithRequestId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > & GetParameters() const
const Aws::String & GetDocumentVersion() const
void SetRequestId(const Aws::String &value)
bool ActionNameHasBeenSet() const
const Aws::String & GetRequestId() const
TemplateActionDocument & WithOperatingSystem(const char *value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
TemplateActionDocument & WithRequestId(const Aws::String &value)
TemplateActionDocument & AddExternalParameters(const char *key, const SsmExternalParameter &value)
bool DocumentVersionHasBeenSet() const
void SetActionName(const Aws::String &value)
void SetExternalParameters(const Aws::Map< Aws::String, SsmExternalParameter > &value)
const Aws::String & GetDocumentIdentifier() const
TemplateActionDocument & AddParameters(const Aws::String &key, Aws::Vector< SsmParameterStoreParameter > &&value)
AWS_MGN_API TemplateActionDocument(Aws::Utils::Json::JsonView jsonValue)
TemplateActionDocument & AddParameters(Aws::String &&key, const Aws::Vector< SsmParameterStoreParameter > &value)
TemplateActionDocument & WithDocumentVersion(Aws::String &&value)
TemplateActionDocument & WithActionID(Aws::String &&value)
void SetActionName(const char *value)
void SetDocumentIdentifier(const char *value)
TemplateActionDocument & WithDescription(Aws::String &&value)
void SetDocumentIdentifier(Aws::String &&value)
void SetOperatingSystem(const char *value)
const Aws::String & GetOperatingSystem() const
TemplateActionDocument & WithDocumentVersion(const char *value)
bool GetMustSucceedForCutover() const
void SetOperatingSystem(Aws::String &&value)
TemplateActionDocument & AddParameters(const char *key, const Aws::Vector< SsmParameterStoreParameter > &value)
TemplateActionDocument & AddExternalParameters(const Aws::String &key, SsmExternalParameter &&value)
TemplateActionDocument & WithDocumentIdentifier(const Aws::String &value)
TemplateActionDocument & WithDocumentIdentifier(Aws::String &&value)
void SetDocumentVersion(const Aws::String &value)
TemplateActionDocument & WithOrder(int value)
const Aws::String & GetDescription() const
void SetActionID(const char *value)
TemplateActionDocument & AddParameters(const Aws::String &key, const Aws::Vector< SsmParameterStoreParameter > &value)
void SetCategory(const ActionCategory &value)
void SetActionName(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