7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mgn/model/ActionCategory.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/mgn/model/SsmExternalParameter.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#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); }
182 inline void SetOperatingSystem(
const char* value) { m_operatingSystemHasBeenSet =
true; m_operatingSystem.assign(value); }
194 inline void SetOrder(
int value) { m_orderHasBeenSet =
true; m_order = value; }
222 inline void SetTimeoutSeconds(
int value) { m_timeoutSecondsHasBeenSet =
true; m_timeoutSeconds = value; }
228 bool m_actionIDHasBeenSet =
false;
231 bool m_actionNameHasBeenSet =
false;
234 bool m_activeHasBeenSet =
false;
237 bool m_categoryHasBeenSet =
false;
240 bool m_descriptionHasBeenSet =
false;
243 bool m_documentIdentifierHasBeenSet =
false;
246 bool m_documentVersionHasBeenSet =
false;
249 bool m_externalParametersHasBeenSet =
false;
252 bool m_launchConfigurationTemplateIDHasBeenSet =
false;
254 bool m_mustSucceedForCutover;
255 bool m_mustSucceedForCutoverHasBeenSet =
false;
258 bool m_operatingSystemHasBeenSet =
false;
261 bool m_orderHasBeenSet =
false;
264 bool m_parametersHasBeenSet =
false;
266 int m_timeoutSeconds;
267 bool m_timeoutSecondsHasBeenSet =
false;
PutTemplateActionRequest & WithLaunchConfigurationTemplateID(const Aws::String &value)
bool ActiveHasBeenSet() const
bool DocumentIdentifierHasBeenSet() const
PutTemplateActionRequest & WithDescription(const Aws::String &value)
bool ActionIDHasBeenSet() const
PutTemplateActionRequest & WithCategory(ActionCategory &&value)
const Aws::String & GetActionName() const
int GetTimeoutSeconds() const
void SetExternalParameters(Aws::Map< Aws::String, SsmExternalParameter > &&value)
PutTemplateActionRequest & WithMustSucceedForCutover(bool value)
PutTemplateActionRequest & WithDocumentVersion(Aws::String &&value)
void SetLaunchConfigurationTemplateID(const char *value)
PutTemplateActionRequest & WithOperatingSystem(Aws::String &&value)
const Aws::String & GetDescription() const
bool GetMustSucceedForCutover() const
PutTemplateActionRequest & WithOperatingSystem(const char *value)
PutTemplateActionRequest & WithActionID(const Aws::String &value)
PutTemplateActionRequest & WithTimeoutSeconds(int value)
void SetTimeoutSeconds(int value)
PutTemplateActionRequest & WithDescription(Aws::String &&value)
PutTemplateActionRequest & WithExternalParameters(const Aws::Map< Aws::String, SsmExternalParameter > &value)
PutTemplateActionRequest & AddExternalParameters(const Aws::String &key, SsmExternalParameter &&value)
bool OrderHasBeenSet() const
PutTemplateActionRequest & WithActionName(Aws::String &&value)
PutTemplateActionRequest & WithDocumentVersion(const char *value)
PutTemplateActionRequest & AddParameters(const char *key, const Aws::Vector< SsmParameterStoreParameter > &value)
const ActionCategory & GetCategory() const
PutTemplateActionRequest & AddParameters(const char *key, Aws::Vector< SsmParameterStoreParameter > &&value)
void SetExternalParameters(const Aws::Map< Aws::String, SsmExternalParameter > &value)
PutTemplateActionRequest & WithOrder(int value)
const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > & GetParameters() const
void SetCategory(const ActionCategory &value)
const Aws::String & GetDocumentIdentifier() const
void SetLaunchConfigurationTemplateID(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetActionID(const char *value)
void SetActionName(Aws::String &&value)
void SetActionName(const char *value)
void SetOperatingSystem(const Aws::String &value)
PutTemplateActionRequest & WithDocumentIdentifier(const Aws::String &value)
PutTemplateActionRequest & WithCategory(const ActionCategory &value)
PutTemplateActionRequest & AddExternalParameters(const char *key, const SsmExternalParameter &value)
bool LaunchConfigurationTemplateIDHasBeenSet() const
void SetDescription(const char *value)
PutTemplateActionRequest & WithDescription(const char *value)
void SetActive(bool value)
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &value)
const Aws::String & GetDocumentVersion() const
PutTemplateActionRequest & AddExternalParameters(const char *key, SsmExternalParameter &&value)
bool OperatingSystemHasBeenSet() const
void SetMustSucceedForCutover(bool value)
const Aws::String & GetActionID() const
void SetOperatingSystem(Aws::String &&value)
PutTemplateActionRequest & WithExternalParameters(Aws::Map< Aws::String, SsmExternalParameter > &&value)
void SetActionName(const Aws::String &value)
void SetDocumentIdentifier(const char *value)
const Aws::Map< Aws::String, SsmExternalParameter > & GetExternalParameters() const
bool DocumentVersionHasBeenSet() const
void SetDocumentIdentifier(const Aws::String &value)
PutTemplateActionRequest & WithActionID(Aws::String &&value)
void SetDescription(Aws::String &&value)
PutTemplateActionRequest & WithDocumentVersion(const Aws::String &value)
bool TimeoutSecondsHasBeenSet() const
bool MustSucceedForCutoverHasBeenSet() const
void SetParameters(Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &&value)
PutTemplateActionRequest & AddExternalParameters(Aws::String &&key, const SsmExternalParameter &value)
PutTemplateActionRequest & WithLaunchConfigurationTemplateID(const char *value)
void SetLaunchConfigurationTemplateID(Aws::String &&value)
PutTemplateActionRequest & WithParameters(Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &&value)
void SetActionID(Aws::String &&value)
PutTemplateActionRequest & WithDocumentIdentifier(Aws::String &&value)
bool CategoryHasBeenSet() const
PutTemplateActionRequest & AddParameters(const Aws::String &key, const Aws::Vector< SsmParameterStoreParameter > &value)
void SetCategory(ActionCategory &&value)
void SetDescription(const Aws::String &value)
PutTemplateActionRequest & AddParameters(Aws::String &&key, const Aws::Vector< SsmParameterStoreParameter > &value)
void SetOperatingSystem(const char *value)
const Aws::String & GetLaunchConfigurationTemplateID() const
PutTemplateActionRequest & AddParameters(Aws::String &&key, Aws::Vector< SsmParameterStoreParameter > &&value)
bool DescriptionHasBeenSet() const
PutTemplateActionRequest & AddExternalParameters(const Aws::String &key, const SsmExternalParameter &value)
PutTemplateActionRequest & AddParameters(const Aws::String &key, Aws::Vector< SsmParameterStoreParameter > &&value)
PutTemplateActionRequest & WithDocumentIdentifier(const char *value)
void SetDocumentVersion(Aws::String &&value)
PutTemplateActionRequest & AddExternalParameters(Aws::String &&key, SsmExternalParameter &&value)
PutTemplateActionRequest & WithParameters(const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &value)
bool ActionNameHasBeenSet() const
PutTemplateActionRequest & WithActive(bool value)
void SetActionID(const Aws::String &value)
AWS_MGN_API PutTemplateActionRequest()
void SetDocumentVersion(const char *value)
PutTemplateActionRequest & WithLaunchConfigurationTemplateID(Aws::String &&value)
PutTemplateActionRequest & WithActionName(const Aws::String &value)
const Aws::String & GetOperatingSystem() const
bool ExternalParametersHasBeenSet() const
PutTemplateActionRequest & WithOperatingSystem(const Aws::String &value)
PutTemplateActionRequest & WithActionName(const char *value)
bool ParametersHasBeenSet() const
PutTemplateActionRequest & WithActionID(const char *value)
AWS_MGN_API Aws::String SerializePayload() const override
void SetDocumentIdentifier(Aws::String &&value)
void SetDocumentVersion(const 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