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); }
166 inline void SetOrder(
int value) { m_orderHasBeenSet =
true; m_order = value; }
194 inline void SetTimeoutSeconds(
int value) { m_timeoutSecondsHasBeenSet =
true; m_timeoutSeconds = value; }
204 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
212 bool m_actionIDHasBeenSet =
false;
215 bool m_actionNameHasBeenSet =
false;
218 bool m_activeHasBeenSet =
false;
221 bool m_categoryHasBeenSet =
false;
224 bool m_descriptionHasBeenSet =
false;
227 bool m_documentIdentifierHasBeenSet =
false;
230 bool m_documentVersionHasBeenSet =
false;
233 bool m_externalParametersHasBeenSet =
false;
235 bool m_mustSucceedForCutover;
236 bool m_mustSucceedForCutoverHasBeenSet =
false;
239 bool m_orderHasBeenSet =
false;
242 bool m_parametersHasBeenSet =
false;
244 int m_timeoutSeconds;
245 bool m_timeoutSecondsHasBeenSet =
false;
248 bool m_requestIdHasBeenSet =
false;
SourceServerActionDocument & AddParameters(Aws::String &&key, const Aws::Vector< SsmParameterStoreParameter > &value)
bool DocumentIdentifierHasBeenSet() const
SourceServerActionDocument & WithExternalParameters(Aws::Map< Aws::String, SsmExternalParameter > &&value)
void SetRequestId(Aws::String &&value)
void SetDocumentIdentifier(Aws::String &&value)
void SetActionID(const char *value)
void SetDescription(Aws::String &&value)
bool RequestIdHasBeenSet() const
AWS_MGN_API SourceServerActionDocument()
bool MustSucceedForCutoverHasBeenSet() const
bool ExternalParametersHasBeenSet() const
void SetActionName(const char *value)
void SetCategory(const ActionCategory &value)
SourceServerActionDocument & WithDocumentIdentifier(const char *value)
SourceServerActionDocument & WithDocumentVersion(const char *value)
SourceServerActionDocument & WithTimeoutSeconds(int value)
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &value)
SourceServerActionDocument & AddParameters(const char *key, const Aws::Vector< SsmParameterStoreParameter > &value)
SourceServerActionDocument & WithRequestId(const Aws::String &value)
SourceServerActionDocument & AddExternalParameters(const char *key, SsmExternalParameter &&value)
SourceServerActionDocument & WithParameters(Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &&value)
SourceServerActionDocument & WithActionID(const char *value)
void SetExternalParameters(Aws::Map< Aws::String, SsmExternalParameter > &&value)
SourceServerActionDocument & AddExternalParameters(Aws::String &&key, const SsmExternalParameter &value)
SourceServerActionDocument & WithExternalParameters(const Aws::Map< Aws::String, SsmExternalParameter > &value)
SourceServerActionDocument & AddParameters(const Aws::String &key, const Aws::Vector< SsmParameterStoreParameter > &value)
void SetParameters(Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &&value)
AWS_MGN_API SourceServerActionDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceServerActionDocument & AddExternalParameters(Aws::String &&key, SsmExternalParameter &&value)
SourceServerActionDocument & WithDocumentIdentifier(const Aws::String &value)
bool GetMustSucceedForCutover() const
const Aws::Map< Aws::String, SsmExternalParameter > & GetExternalParameters() const
const Aws::String & GetRequestId() const
void SetActionID(const Aws::String &value)
void SetDocumentIdentifier(const Aws::String &value)
void SetRequestId(const char *value)
void SetDescription(const Aws::String &value)
SourceServerActionDocument & WithCategory(ActionCategory &&value)
const Aws::String & GetDocumentIdentifier() const
SourceServerActionDocument & AddExternalParameters(const Aws::String &key, const SsmExternalParameter &value)
bool ActionNameHasBeenSet() const
bool ActiveHasBeenSet() const
const Aws::String & GetDescription() const
void SetCategory(ActionCategory &&value)
bool DescriptionHasBeenSet() const
int GetTimeoutSeconds() const
SourceServerActionDocument & WithDescription(const Aws::String &value)
SourceServerActionDocument & WithDescription(const char *value)
SourceServerActionDocument & WithDescription(Aws::String &&value)
SourceServerActionDocument & WithMustSucceedForCutover(bool value)
bool ActionIDHasBeenSet() const
SourceServerActionDocument & WithCategory(const ActionCategory &value)
SourceServerActionDocument & WithActionID(Aws::String &&value)
SourceServerActionDocument & WithActionName(const char *value)
void SetMustSucceedForCutover(bool value)
const Aws::String & GetDocumentVersion() const
void SetDocumentVersion(const Aws::String &value)
SourceServerActionDocument & WithDocumentVersion(Aws::String &&value)
void SetActionName(const Aws::String &value)
SourceServerActionDocument & WithOrder(int value)
void SetActionID(Aws::String &&value)
SourceServerActionDocument & WithParameters(const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &value)
const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > & GetParameters() const
bool DocumentVersionHasBeenSet() const
SourceServerActionDocument & WithActionName(Aws::String &&value)
SourceServerActionDocument & WithDocumentIdentifier(Aws::String &&value)
SourceServerActionDocument & AddExternalParameters(const char *key, const SsmExternalParameter &value)
void SetRequestId(const Aws::String &value)
AWS_MGN_API SourceServerActionDocument(Aws::Utils::Json::JsonView jsonValue)
SourceServerActionDocument & WithDocumentVersion(const Aws::String &value)
SourceServerActionDocument & WithRequestId(const char *value)
bool ParametersHasBeenSet() const
bool CategoryHasBeenSet() const
bool OrderHasBeenSet() const
void SetExternalParameters(const Aws::Map< Aws::String, SsmExternalParameter > &value)
SourceServerActionDocument & WithRequestId(Aws::String &&value)
SourceServerActionDocument & WithActionID(const Aws::String &value)
void SetActive(bool value)
void SetDocumentIdentifier(const char *value)
bool TimeoutSecondsHasBeenSet() const
SourceServerActionDocument & AddParameters(const char *key, Aws::Vector< SsmParameterStoreParameter > &&value)
void SetDocumentVersion(Aws::String &&value)
SourceServerActionDocument & WithActive(bool value)
void SetDocumentVersion(const char *value)
SourceServerActionDocument & AddParameters(const Aws::String &key, Aws::Vector< SsmParameterStoreParameter > &&value)
const Aws::String & GetActionID() const
SourceServerActionDocument & AddParameters(Aws::String &&key, Aws::Vector< SsmParameterStoreParameter > &&value)
void SetDescription(const char *value)
const Aws::String & GetActionName() const
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetActionName(Aws::String &&value)
const ActionCategory & GetCategory() const
void SetTimeoutSeconds(int value)
SourceServerActionDocument & WithActionName(const Aws::String &value)
SourceServerActionDocument & AddExternalParameters(const Aws::String &key, SsmExternalParameter &&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