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/RecoveryLifeCycle.h>
11#include <aws/drs/model/ReplicationStatus.h>
43 template <
typename SourceNetworkIDT = Aws::String>
45 m_sourceNetworkIDHasBeenSet =
true;
46 m_sourceNetworkID = std::forward<SourceNetworkIDT>(value);
48 template <
typename SourceNetworkIDT = Aws::String>
61 template <
typename SourceVpcIDT = Aws::String>
63 m_sourceVpcIDHasBeenSet =
true;
64 m_sourceVpcID = std::forward<SourceVpcIDT>(value);
66 template <
typename SourceVpcIDT = Aws::String>
79 template <
typename ArnT = Aws::String>
81 m_arnHasBeenSet =
true;
82 m_arn = std::forward<ArnT>(value);
84 template <
typename ArnT = Aws::String>
86 SetArn(std::forward<ArnT>(value));
97 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
99 m_tagsHasBeenSet =
true;
100 m_tags = std::forward<TagsT>(value);
102 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
104 SetTags(std::forward<TagsT>(value));
107 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
109 m_tagsHasBeenSet =
true;
110 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
126 m_replicationStatusHasBeenSet =
true;
127 m_replicationStatus = value;
141 template <
typename ReplicationStatusDetailsT = Aws::String>
143 m_replicationStatusDetailsHasBeenSet =
true;
144 m_replicationStatusDetails = std::forward<ReplicationStatusDetailsT>(value);
146 template <
typename ReplicationStatusDetailsT = Aws::String>
160 template <
typename CfnStackNameT = Aws::String>
162 m_cfnStackNameHasBeenSet =
true;
163 m_cfnStackName = std::forward<CfnStackNameT>(value);
165 template <
typename CfnStackNameT = Aws::String>
178 template <
typename SourceRegionT = Aws::String>
180 m_sourceRegionHasBeenSet =
true;
181 m_sourceRegion = std::forward<SourceRegionT>(value);
183 template <
typename SourceRegionT = Aws::String>
196 template <
typename SourceAccountIDT = Aws::String>
198 m_sourceAccountIDHasBeenSet =
true;
199 m_sourceAccountID = std::forward<SourceAccountIDT>(value);
201 template <
typename SourceAccountIDT = Aws::String>
215 template <
typename LastRecoveryT = RecoveryLifeCycle>
217 m_lastRecoveryHasBeenSet =
true;
218 m_lastRecovery = std::forward<LastRecoveryT>(value);
220 template <
typename LastRecoveryT = RecoveryLifeCycle>
233 template <
typename LaunchedVpcIDT = Aws::String>
235 m_launchedVpcIDHasBeenSet =
true;
236 m_launchedVpcID = std::forward<LaunchedVpcIDT>(value);
238 template <
typename LaunchedVpcIDT = Aws::String>
263 RecoveryLifeCycle m_lastRecovery;
266 bool m_sourceNetworkIDHasBeenSet =
false;
267 bool m_sourceVpcIDHasBeenSet =
false;
268 bool m_arnHasBeenSet =
false;
269 bool m_tagsHasBeenSet =
false;
270 bool m_replicationStatusHasBeenSet =
false;
271 bool m_replicationStatusDetailsHasBeenSet =
false;
272 bool m_cfnStackNameHasBeenSet =
false;
273 bool m_sourceRegionHasBeenSet =
false;
274 bool m_sourceAccountIDHasBeenSet =
false;
275 bool m_lastRecoveryHasBeenSet =
false;
276 bool m_launchedVpcIDHasBeenSet =
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