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 SetAccountID(
const char* value) { m_accountIDHasBeenSet =
true; m_accountID.assign(value); }
62 inline void SetActionID(
const char* value) { m_actionIDHasBeenSet =
true; m_actionID.assign(value); }
76 inline void SetActionName(
const char* value) { m_actionNameHasBeenSet =
true; m_actionName.assign(value); }
88 inline void SetActive(
bool value) { m_activeHasBeenSet =
true; m_active = value; }
112 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
126 inline void SetDocumentIdentifier(
const char* value) { m_documentIdentifierHasBeenSet =
true; m_documentIdentifier.assign(value); }
140 inline void SetDocumentVersion(
const char* value) { m_documentVersionHasBeenSet =
true; m_documentVersion.assign(value); }
180 inline void SetOrder(
int value) { m_orderHasBeenSet =
true; m_order = value; }
210 inline void SetSourceServerID(
const char* value) { m_sourceServerIDHasBeenSet =
true; m_sourceServerID.assign(value); }
222 inline void SetTimeoutSeconds(
int value) { m_timeoutSecondsHasBeenSet =
true; m_timeoutSeconds = value; }
228 bool m_accountIDHasBeenSet =
false;
231 bool m_actionIDHasBeenSet =
false;
234 bool m_actionNameHasBeenSet =
false;
237 bool m_activeHasBeenSet =
false;
240 bool m_categoryHasBeenSet =
false;
243 bool m_descriptionHasBeenSet =
false;
246 bool m_documentIdentifierHasBeenSet =
false;
249 bool m_documentVersionHasBeenSet =
false;
252 bool m_externalParametersHasBeenSet =
false;
254 bool m_mustSucceedForCutover;
255 bool m_mustSucceedForCutoverHasBeenSet =
false;
258 bool m_orderHasBeenSet =
false;
261 bool m_parametersHasBeenSet =
false;
264 bool m_sourceServerIDHasBeenSet =
false;
266 int m_timeoutSeconds;
267 bool m_timeoutSecondsHasBeenSet =
false;
PutSourceServerActionRequest & WithActionID(Aws::String &&value)
PutSourceServerActionRequest & WithSourceServerID(const Aws::String &value)
PutSourceServerActionRequest & WithExternalParameters(Aws::Map< Aws::String, SsmExternalParameter > &&value)
bool ParametersHasBeenSet() const
PutSourceServerActionRequest & WithAccountID(const char *value)
PutSourceServerActionRequest & WithActionID(const Aws::String &value)
PutSourceServerActionRequest & AddParameters(Aws::String &&key, Aws::Vector< SsmParameterStoreParameter > &&value)
bool ActionIDHasBeenSet() const
const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > & GetParameters() const
void SetSourceServerID(Aws::String &&value)
bool ExternalParametersHasBeenSet() const
PutSourceServerActionRequest & WithDocumentIdentifier(const Aws::String &value)
PutSourceServerActionRequest & WithDocumentIdentifier(Aws::String &&value)
bool DocumentVersionHasBeenSet() const
PutSourceServerActionRequest & WithDocumentIdentifier(const char *value)
void SetDescription(Aws::String &&value)
AWS_MGN_API PutSourceServerActionRequest()
void SetCategory(ActionCategory &&value)
void SetExternalParameters(const Aws::Map< Aws::String, SsmExternalParameter > &value)
const Aws::String & GetActionID() const
PutSourceServerActionRequest & WithDescription(const Aws::String &value)
void SetActionName(Aws::String &&value)
bool ActiveHasBeenSet() const
PutSourceServerActionRequest & WithTimeoutSeconds(int value)
void SetDocumentIdentifier(const char *value)
PutSourceServerActionRequest & AddExternalParameters(Aws::String &&key, SsmExternalParameter &&value)
PutSourceServerActionRequest & WithSourceServerID(const char *value)
PutSourceServerActionRequest & AddParameters(const char *key, const Aws::Vector< SsmParameterStoreParameter > &value)
void SetActionID(const Aws::String &value)
void SetDescription(const Aws::String &value)
PutSourceServerActionRequest & AddParameters(const char *key, Aws::Vector< SsmParameterStoreParameter > &&value)
PutSourceServerActionRequest & WithCategory(ActionCategory &&value)
const Aws::String & GetDocumentVersion() const
PutSourceServerActionRequest & WithParameters(const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &value)
const Aws::String & GetDocumentIdentifier() const
PutSourceServerActionRequest & WithActionName(const Aws::String &value)
PutSourceServerActionRequest & AddParameters(const Aws::String &key, Aws::Vector< SsmParameterStoreParameter > &&value)
PutSourceServerActionRequest & WithActive(bool value)
void SetAccountID(Aws::String &&value)
PutSourceServerActionRequest & WithMustSucceedForCutover(bool value)
bool CategoryHasBeenSet() const
bool AccountIDHasBeenSet() const
PutSourceServerActionRequest & WithExternalParameters(const Aws::Map< Aws::String, SsmExternalParameter > &value)
PutSourceServerActionRequest & WithActionName(const char *value)
void SetActionName(const char *value)
PutSourceServerActionRequest & WithCategory(const ActionCategory &value)
PutSourceServerActionRequest & AddExternalParameters(const Aws::String &key, SsmExternalParameter &&value)
PutSourceServerActionRequest & AddExternalParameters(const Aws::String &key, const SsmExternalParameter &value)
PutSourceServerActionRequest & WithDescription(Aws::String &&value)
void SetDocumentIdentifier(Aws::String &&value)
int GetTimeoutSeconds() const
PutSourceServerActionRequest & WithAccountID(Aws::String &&value)
void SetDocumentVersion(const char *value)
PutSourceServerActionRequest & WithDescription(const char *value)
const Aws::Map< Aws::String, SsmExternalParameter > & GetExternalParameters() const
void SetCategory(const ActionCategory &value)
bool OrderHasBeenSet() const
void SetActive(bool value)
PutSourceServerActionRequest & WithDocumentVersion(Aws::String &&value)
PutSourceServerActionRequest & WithOrder(int value)
PutSourceServerActionRequest & AddParameters(Aws::String &&key, const Aws::Vector< SsmParameterStoreParameter > &value)
void SetTimeoutSeconds(int value)
const Aws::String & GetActionName() const
PutSourceServerActionRequest & WithParameters(Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &&value)
PutSourceServerActionRequest & WithAccountID(const Aws::String &value)
void SetExternalParameters(Aws::Map< Aws::String, SsmExternalParameter > &&value)
PutSourceServerActionRequest & AddParameters(const Aws::String &key, const Aws::Vector< SsmParameterStoreParameter > &value)
AWS_MGN_API Aws::String SerializePayload() const override
PutSourceServerActionRequest & AddExternalParameters(Aws::String &&key, const SsmExternalParameter &value)
const ActionCategory & GetCategory() const
PutSourceServerActionRequest & WithActionName(Aws::String &&value)
PutSourceServerActionRequest & WithActionID(const char *value)
PutSourceServerActionRequest & WithDocumentVersion(const char *value)
bool MustSucceedForCutoverHasBeenSet() const
void SetDocumentIdentifier(const Aws::String &value)
const Aws::String & GetSourceServerID() const
const Aws::String & GetDescription() const
void SetActionID(Aws::String &&value)
void SetSourceServerID(const Aws::String &value)
bool SourceServerIDHasBeenSet() const
bool GetMustSucceedForCutover() const
void SetActionID(const char *value)
const Aws::String & GetAccountID() const
void SetSourceServerID(const char *value)
void SetActionName(const Aws::String &value)
void SetParameters(Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &&value)
PutSourceServerActionRequest & AddExternalParameters(const char *key, SsmExternalParameter &&value)
PutSourceServerActionRequest & AddExternalParameters(const char *key, const SsmExternalParameter &value)
void SetDescription(const char *value)
void SetDocumentVersion(const Aws::String &value)
bool DocumentIdentifierHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetDocumentVersion(Aws::String &&value)
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &value)
bool ActionNameHasBeenSet() const
void SetAccountID(const Aws::String &value)
bool TimeoutSecondsHasBeenSet() const
void SetMustSucceedForCutover(bool value)
PutSourceServerActionRequest & WithSourceServerID(Aws::String &&value)
PutSourceServerActionRequest & WithDocumentVersion(const Aws::String &value)
void SetAccountID(const char *value)
virtual const char * GetServiceRequestName() const override
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