7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mgn/MgnRequest.h>
11#include <aws/mgn/Mgn_EXPORTS.h>
12#include <aws/mgn/model/ActionCategory.h>
13#include <aws/mgn/model/SsmExternalParameter.h>
14#include <aws/mgn/model/SsmParameterStoreParameter.h>
42 template <
typename SourceServerIDT = Aws::String>
44 m_sourceServerIDHasBeenSet =
true;
45 m_sourceServerID = std::forward<SourceServerIDT>(value);
47 template <
typename SourceServerIDT = Aws::String>
60 template <
typename ActionNameT = Aws::String>
62 m_actionNameHasBeenSet =
true;
63 m_actionName = std::forward<ActionNameT>(value);
65 template <
typename ActionNameT = Aws::String>
78 template <
typename DocumentIdentifierT = Aws::String>
80 m_documentIdentifierHasBeenSet =
true;
81 m_documentIdentifier = std::forward<DocumentIdentifierT>(value);
83 template <
typename DocumentIdentifierT = Aws::String>
94 inline int GetOrder()
const {
return m_order; }
97 m_orderHasBeenSet =
true;
112 template <
typename ActionIDT = Aws::String>
114 m_actionIDHasBeenSet =
true;
115 m_actionID = std::forward<ActionIDT>(value);
117 template <
typename ActionIDT = Aws::String>
130 template <
typename DocumentVersionT = Aws::String>
132 m_documentVersionHasBeenSet =
true;
133 m_documentVersion = std::forward<DocumentVersionT>(value);
135 template <
typename DocumentVersionT = Aws::String>
149 m_activeHasBeenSet =
true;
165 m_timeoutSecondsHasBeenSet =
true;
166 m_timeoutSeconds = value;
181 m_mustSucceedForCutoverHasBeenSet =
true;
182 m_mustSucceedForCutover = value;
196 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<SsmParameterStoreParameter>>>
198 m_parametersHasBeenSet =
true;
199 m_parameters = std::forward<ParametersT>(value);
201 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<SsmParameterStoreParameter>>>
206 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<SsmParameterStoreParameter>>
208 m_parametersHasBeenSet =
true;
209 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
220 template <
typename ExternalParametersT = Aws::Map<Aws::String, SsmExternalParameter>>
222 m_externalParametersHasBeenSet =
true;
223 m_externalParameters = std::forward<ExternalParametersT>(value);
225 template <
typename ExternalParametersT = Aws::Map<Aws::String, SsmExternalParameter>>
230 template <
typename ExternalParametersKeyT = Aws::String,
typename ExternalParametersValueT = SsmExternalParameter>
232 m_externalParametersHasBeenSet =
true;
233 m_externalParameters.emplace(std::forward<ExternalParametersKeyT>(key), std::forward<ExternalParametersValueT>(value));
244 template <
typename DescriptionT = Aws::String>
246 m_descriptionHasBeenSet =
true;
247 m_description = std::forward<DescriptionT>(value);
249 template <
typename DescriptionT = Aws::String>
263 m_categoryHasBeenSet =
true;
278 template <
typename AccountIDT = Aws::String>
280 m_accountIDHasBeenSet =
true;
281 m_accountID = std::forward<AccountIDT>(value);
283 template <
typename AccountIDT = Aws::String>
302 bool m_active{
false};
304 int m_timeoutSeconds{0};
306 bool m_mustSucceedForCutover{
false};
317 bool m_sourceServerIDHasBeenSet =
false;
318 bool m_actionNameHasBeenSet =
false;
319 bool m_documentIdentifierHasBeenSet =
false;
320 bool m_orderHasBeenSet =
false;
321 bool m_actionIDHasBeenSet =
false;
322 bool m_documentVersionHasBeenSet =
false;
323 bool m_activeHasBeenSet =
false;
324 bool m_timeoutSecondsHasBeenSet =
false;
325 bool m_mustSucceedForCutoverHasBeenSet =
false;
326 bool m_parametersHasBeenSet =
false;
327 bool m_externalParametersHasBeenSet =
false;
328 bool m_descriptionHasBeenSet =
false;
329 bool m_categoryHasBeenSet =
false;
330 bool m_accountIDHasBeenSet =
false;
PutSourceServerActionRequest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
bool ParametersHasBeenSet() const
bool ActionIDHasBeenSet() const
const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > & GetParameters() const
bool ExternalParametersHasBeenSet() const
PutSourceServerActionRequest & WithDocumentVersion(DocumentVersionT &&value)
bool DocumentVersionHasBeenSet() const
const Aws::String & GetActionID() const
PutSourceServerActionRequest & WithSourceServerID(SourceServerIDT &&value)
bool ActiveHasBeenSet() const
PutSourceServerActionRequest & WithTimeoutSeconds(int value)
PutSourceServerActionRequest & WithDocumentIdentifier(DocumentIdentifierT &&value)
void SetExternalParameters(ExternalParametersT &&value)
const Aws::String & GetDocumentVersion() const
void SetSourceServerID(SourceServerIDT &&value)
const Aws::String & GetDocumentIdentifier() const
PutSourceServerActionRequest & WithActive(bool value)
PutSourceServerActionRequest & WithMustSucceedForCutover(bool value)
bool CategoryHasBeenSet() const
bool AccountIDHasBeenSet() const
void SetDescription(DescriptionT &&value)
int GetTimeoutSeconds() const
void SetDocumentVersion(DocumentVersionT &&value)
const Aws::Map< Aws::String, SsmExternalParameter > & GetExternalParameters() const
AWS_MGN_API PutSourceServerActionRequest()=default
PutSourceServerActionRequest & WithParameters(ParametersT &&value)
void SetAccountID(AccountIDT &&value)
bool OrderHasBeenSet() const
PutSourceServerActionRequest & WithDescription(DescriptionT &&value)
void SetActive(bool value)
PutSourceServerActionRequest & WithExternalParameters(ExternalParametersT &&value)
PutSourceServerActionRequest & WithOrder(int value)
PutSourceServerActionRequest & WithAccountID(AccountIDT &&value)
void SetTimeoutSeconds(int value)
const Aws::String & GetActionName() const
PutSourceServerActionRequest & AddExternalParameters(ExternalParametersKeyT &&key, ExternalParametersValueT &&value)
ActionCategory GetCategory() const
AWS_MGN_API Aws::String SerializePayload() const override
void SetActionID(ActionIDT &&value)
bool MustSucceedForCutoverHasBeenSet() const
const Aws::String & GetSourceServerID() const
const Aws::String & GetDescription() const
bool SourceServerIDHasBeenSet() const
bool GetMustSucceedForCutover() const
const Aws::String & GetAccountID() const
PutSourceServerActionRequest & WithCategory(ActionCategory value)
void SetCategory(ActionCategory value)
void SetParameters(ParametersT &&value)
void SetActionName(ActionNameT &&value)
bool DocumentIdentifierHasBeenSet() const
bool DescriptionHasBeenSet() const
PutSourceServerActionRequest & WithActionID(ActionIDT &&value)
void SetDocumentIdentifier(DocumentIdentifierT &&value)
PutSourceServerActionRequest & WithActionName(ActionNameT &&value)
bool ActionNameHasBeenSet() const
bool TimeoutSecondsHasBeenSet() const
void SetMustSucceedForCutover(bool 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