7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/Mgn_EXPORTS.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/mgn/model/SourceServerConnectorAction.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
41 template <
typename SourceServerIDT = Aws::String>
43 m_sourceServerIDHasBeenSet =
true;
44 m_sourceServerID = std::forward<SourceServerIDT>(value);
46 template <
typename SourceServerIDT = Aws::String>
58 template <
typename ArnT = Aws::String>
60 m_arnHasBeenSet =
true;
61 m_arn = std::forward<ArnT>(value);
63 template <
typename ArnT = Aws::String>
65 SetArn(std::forward<ArnT>(value));
76 m_isArchivedHasBeenSet =
true;
90 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
92 m_tagsHasBeenSet =
true;
93 m_tags = std::forward<TagsT>(value);
95 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
97 SetTags(std::forward<TagsT>(value));
100 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
102 m_tagsHasBeenSet =
true;
103 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
113 template <
typename LaunchedInstanceT = LaunchedInstance>
115 m_launchedInstanceHasBeenSet =
true;
116 m_launchedInstance = std::forward<LaunchedInstanceT>(value);
118 template <
typename LaunchedInstanceT = LaunchedInstance>
130 template <
typename DataReplicationInfoT = DataReplicationInfo>
132 m_dataReplicationInfoHasBeenSet =
true;
133 m_dataReplicationInfo = std::forward<DataReplicationInfoT>(value);
135 template <
typename DataReplicationInfoT = DataReplicationInfo>
147 template <
typename LifeCycleT = LifeCycle>
149 m_lifeCycleHasBeenSet =
true;
150 m_lifeCycle = std::forward<LifeCycleT>(value);
152 template <
typename LifeCycleT = LifeCycle>
164 template <
typename SourcePropertiesT = SourceProperties>
166 m_sourcePropertiesHasBeenSet =
true;
167 m_sourceProperties = std::forward<SourcePropertiesT>(value);
169 template <
typename SourcePropertiesT = SourceProperties>
182 m_replicationTypeHasBeenSet =
true;
183 m_replicationType = value;
196 template <
typename VcenterClientIDT = Aws::String>
198 m_vcenterClientIDHasBeenSet =
true;
199 m_vcenterClientID = std::forward<VcenterClientIDT>(value);
201 template <
typename VcenterClientIDT = Aws::String>
213 template <
typename ApplicationIDT = Aws::String>
215 m_applicationIDHasBeenSet =
true;
216 m_applicationID = std::forward<ApplicationIDT>(value);
218 template <
typename ApplicationIDT = Aws::String>
230 template <
typename UserProv
idedIDT = Aws::String>
232 m_userProvidedIDHasBeenSet =
true;
233 m_userProvidedID = std::forward<UserProvidedIDT>(value);
235 template <
typename UserProv
idedIDT = Aws::String>
247 template <
typename FqdnForActionFrameworkT = Aws::String>
249 m_fqdnForActionFrameworkHasBeenSet =
true;
250 m_fqdnForActionFramework = std::forward<FqdnForActionFrameworkT>(value);
252 template <
typename FqdnForActionFrameworkT = Aws::String>
264 template <
typename ConnectorActionT = SourceServerConnectorAction>
266 m_connectorActionHasBeenSet =
true;
267 m_connectorAction = std::forward<ConnectorActionT>(value);
269 template <
typename ConnectorActionT = SourceServerConnectorAction>
279 template <
typename RequestIdT = Aws::String>
281 m_requestIdHasBeenSet =
true;
282 m_requestId = std::forward<RequestIdT>(value);
284 template <
typename RequestIdT = Aws::String>
295 bool m_isArchived{
false};
299 LaunchedInstance m_launchedInstance;
301 DataReplicationInfo m_dataReplicationInfo;
303 LifeCycle m_lifeCycle;
305 SourceProperties m_sourceProperties;
317 SourceServerConnectorAction m_connectorAction;
320 bool m_sourceServerIDHasBeenSet =
false;
321 bool m_arnHasBeenSet =
false;
322 bool m_isArchivedHasBeenSet =
false;
323 bool m_tagsHasBeenSet =
false;
324 bool m_launchedInstanceHasBeenSet =
false;
325 bool m_dataReplicationInfoHasBeenSet =
false;
326 bool m_lifeCycleHasBeenSet =
false;
327 bool m_sourcePropertiesHasBeenSet =
false;
328 bool m_replicationTypeHasBeenSet =
false;
329 bool m_vcenterClientIDHasBeenSet =
false;
330 bool m_applicationIDHasBeenSet =
false;
331 bool m_userProvidedIDHasBeenSet =
false;
332 bool m_fqdnForActionFrameworkHasBeenSet =
false;
333 bool m_connectorActionHasBeenSet =
false;
334 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)
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