7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/model/RecoveryLifeCycle.h>
10#include <aws/drs/model/ReplicationStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
50 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
51 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
66 inline void SetCfnStackName(
const char* value) { m_cfnStackNameHasBeenSet =
true; m_cfnStackName.assign(value); }
93 inline void SetLaunchedVpcID(
const char* value) { m_launchedVpcIDHasBeenSet =
true; m_launchedVpcID.assign(value); }
123 inline void SetReplicationStatusDetails(
const char* value) { m_replicationStatusDetailsHasBeenSet =
true; m_replicationStatusDetails.assign(value); }
137 inline void SetSourceAccountID(
const char* value) { m_sourceAccountIDHasBeenSet =
true; m_sourceAccountID.assign(value); }
151 inline void SetSourceNetworkID(
const char* value) { m_sourceNetworkIDHasBeenSet =
true; m_sourceNetworkID.assign(value); }
165 inline void SetSourceRegion(
const char* value) { m_sourceRegionHasBeenSet =
true; m_sourceRegion.assign(value); }
179 inline void SetSourceVpcID(
const char* value) { m_sourceVpcIDHasBeenSet =
true; m_sourceVpcID.assign(value); }
201 inline SourceNetwork&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
206 bool m_arnHasBeenSet =
false;
209 bool m_cfnStackNameHasBeenSet =
false;
212 bool m_lastRecoveryHasBeenSet =
false;
215 bool m_launchedVpcIDHasBeenSet =
false;
218 bool m_replicationStatusHasBeenSet =
false;
221 bool m_replicationStatusDetailsHasBeenSet =
false;
224 bool m_sourceAccountIDHasBeenSet =
false;
227 bool m_sourceNetworkIDHasBeenSet =
false;
230 bool m_sourceRegionHasBeenSet =
false;
233 bool m_sourceVpcIDHasBeenSet =
false;
236 bool m_tagsHasBeenSet =
false;
void SetLaunchedVpcID(const char *value)
SourceNetwork & WithSourceRegion(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool SourceNetworkIDHasBeenSet() const
void SetSourceNetworkID(const char *value)
SourceNetwork & WithReplicationStatusDetails(const Aws::String &value)
void SetCfnStackName(Aws::String &&value)
SourceNetwork & WithReplicationStatusDetails(Aws::String &&value)
void SetLastRecovery(RecoveryLifeCycle &&value)
void SetArn(Aws::String &&value)
void SetSourceRegion(Aws::String &&value)
void SetLastRecovery(const RecoveryLifeCycle &value)
SourceNetwork & AddTags(Aws::String &&key, const Aws::String &value)
SourceNetwork & WithArn(Aws::String &&value)
SourceNetwork & WithLastRecovery(RecoveryLifeCycle &&value)
bool TagsHasBeenSet() const
void SetCfnStackName(const Aws::String &value)
SourceNetwork & WithSourceAccountID(const char *value)
const Aws::String & GetReplicationStatusDetails() const
SourceNetwork & WithCfnStackName(Aws::String &&value)
SourceNetwork & WithReplicationStatus(const ReplicationStatus &value)
void SetCfnStackName(const char *value)
void SetSourceRegion(const Aws::String &value)
SourceNetwork & WithArn(const Aws::String &value)
AWS_DRS_API SourceNetwork(Aws::Utils::Json::JsonView jsonValue)
SourceNetwork & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetSourceAccountID() const
SourceNetwork & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool ReplicationStatusHasBeenSet() const
SourceNetwork & WithSourceVpcID(Aws::String &&value)
void SetReplicationStatusDetails(Aws::String &&value)
const Aws::String & GetSourceRegion() const
SourceNetwork & WithLastRecovery(const RecoveryLifeCycle &value)
SourceNetwork & AddTags(const char *key, const char *value)
SourceNetwork & AddTags(const char *key, Aws::String &&value)
bool ReplicationStatusDetailsHasBeenSet() const
SourceNetwork & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::String & GetSourceNetworkID() const
SourceNetwork & WithSourceRegion(const Aws::String &value)
SourceNetwork & WithCfnStackName(const char *value)
SourceNetwork & WithSourceRegion(Aws::String &&value)
void SetReplicationStatusDetails(const char *value)
SourceNetwork & WithLaunchedVpcID(const char *value)
void SetSourceVpcID(const Aws::String &value)
SourceNetwork & WithReplicationStatusDetails(const char *value)
void SetLaunchedVpcID(const Aws::String &value)
SourceNetwork & WithSourceVpcID(const char *value)
AWS_DRS_API SourceNetwork & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const Aws::String &value)
void SetSourceNetworkID(Aws::String &&value)
SourceNetwork & WithSourceNetworkID(const char *value)
void SetSourceNetworkID(const Aws::String &value)
AWS_DRS_API SourceNetwork()
SourceNetwork & WithReplicationStatus(ReplicationStatus &&value)
SourceNetwork & WithSourceAccountID(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetArn(const char *value)
void SetSourceAccountID(Aws::String &&value)
SourceNetwork & WithSourceVpcID(const Aws::String &value)
bool SourceVpcIDHasBeenSet() const
void SetLaunchedVpcID(Aws::String &&value)
void SetSourceVpcID(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetCfnStackName() const
SourceNetwork & AddTags(Aws::String &&key, const char *value)
bool SourceAccountIDHasBeenSet() const
bool LaunchedVpcIDHasBeenSet() const
const RecoveryLifeCycle & GetLastRecovery() const
SourceNetwork & WithArn(const char *value)
void SetSourceRegion(const char *value)
bool ArnHasBeenSet() const
void SetReplicationStatus(const ReplicationStatus &value)
SourceNetwork & WithLaunchedVpcID(const Aws::String &value)
SourceNetwork & WithSourceNetworkID(const Aws::String &value)
const Aws::String & GetArn() const
bool LastRecoveryHasBeenSet() const
void SetSourceAccountID(const Aws::String &value)
const Aws::String & GetSourceVpcID() const
SourceNetwork & WithSourceAccountID(const Aws::String &value)
bool CfnStackNameHasBeenSet() const
const ReplicationStatus & GetReplicationStatus() const
bool SourceRegionHasBeenSet() const
SourceNetwork & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetSourceVpcID(const char *value)
void SetReplicationStatus(ReplicationStatus &&value)
SourceNetwork & WithSourceNetworkID(Aws::String &&value)
void SetSourceAccountID(const char *value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
SourceNetwork & AddTags(const Aws::String &key, const Aws::String &value)
SourceNetwork & WithCfnStackName(const Aws::String &value)
const Aws::String & GetLaunchedVpcID() const
SourceNetwork & WithLaunchedVpcID(Aws::String &&value)
void SetReplicationStatusDetails(const Aws::String &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