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>
49 template<
typename AgentVersionT = Aws::String>
50 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet =
true; m_agentVersion = std::forward<AgentVersionT>(value); }
51 template<
typename AgentVersionT = Aws::String>
61 template<
typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
63 template<
typename ArnT = Aws::String>
73 template<
typename DataReplicationInfoT = DataReplicationInfo>
74 void SetDataReplicationInfo(DataReplicationInfoT&& value) { m_dataReplicationInfoHasBeenSet =
true; m_dataReplicationInfo = std::forward<DataReplicationInfoT>(value); }
75 template<
typename DataReplicationInfoT = DataReplicationInfo>
95 template<
typename LifeCycleT = LifeCycle>
96 void SetLifeCycle(LifeCycleT&& value) { m_lifeCycleHasBeenSet =
true; m_lifeCycle = std::forward<LifeCycleT>(value); }
97 template<
typename LifeCycleT = LifeCycle>
107 template<
typename RecoveryInstanceIdT = Aws::String>
108 void SetRecoveryInstanceId(RecoveryInstanceIdT&& value) { m_recoveryInstanceIdHasBeenSet =
true; m_recoveryInstanceId = std::forward<RecoveryInstanceIdT>(value); }
109 template<
typename RecoveryInstanceIdT = Aws::String>
131 template<
typename ReversedDirectionSourceServerArnT = Aws::String>
132 void SetReversedDirectionSourceServerArn(ReversedDirectionSourceServerArnT&& value) { m_reversedDirectionSourceServerArnHasBeenSet =
true; m_reversedDirectionSourceServerArn = std::forward<ReversedDirectionSourceServerArnT>(value); }
133 template<
typename ReversedDirectionSourceServerArnT = Aws::String>
143 template<
typename SourceCloudPropertiesT = SourceCloudProperties>
144 void SetSourceCloudProperties(SourceCloudPropertiesT&& value) { m_sourceCloudPropertiesHasBeenSet =
true; m_sourceCloudProperties = std::forward<SourceCloudPropertiesT>(value); }
145 template<
typename SourceCloudPropertiesT = SourceCloudProperties>
156 template<
typename SourceNetworkIDT = Aws::String>
157 void SetSourceNetworkID(SourceNetworkIDT&& value) { m_sourceNetworkIDHasBeenSet =
true; m_sourceNetworkID = std::forward<SourceNetworkIDT>(value); }
158 template<
typename SourceNetworkIDT = Aws::String>
168 template<
typename SourcePropertiesT = SourceProperties>
169 void SetSourceProperties(SourcePropertiesT&& value) { m_sourcePropertiesHasBeenSet =
true; m_sourceProperties = std::forward<SourcePropertiesT>(value); }
170 template<
typename SourcePropertiesT = SourceProperties>
180 template<
typename SourceServerIDT = Aws::String>
181 void SetSourceServerID(SourceServerIDT&& value) { m_sourceServerIDHasBeenSet =
true; m_sourceServerID = std::forward<SourceServerIDT>(value); }
182 template<
typename SourceServerIDT = Aws::String>
192 template<
typename StagingAreaT = StagingArea>
193 void SetStagingArea(StagingAreaT&& value) { m_stagingAreaHasBeenSet =
true; m_stagingArea = std::forward<StagingAreaT>(value); }
194 template<
typename StagingAreaT = StagingArea>
204 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
205 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
206 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
208 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
210 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
218 template<
typename RequestIdT = Aws::String>
219 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
220 template<
typename RequestIdT = Aws::String>
226 bool m_agentVersionHasBeenSet =
false;
229 bool m_arnHasBeenSet =
false;
232 bool m_dataReplicationInfoHasBeenSet =
false;
235 bool m_lastLaunchResultHasBeenSet =
false;
237 LifeCycle m_lifeCycle;
238 bool m_lifeCycleHasBeenSet =
false;
241 bool m_recoveryInstanceIdHasBeenSet =
false;
244 bool m_replicationDirectionHasBeenSet =
false;
247 bool m_reversedDirectionSourceServerArnHasBeenSet =
false;
249 SourceCloudProperties m_sourceCloudProperties;
250 bool m_sourceCloudPropertiesHasBeenSet =
false;
253 bool m_sourceNetworkIDHasBeenSet =
false;
255 SourceProperties m_sourceProperties;
256 bool m_sourcePropertiesHasBeenSet =
false;
259 bool m_sourceServerIDHasBeenSet =
false;
261 StagingArea m_stagingArea;
262 bool m_stagingAreaHasBeenSet =
false;
265 bool m_tagsHasBeenSet =
false;
268 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