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>
49 template<
typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
51 template<
typename ArnT = Aws::String>
62 template<
typename CfnStackNameT = Aws::String>
63 void SetCfnStackName(CfnStackNameT&& value) { m_cfnStackNameHasBeenSet =
true; m_cfnStackName = std::forward<CfnStackNameT>(value); }
64 template<
typename CfnStackNameT = Aws::String>
75 template<
typename LastRecoveryT = RecoveryLifeCycle>
76 void SetLastRecovery(LastRecoveryT&& value) { m_lastRecoveryHasBeenSet =
true; m_lastRecovery = std::forward<LastRecoveryT>(value); }
77 template<
typename LastRecoveryT = RecoveryLifeCycle>
87 template<
typename LaunchedVpcIDT = Aws::String>
88 void SetLaunchedVpcID(LaunchedVpcIDT&& value) { m_launchedVpcIDHasBeenSet =
true; m_launchedVpcID = std::forward<LaunchedVpcIDT>(value); }
89 template<
typename LaunchedVpcIDT = Aws::String>
113 template<
typename ReplicationStatusDetailsT = Aws::String>
114 void SetReplicationStatusDetails(ReplicationStatusDetailsT&& value) { m_replicationStatusDetailsHasBeenSet =
true; m_replicationStatusDetails = std::forward<ReplicationStatusDetailsT>(value); }
115 template<
typename ReplicationStatusDetailsT = Aws::String>
125 template<
typename SourceAccountIDT = Aws::String>
126 void SetSourceAccountID(SourceAccountIDT&& value) { m_sourceAccountIDHasBeenSet =
true; m_sourceAccountID = std::forward<SourceAccountIDT>(value); }
127 template<
typename SourceAccountIDT = Aws::String>
137 template<
typename SourceNetworkIDT = Aws::String>
138 void SetSourceNetworkID(SourceNetworkIDT&& value) { m_sourceNetworkIDHasBeenSet =
true; m_sourceNetworkID = std::forward<SourceNetworkIDT>(value); }
139 template<
typename SourceNetworkIDT = Aws::String>
149 template<
typename SourceRegionT = Aws::String>
150 void SetSourceRegion(SourceRegionT&& value) { m_sourceRegionHasBeenSet =
true; m_sourceRegion = std::forward<SourceRegionT>(value); }
151 template<
typename SourceRegionT = Aws::String>
161 template<
typename SourceVpcIDT = Aws::String>
162 void SetSourceVpcID(SourceVpcIDT&& value) { m_sourceVpcIDHasBeenSet =
true; m_sourceVpcID = std::forward<SourceVpcIDT>(value); }
163 template<
typename SourceVpcIDT = Aws::String>
173 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
174 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
175 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
177 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
179 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
185 bool m_arnHasBeenSet =
false;
188 bool m_cfnStackNameHasBeenSet =
false;
191 bool m_lastRecoveryHasBeenSet =
false;
194 bool m_launchedVpcIDHasBeenSet =
false;
197 bool m_replicationStatusHasBeenSet =
false;
200 bool m_replicationStatusDetailsHasBeenSet =
false;
203 bool m_sourceAccountIDHasBeenSet =
false;
206 bool m_sourceNetworkIDHasBeenSet =
false;
209 bool m_sourceRegionHasBeenSet =
false;
212 bool m_sourceVpcIDHasBeenSet =
false;
215 bool m_tagsHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetTags() const
SourceNetwork & WithReplicationStatus(ReplicationStatus value)
bool SourceNetworkIDHasBeenSet() const
SourceNetwork & WithReplicationStatusDetails(ReplicationStatusDetailsT &&value)
void SetTags(TagsT &&value)
bool TagsHasBeenSet() const
void SetSourceVpcID(SourceVpcIDT &&value)
ReplicationStatus GetReplicationStatus() const
const Aws::String & GetReplicationStatusDetails() const
SourceNetwork & WithSourceRegion(SourceRegionT &&value)
SourceNetwork & WithLaunchedVpcID(LaunchedVpcIDT &&value)
AWS_DRS_API SourceNetwork(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSourceAccountID() const
bool ReplicationStatusHasBeenSet() const
void SetArn(ArnT &&value)
const Aws::String & GetSourceRegion() const
bool ReplicationStatusDetailsHasBeenSet() const
SourceNetwork & WithArn(ArnT &&value)
const Aws::String & GetSourceNetworkID() const
void SetLaunchedVpcID(LaunchedVpcIDT &&value)
void SetReplicationStatus(ReplicationStatus value)
void SetCfnStackName(CfnStackNameT &&value)
AWS_DRS_API SourceNetwork & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastRecovery(LastRecoveryT &&value)
AWS_DRS_API SourceNetwork()=default
bool SourceVpcIDHasBeenSet() const
void SetSourceAccountID(SourceAccountIDT &&value)
SourceNetwork & WithTags(TagsT &&value)
void SetSourceNetworkID(SourceNetworkIDT &&value)
SourceNetwork & WithSourceNetworkID(SourceNetworkIDT &&value)
const Aws::String & GetCfnStackName() const
bool SourceAccountIDHasBeenSet() const
bool LaunchedVpcIDHasBeenSet() const
const RecoveryLifeCycle & GetLastRecovery() const
bool ArnHasBeenSet() const
const Aws::String & GetArn() const
SourceNetwork & WithSourceVpcID(SourceVpcIDT &&value)
bool LastRecoveryHasBeenSet() const
const Aws::String & GetSourceVpcID() const
bool CfnStackNameHasBeenSet() const
SourceNetwork & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool SourceRegionHasBeenSet() const
void SetSourceRegion(SourceRegionT &&value)
SourceNetwork & WithSourceAccountID(SourceAccountIDT &&value)
SourceNetwork & WithCfnStackName(CfnStackNameT &&value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLaunchedVpcID() const
SourceNetwork & WithLastRecovery(LastRecoveryT &&value)
void SetReplicationStatusDetails(ReplicationStatusDetailsT &&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