7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/Drs_EXPORTS.h>
10#include <aws/drs/model/DataReplicationInfo.h>
11#include <aws/drs/model/LastLaunchResult.h>
12#include <aws/drs/model/LifeCycle.h>
13#include <aws/drs/model/ReplicationDirection.h>
14#include <aws/drs/model/SourceCloudProperties.h>
15#include <aws/drs/model/SourceProperties.h>
16#include <aws/drs/model/StagingArea.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
42 template <
typename AgentVersionT = Aws::String>
44 m_agentVersionHasBeenSet =
true;
45 m_agentVersion = std::forward<AgentVersionT>(value);
47 template <
typename AgentVersionT = 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));
76 template <
typename DataReplicationInfoT = DataReplicationInfo>
78 m_dataReplicationInfoHasBeenSet =
true;
79 m_dataReplicationInfo = std::forward<DataReplicationInfoT>(value);
81 template <
typename DataReplicationInfoT = DataReplicationInfo>
94 m_lastLaunchResultHasBeenSet =
true;
95 m_lastLaunchResult = value;
108 template <
typename LifeCycleT = LifeCycle>
110 m_lifeCycleHasBeenSet =
true;
111 m_lifeCycle = std::forward<LifeCycleT>(value);
113 template <
typename LifeCycleT = LifeCycle>
125 template <
typename RecoveryInstanceIdT = Aws::String>
127 m_recoveryInstanceIdHasBeenSet =
true;
128 m_recoveryInstanceId = std::forward<RecoveryInstanceIdT>(value);
130 template <
typename RecoveryInstanceIdT = Aws::String>
143 m_replicationDirectionHasBeenSet =
true;
144 m_replicationDirection = value;
159 template <
typename ReversedDirectionSourceServerArnT = Aws::String>
161 m_reversedDirectionSourceServerArnHasBeenSet =
true;
162 m_reversedDirectionSourceServerArn = std::forward<ReversedDirectionSourceServerArnT>(value);
164 template <
typename ReversedDirectionSourceServerArnT = Aws::String>
176 template <
typename SourceCloudPropertiesT = SourceCloudProperties>
178 m_sourceCloudPropertiesHasBeenSet =
true;
179 m_sourceCloudProperties = std::forward<SourceCloudPropertiesT>(value);
181 template <
typename SourceCloudPropertiesT = SourceCloudProperties>
194 template <
typename SourceNetworkIDT = Aws::String>
196 m_sourceNetworkIDHasBeenSet =
true;
197 m_sourceNetworkID = std::forward<SourceNetworkIDT>(value);
199 template <
typename SourceNetworkIDT = Aws::String>
211 template <
typename SourcePropertiesT = SourceProperties>
213 m_sourcePropertiesHasBeenSet =
true;
214 m_sourceProperties = std::forward<SourcePropertiesT>(value);
216 template <
typename SourcePropertiesT = SourceProperties>
228 template <
typename SourceServerIDT = Aws::String>
230 m_sourceServerIDHasBeenSet =
true;
231 m_sourceServerID = std::forward<SourceServerIDT>(value);
233 template <
typename SourceServerIDT = Aws::String>
245 template <
typename StagingAreaT = StagingArea>
247 m_stagingAreaHasBeenSet =
true;
248 m_stagingArea = std::forward<StagingAreaT>(value);
250 template <
typename StagingAreaT = StagingArea>
262 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
264 m_tagsHasBeenSet =
true;
265 m_tags = std::forward<TagsT>(value);
267 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
269 SetTags(std::forward<TagsT>(value));
272 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
274 m_tagsHasBeenSet =
true;
275 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
283 template <
typename RequestIdT = Aws::String>
285 m_requestIdHasBeenSet =
true;
286 m_requestId = std::forward<RequestIdT>(value);
288 template <
typename RequestIdT = Aws::String>
303 LifeCycle m_lifeCycle;
311 SourceCloudProperties m_sourceCloudProperties;
315 SourceProperties m_sourceProperties;
319 StagingArea m_stagingArea;
324 bool m_agentVersionHasBeenSet =
false;
325 bool m_arnHasBeenSet =
false;
326 bool m_dataReplicationInfoHasBeenSet =
false;
327 bool m_lastLaunchResultHasBeenSet =
false;
328 bool m_lifeCycleHasBeenSet =
false;
329 bool m_recoveryInstanceIdHasBeenSet =
false;
330 bool m_replicationDirectionHasBeenSet =
false;
331 bool m_reversedDirectionSourceServerArnHasBeenSet =
false;
332 bool m_sourceCloudPropertiesHasBeenSet =
false;
333 bool m_sourceNetworkIDHasBeenSet =
false;
334 bool m_sourcePropertiesHasBeenSet =
false;
335 bool m_sourceServerIDHasBeenSet =
false;
336 bool m_stagingAreaHasBeenSet =
false;
337 bool m_tagsHasBeenSet =
false;
338 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)
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