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>
43 template <
typename AgentVersionT = Aws::String>
45 m_agentVersionHasBeenSet =
true;
46 m_agentVersion = std::forward<AgentVersionT>(value);
48 template <
typename AgentVersionT = Aws::String>
61 template <
typename ArnT = Aws::String>
63 m_arnHasBeenSet =
true;
64 m_arn = std::forward<ArnT>(value);
66 template <
typename ArnT = Aws::String>
68 SetArn(std::forward<ArnT>(value));
79 template <
typename DataReplicationInfoT = DataReplicationInfo>
81 m_dataReplicationInfoHasBeenSet =
true;
82 m_dataReplicationInfo = std::forward<DataReplicationInfoT>(value);
84 template <
typename DataReplicationInfoT = DataReplicationInfo>
98 m_lastLaunchResultHasBeenSet =
true;
99 m_lastLaunchResult = value;
113 template <
typename LifeCycleT = LifeCycle>
115 m_lifeCycleHasBeenSet =
true;
116 m_lifeCycle = std::forward<LifeCycleT>(value);
118 template <
typename LifeCycleT = LifeCycle>
131 template <
typename RecoveryInstanceIdT = Aws::String>
133 m_recoveryInstanceIdHasBeenSet =
true;
134 m_recoveryInstanceId = std::forward<RecoveryInstanceIdT>(value);
136 template <
typename RecoveryInstanceIdT = Aws::String>
150 m_replicationDirectionHasBeenSet =
true;
151 m_replicationDirection = value;
167 template <
typename ReversedDirectionSourceServerArnT = Aws::String>
169 m_reversedDirectionSourceServerArnHasBeenSet =
true;
170 m_reversedDirectionSourceServerArn = std::forward<ReversedDirectionSourceServerArnT>(value);
172 template <
typename ReversedDirectionSourceServerArnT = Aws::String>
185 template <
typename SourceCloudPropertiesT = SourceCloudProperties>
187 m_sourceCloudPropertiesHasBeenSet =
true;
188 m_sourceCloudProperties = std::forward<SourceCloudPropertiesT>(value);
190 template <
typename SourceCloudPropertiesT = SourceCloudProperties>
204 template <
typename SourceNetworkIDT = Aws::String>
206 m_sourceNetworkIDHasBeenSet =
true;
207 m_sourceNetworkID = std::forward<SourceNetworkIDT>(value);
209 template <
typename SourceNetworkIDT = Aws::String>
222 template <
typename SourcePropertiesT = SourceProperties>
224 m_sourcePropertiesHasBeenSet =
true;
225 m_sourceProperties = std::forward<SourcePropertiesT>(value);
227 template <
typename SourcePropertiesT = SourceProperties>
240 template <
typename SourceServerIDT = Aws::String>
242 m_sourceServerIDHasBeenSet =
true;
243 m_sourceServerID = std::forward<SourceServerIDT>(value);
245 template <
typename SourceServerIDT = Aws::String>
258 template <
typename StagingAreaT = StagingArea>
260 m_stagingAreaHasBeenSet =
true;
261 m_stagingArea = std::forward<StagingAreaT>(value);
263 template <
typename StagingAreaT = StagingArea>
276 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
278 m_tagsHasBeenSet =
true;
279 m_tags = std::forward<TagsT>(value);
281 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
283 SetTags(std::forward<TagsT>(value));
286 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
288 m_tagsHasBeenSet =
true;
289 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
298 template <
typename RequestIdT = Aws::String>
300 m_requestIdHasBeenSet =
true;
301 m_requestId = std::forward<RequestIdT>(value);
303 template <
typename RequestIdT = Aws::String>
318 LifeCycle m_lifeCycle;
326 SourceCloudProperties m_sourceCloudProperties;
330 SourceProperties m_sourceProperties;
334 StagingArea m_stagingArea;
339 bool m_agentVersionHasBeenSet =
false;
340 bool m_arnHasBeenSet =
false;
341 bool m_dataReplicationInfoHasBeenSet =
false;
342 bool m_lastLaunchResultHasBeenSet =
false;
343 bool m_lifeCycleHasBeenSet =
false;
344 bool m_recoveryInstanceIdHasBeenSet =
false;
345 bool m_replicationDirectionHasBeenSet =
false;
346 bool m_reversedDirectionSourceServerArnHasBeenSet =
false;
347 bool m_sourceCloudPropertiesHasBeenSet =
false;
348 bool m_sourceNetworkIDHasBeenSet =
false;
349 bool m_sourcePropertiesHasBeenSet =
false;
350 bool m_sourceServerIDHasBeenSet =
false;
351 bool m_stagingAreaHasBeenSet =
false;
352 bool m_tagsHasBeenSet =
false;
353 bool m_requestIdHasBeenSet =
false;
ReplicationDirection GetReplicationDirection() const
void SetDataReplicationInfo(DataReplicationInfoT &&value)
const Aws::String & GetSourceServerID() const
SourceServer & WithStagingArea(StagingAreaT &&value)
bool ReplicationDirectionHasBeenSet() const
void SetArn(ArnT &&value)
bool RequestIdHasBeenSet() const
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
bool SourcePropertiesHasBeenSet() const
bool ArnHasBeenSet() const
SourceServer & WithSourceNetworkID(SourceNetworkIDT &&value)
bool LastLaunchResultHasBeenSet() const
SourceServer & WithRecoveryInstanceId(RecoveryInstanceIdT &&value)
SourceServer & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool StagingAreaHasBeenSet() const
SourceServer & WithTags(TagsT &&value)
SourceServer & WithArn(ArnT &&value)
SourceServer & WithReplicationDirection(ReplicationDirection value)
bool ReversedDirectionSourceServerArnHasBeenSet() const
const Aws::String & GetRecoveryInstanceId() const
SourceServer & WithRequestId(RequestIdT &&value)
const Aws::String & GetSourceNetworkID() const
bool TagsHasBeenSet() const
void SetRequestId(RequestIdT &&value)
SourceServer & WithSourceCloudProperties(SourceCloudPropertiesT &&value)
SourceServer & WithLastLaunchResult(LastLaunchResult value)
const SourceCloudProperties & GetSourceCloudProperties() const
SourceServer & WithLifeCycle(LifeCycleT &&value)
void SetSourceCloudProperties(SourceCloudPropertiesT &&value)
const Aws::String & GetAgentVersion() const
void SetReplicationDirection(ReplicationDirection value)
const StagingArea & GetStagingArea() const
bool SourceCloudPropertiesHasBeenSet() const
SourceServer & WithDataReplicationInfo(DataReplicationInfoT &&value)
const LifeCycle & GetLifeCycle() const
SourceServer & WithSourceProperties(SourcePropertiesT &&value)
const Aws::String & GetReversedDirectionSourceServerArn() const
SourceServer & WithAgentVersion(AgentVersionT &&value)
void SetAgentVersion(AgentVersionT &&value)
void SetRecoveryInstanceId(RecoveryInstanceIdT &&value)
void SetSourceServerID(SourceServerIDT &&value)
void SetSourceNetworkID(SourceNetworkIDT &&value)
void SetTags(TagsT &&value)
const DataReplicationInfo & GetDataReplicationInfo() const
bool RecoveryInstanceIdHasBeenSet() const
SourceServer & WithSourceServerID(SourceServerIDT &&value)
bool DataReplicationInfoHasBeenSet() const
AWS_DRS_API SourceServer & operator=(Aws::Utils::Json::JsonView jsonValue)
const SourceProperties & GetSourceProperties() const
void SetStagingArea(StagingAreaT &&value)
void SetSourceProperties(SourcePropertiesT &&value)
bool LifeCycleHasBeenSet() const
LastLaunchResult GetLastLaunchResult() const
bool SourceServerIDHasBeenSet() const
void SetLifeCycle(LifeCycleT &&value)
AWS_DRS_API SourceServer(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
SourceServer & WithReversedDirectionSourceServerArn(ReversedDirectionSourceServerArnT &&value)
AWS_DRS_API SourceServer()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool SourceNetworkIDHasBeenSet() const
void SetReversedDirectionSourceServerArn(ReversedDirectionSourceServerArnT &&value)
void SetLastLaunchResult(LastLaunchResult value)
bool AgentVersionHasBeenSet() const
const Aws::String & GetRequestId() 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