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>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
47 inline void SetActionID(
const char* value) { m_actionID.assign(value); }
60 inline void SetActionName(
const char* value) { m_actionName.assign(value); }
71 inline void SetActive(
bool value) { m_active = value; }
93 inline void SetDescription(
const char* value) { m_description.assign(value); }
156 inline void SetOrder(
int value) { m_order = value; }
191 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
214 bool m_mustSucceedForCutover;
220 int m_timeoutSeconds;
PutSourceServerActionResult & WithActionName(const Aws::String &value)
void SetMustSucceedForCutover(bool value)
const Aws::String & GetActionName() const
PutSourceServerActionResult & AddExternalParameters(const char *key, SsmExternalParameter &&value)
PutSourceServerActionResult & WithRequestId(Aws::String &&value)
AWS_MGN_API PutSourceServerActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetParameters(Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &&value)
PutSourceServerActionResult & WithParameters(Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &&value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetDocumentIdentifier() const
PutSourceServerActionResult & WithDocumentIdentifier(Aws::String &&value)
void SetActionID(const Aws::String &value)
void SetDocumentVersion(const Aws::String &value)
PutSourceServerActionResult & WithRequestId(const char *value)
void SetDocumentVersion(const char *value)
PutSourceServerActionResult & WithDocumentIdentifier(const char *value)
PutSourceServerActionResult & AddParameters(Aws::String &&key, const Aws::Vector< SsmParameterStoreParameter > &value)
PutSourceServerActionResult & WithActionName(Aws::String &&value)
const ActionCategory & GetCategory() const
void SetCategory(ActionCategory &&value)
PutSourceServerActionResult & AddParameters(const char *key, Aws::Vector< SsmParameterStoreParameter > &&value)
PutSourceServerActionResult & AddExternalParameters(Aws::String &&key, SsmExternalParameter &&value)
PutSourceServerActionResult & WithMustSucceedForCutover(bool value)
AWS_MGN_API PutSourceServerActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetActive(bool value)
PutSourceServerActionResult & WithDocumentVersion(const Aws::String &value)
PutSourceServerActionResult & AddParameters(const char *key, const Aws::Vector< SsmParameterStoreParameter > &value)
void SetExternalParameters(Aws::Map< Aws::String, SsmExternalParameter > &&value)
void SetActionID(Aws::String &&value)
void SetDocumentVersion(Aws::String &&value)
void SetCategory(const ActionCategory &value)
PutSourceServerActionResult & AddExternalParameters(const Aws::String &key, SsmExternalParameter &&value)
PutSourceServerActionResult & WithExternalParameters(Aws::Map< Aws::String, SsmExternalParameter > &&value)
const Aws::String & GetDocumentVersion() const
PutSourceServerActionResult & AddExternalParameters(Aws::String &&key, const SsmExternalParameter &value)
PutSourceServerActionResult & WithDescription(const Aws::String &value)
PutSourceServerActionResult & WithCategory(ActionCategory &&value)
PutSourceServerActionResult & AddExternalParameters(const Aws::String &key, const SsmExternalParameter &value)
void SetRequestId(const char *value)
PutSourceServerActionResult & AddParameters(const Aws::String &key, Aws::Vector< SsmParameterStoreParameter > &&value)
PutSourceServerActionResult & AddParameters(const Aws::String &key, const Aws::Vector< SsmParameterStoreParameter > &value)
PutSourceServerActionResult & WithTimeoutSeconds(int value)
void SetDescription(const Aws::String &value)
void SetDescription(const char *value)
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &value)
PutSourceServerActionResult & WithActionID(const Aws::String &value)
PutSourceServerActionResult & WithActionID(Aws::String &&value)
PutSourceServerActionResult & WithActionName(const char *value)
PutSourceServerActionResult & WithParameters(const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &value)
PutSourceServerActionResult & WithDocumentVersion(const char *value)
void SetActionName(Aws::String &&value)
void SetRequestId(const Aws::String &value)
PutSourceServerActionResult & WithActive(bool value)
AWS_MGN_API PutSourceServerActionResult()
void SetExternalParameters(const Aws::Map< Aws::String, SsmExternalParameter > &value)
PutSourceServerActionResult & WithDescription(const char *value)
PutSourceServerActionResult & WithCategory(const ActionCategory &value)
PutSourceServerActionResult & WithOrder(int value)
const Aws::Map< Aws::String, SsmExternalParameter > & GetExternalParameters() const
void SetActionID(const char *value)
void SetTimeoutSeconds(int value)
void SetActionName(const char *value)
PutSourceServerActionResult & AddParameters(Aws::String &&key, Aws::Vector< SsmParameterStoreParameter > &&value)
PutSourceServerActionResult & WithActionID(const char *value)
PutSourceServerActionResult & WithRequestId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > & GetParameters() const
PutSourceServerActionResult & WithDescription(Aws::String &&value)
PutSourceServerActionResult & WithDocumentVersion(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetDocumentIdentifier(const Aws::String &value)
PutSourceServerActionResult & WithExternalParameters(const Aws::Map< Aws::String, SsmExternalParameter > &value)
int GetTimeoutSeconds() const
void SetDescription(Aws::String &&value)
const Aws::String & GetDescription() const
void SetActionName(const Aws::String &value)
PutSourceServerActionResult & WithDocumentIdentifier(const Aws::String &value)
const Aws::String & GetActionID() const
PutSourceServerActionResult & AddExternalParameters(const char *key, const SsmExternalParameter &value)
void SetDocumentIdentifier(Aws::String &&value)
bool GetMustSucceedForCutover() const
void SetDocumentIdentifier(const char *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