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/ChangeServerLifeCycleStateSourceServerLifecycle.h>
42 template<
typename AccountIDT = Aws::String>
43 void SetAccountID(AccountIDT&& value) { m_accountIDHasBeenSet =
true; m_accountID = std::forward<AccountIDT>(value); }
44 template<
typename AccountIDT = Aws::String>
54 template<
typename LifeCycleT = ChangeServerLifeCycleStateSourceServerLifecycle>
55 void SetLifeCycle(LifeCycleT&& value) { m_lifeCycleHasBeenSet =
true; m_lifeCycle = std::forward<LifeCycleT>(value); }
56 template<
typename LifeCycleT = ChangeServerLifeCycleStateSourceServerLifecycle>
67 template<
typename SourceServerIDT = Aws::String>
68 void SetSourceServerID(SourceServerIDT&& value) { m_sourceServerIDHasBeenSet =
true; m_sourceServerID = std::forward<SourceServerIDT>(value); }
69 template<
typename SourceServerIDT = Aws::String>
75 bool m_accountIDHasBeenSet =
false;
78 bool m_lifeCycleHasBeenSet =
false;
81 bool m_sourceServerIDHasBeenSet =
false;
bool AccountIDHasBeenSet() const
void SetAccountID(AccountIDT &&value)
ChangeServerLifeCycleStateRequest & WithSourceServerID(SourceServerIDT &&value)
AWS_MGN_API ChangeServerLifeCycleStateRequest()=default
bool LifeCycleHasBeenSet() const
bool SourceServerIDHasBeenSet() const
const ChangeServerLifeCycleStateSourceServerLifecycle & GetLifeCycle() const
ChangeServerLifeCycleStateRequest & WithAccountID(AccountIDT &&value)
void SetSourceServerID(SourceServerIDT &&value)
void SetLifeCycle(LifeCycleT &&value)
const Aws::String & GetAccountID() const
ChangeServerLifeCycleStateRequest & WithLifeCycle(LifeCycleT &&value)
AWS_MGN_API Aws::String SerializePayload() const override
const Aws::String & GetSourceServerID() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String