7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/model/DataReplicationInfo.h>
10#include <aws/drs/model/LastLaunchResult.h>
11#include <aws/drs/model/LifeCycle.h>
12#include <aws/drs/model/ReplicationDirection.h>
13#include <aws/drs/model/SourceCloudProperties.h>
14#include <aws/drs/model/SourceProperties.h>
15#include <aws/drs/model/StagingArea.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
21template<
typename RESULT_TYPE>
22class AmazonWebServiceResult;
48 template<
typename AgentVersionT = Aws::String>
49 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet =
true; m_agentVersion = std::forward<AgentVersionT>(value); }
50 template<
typename AgentVersionT = Aws::String>
59 template<
typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
61 template<
typename ArnT = Aws::String>
70 template<
typename DataReplicationInfoT = DataReplicationInfo>
71 void SetDataReplicationInfo(DataReplicationInfoT&& value) { m_dataReplicationInfoHasBeenSet =
true; m_dataReplicationInfo = std::forward<DataReplicationInfoT>(value); }
72 template<
typename DataReplicationInfoT = DataReplicationInfo>
90 template<
typename LifeCycleT = LifeCycle>
91 void SetLifeCycle(LifeCycleT&& value) { m_lifeCycleHasBeenSet =
true; m_lifeCycle = std::forward<LifeCycleT>(value); }
92 template<
typename LifeCycleT = LifeCycle>
101 template<
typename RecoveryInstanceIdT = Aws::String>
102 void SetRecoveryInstanceId(RecoveryInstanceIdT&& value) { m_recoveryInstanceIdHasBeenSet =
true; m_recoveryInstanceId = std::forward<RecoveryInstanceIdT>(value); }
103 template<
typename RecoveryInstanceIdT = Aws::String>
123 template<
typename ReversedDirectionSourceServerArnT = Aws::String>
124 void SetReversedDirectionSourceServerArn(ReversedDirectionSourceServerArnT&& value) { m_reversedDirectionSourceServerArnHasBeenSet =
true; m_reversedDirectionSourceServerArn = std::forward<ReversedDirectionSourceServerArnT>(value); }
125 template<
typename ReversedDirectionSourceServerArnT = Aws::String>
134 template<
typename SourceCloudPropertiesT = SourceCloudProperties>
135 void SetSourceCloudProperties(SourceCloudPropertiesT&& value) { m_sourceCloudPropertiesHasBeenSet =
true; m_sourceCloudProperties = std::forward<SourceCloudPropertiesT>(value); }
136 template<
typename SourceCloudPropertiesT = SourceCloudProperties>
146 template<
typename SourceNetworkIDT = Aws::String>
147 void SetSourceNetworkID(SourceNetworkIDT&& value) { m_sourceNetworkIDHasBeenSet =
true; m_sourceNetworkID = std::forward<SourceNetworkIDT>(value); }
148 template<
typename SourceNetworkIDT = Aws::String>
157 template<
typename SourcePropertiesT = SourceProperties>
158 void SetSourceProperties(SourcePropertiesT&& value) { m_sourcePropertiesHasBeenSet =
true; m_sourceProperties = std::forward<SourcePropertiesT>(value); }
159 template<
typename SourcePropertiesT = SourceProperties>
168 template<
typename SourceServerIDT = Aws::String>
169 void SetSourceServerID(SourceServerIDT&& value) { m_sourceServerIDHasBeenSet =
true; m_sourceServerID = std::forward<SourceServerIDT>(value); }
170 template<
typename SourceServerIDT = Aws::String>
179 template<
typename StagingAreaT = StagingArea>
180 void SetStagingArea(StagingAreaT&& value) { m_stagingAreaHasBeenSet =
true; m_stagingArea = std::forward<StagingAreaT>(value); }
181 template<
typename StagingAreaT = StagingArea>
190 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
191 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
192 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
194 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
196 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
203 template<
typename RequestIdT = Aws::String>
204 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
205 template<
typename RequestIdT = Aws::String>
211 bool m_agentVersionHasBeenSet =
false;
214 bool m_arnHasBeenSet =
false;
217 bool m_dataReplicationInfoHasBeenSet =
false;
220 bool m_lastLaunchResultHasBeenSet =
false;
222 LifeCycle m_lifeCycle;
223 bool m_lifeCycleHasBeenSet =
false;
226 bool m_recoveryInstanceIdHasBeenSet =
false;
229 bool m_replicationDirectionHasBeenSet =
false;
232 bool m_reversedDirectionSourceServerArnHasBeenSet =
false;
234 SourceCloudProperties m_sourceCloudProperties;
235 bool m_sourceCloudPropertiesHasBeenSet =
false;
238 bool m_sourceNetworkIDHasBeenSet =
false;
240 SourceProperties m_sourceProperties;
241 bool m_sourcePropertiesHasBeenSet =
false;
244 bool m_sourceServerIDHasBeenSet =
false;
246 StagingArea m_stagingArea;
247 bool m_stagingAreaHasBeenSet =
false;
250 bool m_tagsHasBeenSet =
false;
253 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