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/drs/Drs_EXPORTS.h>
11#include <aws/drs/model/DataReplicationInfo.h>
12#include <aws/drs/model/LastLaunchResult.h>
13#include <aws/drs/model/LifeCycle.h>
14#include <aws/drs/model/ReplicationDirection.h>
15#include <aws/drs/model/SourceCloudProperties.h>
16#include <aws/drs/model/SourceProperties.h>
17#include <aws/drs/model/StagingArea.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
43 template <
typename SourceServerIDT = Aws::String>
45 m_sourceServerIDHasBeenSet =
true;
46 m_sourceServerID = std::forward<SourceServerIDT>(value);
48 template <
typename SourceServerIDT = Aws::String>
60 template <
typename ArnT = Aws::String>
62 m_arnHasBeenSet =
true;
63 m_arn = std::forward<ArnT>(value);
65 template <
typename ArnT = Aws::String>
67 SetArn(std::forward<ArnT>(value));
77 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
79 m_tagsHasBeenSet =
true;
80 m_tags = std::forward<TagsT>(value);
82 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
84 SetTags(std::forward<TagsT>(value));
87 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
89 m_tagsHasBeenSet =
true;
90 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
100 template <
typename RecoveryInstanceIdT = Aws::String>
102 m_recoveryInstanceIdHasBeenSet =
true;
103 m_recoveryInstanceId = std::forward<RecoveryInstanceIdT>(value);
105 template <
typename RecoveryInstanceIdT = Aws::String>
118 m_lastLaunchResultHasBeenSet =
true;
119 m_lastLaunchResult = value;
132 template <
typename DataReplicationInfoT = DataReplicationInfo>
134 m_dataReplicationInfoHasBeenSet =
true;
135 m_dataReplicationInfo = std::forward<DataReplicationInfoT>(value);
137 template <
typename DataReplicationInfoT = DataReplicationInfo>
149 template <
typename LifeCycleT = LifeCycle>
151 m_lifeCycleHasBeenSet =
true;
152 m_lifeCycle = std::forward<LifeCycleT>(value);
154 template <
typename LifeCycleT = LifeCycle>
166 template <
typename SourcePropertiesT = SourceProperties>
168 m_sourcePropertiesHasBeenSet =
true;
169 m_sourceProperties = std::forward<SourcePropertiesT>(value);
171 template <
typename SourcePropertiesT = SourceProperties>
183 template <
typename StagingAreaT = StagingArea>
185 m_stagingAreaHasBeenSet =
true;
186 m_stagingArea = std::forward<StagingAreaT>(value);
188 template <
typename StagingAreaT = StagingArea>
200 template <
typename SourceCloudPropertiesT = SourceCloudProperties>
202 m_sourceCloudPropertiesHasBeenSet =
true;
203 m_sourceCloudProperties = std::forward<SourceCloudPropertiesT>(value);
205 template <
typename SourceCloudPropertiesT = SourceCloudProperties>
218 m_replicationDirectionHasBeenSet =
true;
219 m_replicationDirection = value;
234 template <
typename ReversedDirectionSourceServerArnT = Aws::String>
236 m_reversedDirectionSourceServerArnHasBeenSet =
true;
237 m_reversedDirectionSourceServerArn = std::forward<ReversedDirectionSourceServerArnT>(value);
239 template <
typename ReversedDirectionSourceServerArnT = Aws::String>
252 template <
typename SourceNetworkIDT = Aws::String>
254 m_sourceNetworkIDHasBeenSet =
true;
255 m_sourceNetworkID = std::forward<SourceNetworkIDT>(value);
257 template <
typename SourceNetworkIDT = Aws::String>
269 template <
typename AgentVersionT = Aws::String>
271 m_agentVersionHasBeenSet =
true;
272 m_agentVersion = std::forward<AgentVersionT>(value);
274 template <
typename AgentVersionT = Aws::String>
284 template <
typename RequestIdT = Aws::String>
286 m_requestIdHasBeenSet =
true;
287 m_requestId = std::forward<RequestIdT>(value);
289 template <
typename RequestIdT = Aws::String>
308 DataReplicationInfo m_dataReplicationInfo;
310 LifeCycle m_lifeCycle;
312 SourceProperties m_sourceProperties;
314 StagingArea m_stagingArea;
316 SourceCloudProperties m_sourceCloudProperties;
328 bool m_sourceServerIDHasBeenSet =
false;
329 bool m_arnHasBeenSet =
false;
330 bool m_tagsHasBeenSet =
false;
331 bool m_recoveryInstanceIdHasBeenSet =
false;
332 bool m_lastLaunchResultHasBeenSet =
false;
333 bool m_dataReplicationInfoHasBeenSet =
false;
334 bool m_lifeCycleHasBeenSet =
false;
335 bool m_sourcePropertiesHasBeenSet =
false;
336 bool m_stagingAreaHasBeenSet =
false;
337 bool m_sourceCloudPropertiesHasBeenSet =
false;
338 bool m_replicationDirectionHasBeenSet =
false;
339 bool m_reversedDirectionSourceServerArnHasBeenSet =
false;
340 bool m_sourceNetworkIDHasBeenSet =
false;
341 bool m_agentVersionHasBeenSet =
false;
342 bool m_requestIdHasBeenSet =
false;
LastLaunchResult GetLastLaunchResult() const
DisconnectSourceServerResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetAgentVersion(AgentVersionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetAgentVersion() const
const Aws::String & GetSourceServerID() const
DisconnectSourceServerResult & WithStagingArea(StagingAreaT &&value)
const Aws::String & GetRequestId() const
ReplicationDirection GetReplicationDirection() const
const Aws::String & GetArn() const
void SetDataReplicationInfo(DataReplicationInfoT &&value)
void SetLastLaunchResult(LastLaunchResult value)
AWS_DRS_API DisconnectSourceServerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetSourceNetworkID() const
AWS_DRS_API DisconnectSourceServerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSourceProperties(SourcePropertiesT &&value)
void SetRecoveryInstanceId(RecoveryInstanceIdT &&value)
DisconnectSourceServerResult & WithDataReplicationInfo(DataReplicationInfoT &&value)
DisconnectSourceServerResult & WithArn(ArnT &&value)
void SetSourceCloudProperties(SourceCloudPropertiesT &&value)
void SetStagingArea(StagingAreaT &&value)
DisconnectSourceServerResult & WithSourceCloudProperties(SourceCloudPropertiesT &&value)
DisconnectSourceServerResult & WithLifeCycle(LifeCycleT &&value)
DisconnectSourceServerResult & WithTags(TagsT &&value)
const SourceCloudProperties & GetSourceCloudProperties() const
DisconnectSourceServerResult & WithSourceNetworkID(SourceNetworkIDT &&value)
void SetReversedDirectionSourceServerArn(ReversedDirectionSourceServerArnT &&value)
void SetTags(TagsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetReversedDirectionSourceServerArn() const
void SetLifeCycle(LifeCycleT &&value)
DisconnectSourceServerResult & WithSourceServerID(SourceServerIDT &&value)
DisconnectSourceServerResult & WithReversedDirectionSourceServerArn(ReversedDirectionSourceServerArnT &&value)
DisconnectSourceServerResult & WithAgentVersion(AgentVersionT &&value)
DisconnectSourceServerResult & WithSourceProperties(SourcePropertiesT &&value)
const DataReplicationInfo & GetDataReplicationInfo() const
const SourceProperties & GetSourceProperties() const
void SetSourceServerID(SourceServerIDT &&value)
DisconnectSourceServerResult & WithLastLaunchResult(LastLaunchResult value)
DisconnectSourceServerResult & WithReplicationDirection(ReplicationDirection value)
void SetReplicationDirection(ReplicationDirection value)
AWS_DRS_API DisconnectSourceServerResult()=default
void SetSourceNetworkID(SourceNetworkIDT &&value)
DisconnectSourceServerResult & WithRecoveryInstanceId(RecoveryInstanceIdT &&value)
void SetRequestId(RequestIdT &&value)
const LifeCycle & GetLifeCycle() const
void SetArn(ArnT &&value)
const StagingArea & GetStagingArea() const
const Aws::String & GetRecoveryInstanceId() const
DisconnectSourceServerResult & WithRequestId(RequestIdT &&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