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>
51 inline void SetAgentVersion(
const char* value) { m_agentVersionHasBeenSet =
true; m_agentVersion.assign(value); }
64 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
65 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
115 inline void SetRecoveryInstanceId(
const char* value) { m_recoveryInstanceIdHasBeenSet =
true; m_recoveryInstanceId.assign(value); }
170 inline void SetSourceNetworkID(
const char* value) { m_sourceNetworkIDHasBeenSet =
true; m_sourceNetworkID.assign(value); }
196 inline void SetSourceServerID(
const char* value) { m_sourceServerIDHasBeenSet =
true; m_sourceServerID.assign(value); }
230 inline SourceServer&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
239 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
247 bool m_agentVersionHasBeenSet =
false;
250 bool m_arnHasBeenSet =
false;
253 bool m_dataReplicationInfoHasBeenSet =
false;
256 bool m_lastLaunchResultHasBeenSet =
false;
259 bool m_lifeCycleHasBeenSet =
false;
262 bool m_recoveryInstanceIdHasBeenSet =
false;
265 bool m_replicationDirectionHasBeenSet =
false;
268 bool m_reversedDirectionSourceServerArnHasBeenSet =
false;
271 bool m_sourceCloudPropertiesHasBeenSet =
false;
274 bool m_sourceNetworkIDHasBeenSet =
false;
277 bool m_sourcePropertiesHasBeenSet =
false;
280 bool m_sourceServerIDHasBeenSet =
false;
283 bool m_stagingAreaHasBeenSet =
false;
286 bool m_tagsHasBeenSet =
false;
289 bool m_requestIdHasBeenSet =
false;
AWS_DRS_API SourceServer()
void SetRecoveryInstanceId(Aws::String &&value)
const Aws::String & GetSourceServerID() const
SourceServer & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetSourceProperties(const SourceProperties &value)
void SetRequestId(const char *value)
SourceServer & WithReplicationDirection(ReplicationDirection &&value)
SourceServer & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
SourceServer & WithSourceProperties(SourceProperties &&value)
bool ReplicationDirectionHasBeenSet() const
SourceServer & AddTags(const char *key, const char *value)
bool RequestIdHasBeenSet() const
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
SourceServer & AddTags(const Aws::String &key, const Aws::String &value)
bool SourcePropertiesHasBeenSet() const
SourceServer & AddTags(const Aws::String &key, Aws::String &&value)
bool ArnHasBeenSet() const
SourceServer & WithRequestId(const char *value)
void SetSourceServerID(Aws::String &&value)
void SetRecoveryInstanceId(const char *value)
void SetLifeCycle(LifeCycle &&value)
SourceServer & WithSourceServerID(const Aws::String &value)
bool LastLaunchResultHasBeenSet() const
void SetSourceCloudProperties(SourceCloudProperties &&value)
SourceServer & WithLastLaunchResult(const LastLaunchResult &value)
void SetSourceProperties(SourceProperties &&value)
SourceServer & AddTags(Aws::String &&key, Aws::String &&value)
void SetSourceCloudProperties(const SourceCloudProperties &value)
SourceServer & WithSourceProperties(const SourceProperties &value)
SourceServer & WithSourceCloudProperties(const SourceCloudProperties &value)
SourceServer & WithLifeCycle(LifeCycle &&value)
bool StagingAreaHasBeenSet() const
void SetArn(const Aws::String &value)
void SetLifeCycle(const LifeCycle &value)
SourceServer & WithSourceNetworkID(const Aws::String &value)
bool ReversedDirectionSourceServerArnHasBeenSet() const
const Aws::String & GetRecoveryInstanceId() const
const Aws::String & GetSourceNetworkID() const
bool TagsHasBeenSet() const
SourceServer & WithStagingArea(const StagingArea &value)
const SourceCloudProperties & GetSourceCloudProperties() const
SourceServer & WithSourceServerID(Aws::String &&value)
SourceServer & WithReversedDirectionSourceServerArn(Aws::String &&value)
void SetReplicationDirection(const ReplicationDirection &value)
void SetLastLaunchResult(LastLaunchResult &&value)
void SetReversedDirectionSourceServerArn(Aws::String &&value)
SourceServer & WithSourceCloudProperties(SourceCloudProperties &&value)
const Aws::String & GetAgentVersion() const
void SetSourceServerID(const char *value)
SourceServer & WithAgentVersion(Aws::String &&value)
void SetAgentVersion(const Aws::String &value)
void SetSourceNetworkID(const char *value)
const StagingArea & GetStagingArea() const
void SetReversedDirectionSourceServerArn(const Aws::String &value)
bool SourceCloudPropertiesHasBeenSet() const
const LifeCycle & GetLifeCycle() const
SourceServer & WithSourceServerID(const char *value)
const Aws::String & GetReversedDirectionSourceServerArn() const
SourceServer & WithRequestId(const Aws::String &value)
SourceServer & WithDataReplicationInfo(const DataReplicationInfo &value)
SourceServer & WithRecoveryInstanceId(const char *value)
SourceServer & WithSourceNetworkID(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetRequestId(const Aws::String &value)
void SetAgentVersion(const char *value)
const DataReplicationInfo & GetDataReplicationInfo() const
void SetStagingArea(StagingArea &&value)
SourceServer & WithReversedDirectionSourceServerArn(const char *value)
SourceServer & WithDataReplicationInfo(DataReplicationInfo &&value)
bool RecoveryInstanceIdHasBeenSet() const
bool DataReplicationInfoHasBeenSet() const
SourceServer & WithReversedDirectionSourceServerArn(const Aws::String &value)
SourceServer & WithArn(const char *value)
SourceServer & WithReplicationDirection(const ReplicationDirection &value)
SourceServer & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
SourceServer & WithArn(const Aws::String &value)
SourceServer & WithRecoveryInstanceId(Aws::String &&value)
AWS_DRS_API SourceServer & operator=(Aws::Utils::Json::JsonView jsonValue)
const SourceProperties & GetSourceProperties() const
SourceServer & WithStagingArea(StagingArea &&value)
SourceServer & WithAgentVersion(const Aws::String &value)
SourceServer & WithLifeCycle(const LifeCycle &value)
SourceServer & WithAgentVersion(const char *value)
void SetSourceServerID(const Aws::String &value)
SourceServer & WithSourceNetworkID(const char *value)
bool LifeCycleHasBeenSet() const
SourceServer & AddTags(Aws::String &&key, const char *value)
bool SourceServerIDHasBeenSet() const
SourceServer & WithRequestId(Aws::String &&value)
void SetRequestId(Aws::String &&value)
void SetAgentVersion(Aws::String &&value)
SourceServer & AddTags(Aws::String &&key, const Aws::String &value)
AWS_DRS_API SourceServer(Aws::Utils::Json::JsonView jsonValue)
void SetReversedDirectionSourceServerArn(const char *value)
SourceServer & WithRecoveryInstanceId(const Aws::String &value)
void SetArn(const char *value)
SourceServer & WithArn(Aws::String &&value)
void SetSourceNetworkID(Aws::String &&value)
void SetSourceNetworkID(const Aws::String &value)
const Aws::String & GetArn() const
void SetRecoveryInstanceId(const Aws::String &value)
void SetDataReplicationInfo(const DataReplicationInfo &value)
const ReplicationDirection & GetReplicationDirection() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetStagingArea(const StagingArea &value)
void SetLastLaunchResult(const LastLaunchResult &value)
void SetArn(Aws::String &&value)
bool SourceNetworkIDHasBeenSet() const
void SetReplicationDirection(ReplicationDirection &&value)
const LastLaunchResult & GetLastLaunchResult() const
SourceServer & WithLastLaunchResult(LastLaunchResult &&value)
bool AgentVersionHasBeenSet() const
const Aws::String & GetRequestId() const
void SetDataReplicationInfo(DataReplicationInfo &&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