7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/model/SourceServerConnectorAction.h>
10#include <aws/mgn/model/DataReplicationInfo.h>
11#include <aws/mgn/model/LaunchedInstance.h>
12#include <aws/mgn/model/LifeCycle.h>
13#include <aws/mgn/model/ReplicationType.h>
14#include <aws/mgn/model/SourceProperties.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
47 template<
typename ApplicationIDT = Aws::String>
48 void SetApplicationID(ApplicationIDT&& value) { m_applicationIDHasBeenSet =
true; m_applicationID = std::forward<ApplicationIDT>(value); }
49 template<
typename ApplicationIDT = Aws::String>
58 template<
typename ArnT = Aws::String>
59 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
60 template<
typename ArnT = Aws::String>
69 template<
typename ConnectorActionT = SourceServerConnectorAction>
70 void SetConnectorAction(ConnectorActionT&& value) { m_connectorActionHasBeenSet =
true; m_connectorAction = std::forward<ConnectorActionT>(value); }
71 template<
typename ConnectorActionT = SourceServerConnectorAction>
80 template<
typename DataReplicationInfoT = DataReplicationInfo>
81 void SetDataReplicationInfo(DataReplicationInfoT&& value) { m_dataReplicationInfoHasBeenSet =
true; m_dataReplicationInfo = std::forward<DataReplicationInfoT>(value); }
82 template<
typename DataReplicationInfoT = DataReplicationInfo>
91 template<
typename FqdnForActionFrameworkT = Aws::String>
92 void SetFqdnForActionFramework(FqdnForActionFrameworkT&& value) { m_fqdnForActionFrameworkHasBeenSet =
true; m_fqdnForActionFramework = std::forward<FqdnForActionFrameworkT>(value); }
93 template<
typename FqdnForActionFrameworkT = Aws::String>
102 inline void SetIsArchived(
bool value) { m_isArchivedHasBeenSet =
true; m_isArchived = value; }
111 template<
typename LaunchedInstanceT = LaunchedInstance>
112 void SetLaunchedInstance(LaunchedInstanceT&& value) { m_launchedInstanceHasBeenSet =
true; m_launchedInstance = std::forward<LaunchedInstanceT>(value); }
113 template<
typename LaunchedInstanceT = LaunchedInstance>
122 template<
typename LifeCycleT = LifeCycle>
123 void SetLifeCycle(LifeCycleT&& value) { m_lifeCycleHasBeenSet =
true; m_lifeCycle = std::forward<LifeCycleT>(value); }
124 template<
typename LifeCycleT = LifeCycle>
142 template<
typename SourcePropertiesT = SourceProperties>
143 void SetSourceProperties(SourcePropertiesT&& value) { m_sourcePropertiesHasBeenSet =
true; m_sourceProperties = std::forward<SourcePropertiesT>(value); }
144 template<
typename SourcePropertiesT = SourceProperties>
153 template<
typename SourceServerIDT = Aws::String>
154 void SetSourceServerID(SourceServerIDT&& value) { m_sourceServerIDHasBeenSet =
true; m_sourceServerID = std::forward<SourceServerIDT>(value); }
155 template<
typename SourceServerIDT = Aws::String>
164 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
165 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
166 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
168 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
170 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
179 template<
typename UserProv
idedIDT = Aws::String>
180 void SetUserProvidedID(UserProvidedIDT&& value) { m_userProvidedIDHasBeenSet =
true; m_userProvidedID = std::forward<UserProvidedIDT>(value); }
181 template<
typename UserProv
idedIDT = Aws::String>
190 template<
typename VcenterClientIDT = Aws::String>
191 void SetVcenterClientID(VcenterClientIDT&& value) { m_vcenterClientIDHasBeenSet =
true; m_vcenterClientID = std::forward<VcenterClientIDT>(value); }
192 template<
typename VcenterClientIDT = Aws::String>
199 template<
typename RequestIdT = Aws::String>
200 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
201 template<
typename RequestIdT = Aws::String>
207 bool m_applicationIDHasBeenSet =
false;
210 bool m_arnHasBeenSet =
false;
213 bool m_connectorActionHasBeenSet =
false;
216 bool m_dataReplicationInfoHasBeenSet =
false;
219 bool m_fqdnForActionFrameworkHasBeenSet =
false;
221 bool m_isArchived{
false};
222 bool m_isArchivedHasBeenSet =
false;
224 LaunchedInstance m_launchedInstance;
225 bool m_launchedInstanceHasBeenSet =
false;
227 LifeCycle m_lifeCycle;
228 bool m_lifeCycleHasBeenSet =
false;
231 bool m_replicationTypeHasBeenSet =
false;
233 SourceProperties m_sourceProperties;
234 bool m_sourcePropertiesHasBeenSet =
false;
237 bool m_sourceServerIDHasBeenSet =
false;
240 bool m_tagsHasBeenSet =
false;
243 bool m_userProvidedIDHasBeenSet =
false;
246 bool m_vcenterClientIDHasBeenSet =
false;
249 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetApplicationID() const
void SetConnectorAction(ConnectorActionT &&value)
ChangeServerLifeCycleStateResult & WithFqdnForActionFramework(FqdnForActionFrameworkT &&value)
const Aws::String & GetVcenterClientID() const
ChangeServerLifeCycleStateResult & WithVcenterClientID(VcenterClientIDT &&value)
ChangeServerLifeCycleStateResult & WithIsArchived(bool value)
bool GetIsArchived() const
ChangeServerLifeCycleStateResult & WithReplicationType(ReplicationType value)
ChangeServerLifeCycleStateResult & WithApplicationID(ApplicationIDT &&value)
ReplicationType GetReplicationType() const
void SetIsArchived(bool value)
const Aws::String & GetRequestId() const
void SetUserProvidedID(UserProvidedIDT &&value)
const LaunchedInstance & GetLaunchedInstance() const
ChangeServerLifeCycleStateResult & WithUserProvidedID(UserProvidedIDT &&value)
ChangeServerLifeCycleStateResult & WithArn(ArnT &&value)
void SetFqdnForActionFramework(FqdnForActionFrameworkT &&value)
void SetRequestId(RequestIdT &&value)
AWS_MGN_API ChangeServerLifeCycleStateResult()=default
const LifeCycle & GetLifeCycle() const
void SetSourceServerID(SourceServerIDT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetSourceServerID() const
ChangeServerLifeCycleStateResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetFqdnForActionFramework() const
ChangeServerLifeCycleStateResult & WithTags(TagsT &&value)
ChangeServerLifeCycleStateResult & WithSourceProperties(SourcePropertiesT &&value)
ChangeServerLifeCycleStateResult & WithLaunchedInstance(LaunchedInstanceT &&value)
ChangeServerLifeCycleStateResult & WithLifeCycle(LifeCycleT &&value)
const SourceProperties & GetSourceProperties() const
void SetReplicationType(ReplicationType value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_MGN_API ChangeServerLifeCycleStateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const DataReplicationInfo & GetDataReplicationInfo() const
const Aws::String & GetArn() const
AWS_MGN_API ChangeServerLifeCycleStateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ChangeServerLifeCycleStateResult & WithDataReplicationInfo(DataReplicationInfoT &&value)
void SetSourceProperties(SourcePropertiesT &&value)
const SourceServerConnectorAction & GetConnectorAction() const
void SetTags(TagsT &&value)
void SetDataReplicationInfo(DataReplicationInfoT &&value)
void SetLifeCycle(LifeCycleT &&value)
const Aws::String & GetUserProvidedID() const
ChangeServerLifeCycleStateResult & WithSourceServerID(SourceServerIDT &&value)
ChangeServerLifeCycleStateResult & WithConnectorAction(ConnectorActionT &&value)
void SetLaunchedInstance(LaunchedInstanceT &&value)
void SetVcenterClientID(VcenterClientIDT &&value)
ChangeServerLifeCycleStateResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetApplicationID(ApplicationIDT &&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
Aws::Utils::Json::JsonValue JsonValue