7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mgn/Mgn_EXPORTS.h>
11#include <aws/mgn/model/DataReplicationInfo.h>
12#include <aws/mgn/model/LaunchedInstance.h>
13#include <aws/mgn/model/LifeCycle.h>
14#include <aws/mgn/model/ReplicationType.h>
15#include <aws/mgn/model/SourceProperties.h>
16#include <aws/mgn/model/SourceServerConnectorAction.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
42 template <
typename SourceServerIDT = Aws::String>
44 m_sourceServerIDHasBeenSet =
true;
45 m_sourceServerID = std::forward<SourceServerIDT>(value);
47 template <
typename SourceServerIDT = Aws::String>
59 template <
typename ArnT = Aws::String>
61 m_arnHasBeenSet =
true;
62 m_arn = std::forward<ArnT>(value);
64 template <
typename ArnT = Aws::String>
66 SetArn(std::forward<ArnT>(value));
77 m_isArchivedHasBeenSet =
true;
91 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
93 m_tagsHasBeenSet =
true;
94 m_tags = std::forward<TagsT>(value);
96 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
98 SetTags(std::forward<TagsT>(value));
101 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
103 m_tagsHasBeenSet =
true;
104 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
114 template <
typename LaunchedInstanceT = LaunchedInstance>
116 m_launchedInstanceHasBeenSet =
true;
117 m_launchedInstance = std::forward<LaunchedInstanceT>(value);
119 template <
typename LaunchedInstanceT = LaunchedInstance>
131 template <
typename DataReplicationInfoT = DataReplicationInfo>
133 m_dataReplicationInfoHasBeenSet =
true;
134 m_dataReplicationInfo = std::forward<DataReplicationInfoT>(value);
136 template <
typename DataReplicationInfoT = DataReplicationInfo>
148 template <
typename LifeCycleT = LifeCycle>
150 m_lifeCycleHasBeenSet =
true;
151 m_lifeCycle = std::forward<LifeCycleT>(value);
153 template <
typename LifeCycleT = LifeCycle>
165 template <
typename SourcePropertiesT = SourceProperties>
167 m_sourcePropertiesHasBeenSet =
true;
168 m_sourceProperties = std::forward<SourcePropertiesT>(value);
170 template <
typename SourcePropertiesT = SourceProperties>
183 m_replicationTypeHasBeenSet =
true;
184 m_replicationType = value;
197 template <
typename VcenterClientIDT = Aws::String>
199 m_vcenterClientIDHasBeenSet =
true;
200 m_vcenterClientID = std::forward<VcenterClientIDT>(value);
202 template <
typename VcenterClientIDT = Aws::String>
214 template <
typename ApplicationIDT = Aws::String>
216 m_applicationIDHasBeenSet =
true;
217 m_applicationID = std::forward<ApplicationIDT>(value);
219 template <
typename ApplicationIDT = Aws::String>
231 template <
typename UserProv
idedIDT = Aws::String>
233 m_userProvidedIDHasBeenSet =
true;
234 m_userProvidedID = std::forward<UserProvidedIDT>(value);
236 template <
typename UserProv
idedIDT = Aws::String>
248 template <
typename FqdnForActionFrameworkT = Aws::String>
250 m_fqdnForActionFrameworkHasBeenSet =
true;
251 m_fqdnForActionFramework = std::forward<FqdnForActionFrameworkT>(value);
253 template <
typename FqdnForActionFrameworkT = Aws::String>
265 template <
typename ConnectorActionT = SourceServerConnectorAction>
267 m_connectorActionHasBeenSet =
true;
268 m_connectorAction = std::forward<ConnectorActionT>(value);
270 template <
typename ConnectorActionT = SourceServerConnectorAction>
280 template <
typename RequestIdT = Aws::String>
282 m_requestIdHasBeenSet =
true;
283 m_requestId = std::forward<RequestIdT>(value);
285 template <
typename RequestIdT = Aws::String>
298 bool m_isArchived{
false};
302 LaunchedInstance m_launchedInstance;
304 DataReplicationInfo m_dataReplicationInfo;
306 LifeCycle m_lifeCycle;
308 SourceProperties m_sourceProperties;
320 SourceServerConnectorAction m_connectorAction;
324 bool m_sourceServerIDHasBeenSet =
false;
325 bool m_arnHasBeenSet =
false;
326 bool m_isArchivedHasBeenSet =
false;
327 bool m_tagsHasBeenSet =
false;
328 bool m_launchedInstanceHasBeenSet =
false;
329 bool m_dataReplicationInfoHasBeenSet =
false;
330 bool m_lifeCycleHasBeenSet =
false;
331 bool m_sourcePropertiesHasBeenSet =
false;
332 bool m_replicationTypeHasBeenSet =
false;
333 bool m_vcenterClientIDHasBeenSet =
false;
334 bool m_applicationIDHasBeenSet =
false;
335 bool m_userProvidedIDHasBeenSet =
false;
336 bool m_fqdnForActionFrameworkHasBeenSet =
false;
337 bool m_connectorActionHasBeenSet =
false;
338 bool m_requestIdHasBeenSet =
false;
DisconnectFromServiceResult & WithSourceProperties(SourcePropertiesT &&value)
const SourceServerConnectorAction & GetConnectorAction() const
DisconnectFromServiceResult & WithUserProvidedID(UserProvidedIDT &&value)
void SetLifeCycle(LifeCycleT &&value)
const Aws::String & GetRequestId() const
DisconnectFromServiceResult & WithRequestId(RequestIdT &&value)
void SetIsArchived(bool value)
DisconnectFromServiceResult & WithDataReplicationInfo(DataReplicationInfoT &&value)
DisconnectFromServiceResult & WithLifeCycle(LifeCycleT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DisconnectFromServiceResult & WithIsArchived(bool value)
const Aws::String & GetUserProvidedID() const
void SetReplicationType(ReplicationType value)
void SetArn(ArnT &&value)
DisconnectFromServiceResult & WithFqdnForActionFramework(FqdnForActionFrameworkT &&value)
const LifeCycle & GetLifeCycle() const
void SetUserProvidedID(UserProvidedIDT &&value)
AWS_MGN_API DisconnectFromServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisconnectFromServiceResult & WithConnectorAction(ConnectorActionT &&value)
DisconnectFromServiceResult & WithSourceServerID(SourceServerIDT &&value)
const LaunchedInstance & GetLaunchedInstance() const
void SetDataReplicationInfo(DataReplicationInfoT &&value)
const Aws::String & GetFqdnForActionFramework() const
ReplicationType GetReplicationType() const
void SetSourceServerID(SourceServerIDT &&value)
DisconnectFromServiceResult & WithArn(ArnT &&value)
void SetApplicationID(ApplicationIDT &&value)
const Aws::String & GetVcenterClientID() const
void SetVcenterClientID(VcenterClientIDT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const DataReplicationInfo & GetDataReplicationInfo() const
bool GetIsArchived() const
DisconnectFromServiceResult & WithVcenterClientID(VcenterClientIDT &&value)
void SetLaunchedInstance(LaunchedInstanceT &&value)
void SetTags(TagsT &&value)
void SetFqdnForActionFramework(FqdnForActionFrameworkT &&value)
DisconnectFromServiceResult & WithLaunchedInstance(LaunchedInstanceT &&value)
void SetSourceProperties(SourcePropertiesT &&value)
DisconnectFromServiceResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_MGN_API DisconnectFromServiceResult()=default
AWS_MGN_API DisconnectFromServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisconnectFromServiceResult & WithReplicationType(ReplicationType value)
DisconnectFromServiceResult & WithTags(TagsT &&value)
const Aws::String & GetSourceServerID() const
void SetConnectorAction(ConnectorActionT &&value)
const Aws::String & GetArn() const
DisconnectFromServiceResult & WithApplicationID(ApplicationIDT &&value)
void SetRequestId(RequestIdT &&value)
const SourceProperties & GetSourceProperties() const
const Aws::String & GetApplicationID() const
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