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 ArnT = Aws::String>
45 m_arnHasBeenSet =
true;
46 m_arn = std::forward<ArnT>(value);
48 template <
typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
62 template <
typename CfnStackNameT = Aws::String>
64 m_cfnStackNameHasBeenSet =
true;
65 m_cfnStackName = std::forward<CfnStackNameT>(value);
67 template <
typename CfnStackNameT = Aws::String>
81 template <
typename LastRecoveryT = RecoveryLifeCycle>
83 m_lastRecoveryHasBeenSet =
true;
84 m_lastRecovery = std::forward<LastRecoveryT>(value);
86 template <
typename LastRecoveryT = RecoveryLifeCycle>
99 template <
typename LaunchedVpcIDT = Aws::String>
101 m_launchedVpcIDHasBeenSet =
true;
102 m_launchedVpcID = std::forward<LaunchedVpcIDT>(value);
104 template <
typename LaunchedVpcIDT = Aws::String>
122 m_replicationStatusHasBeenSet =
true;
123 m_replicationStatus = value;
137 template <
typename ReplicationStatusDetailsT = Aws::String>
139 m_replicationStatusDetailsHasBeenSet =
true;
140 m_replicationStatusDetails = std::forward<ReplicationStatusDetailsT>(value);
142 template <
typename ReplicationStatusDetailsT = Aws::String>
155 template <
typename SourceAccountIDT = Aws::String>
157 m_sourceAccountIDHasBeenSet =
true;
158 m_sourceAccountID = std::forward<SourceAccountIDT>(value);
160 template <
typename SourceAccountIDT = Aws::String>
173 template <
typename SourceNetworkIDT = Aws::String>
175 m_sourceNetworkIDHasBeenSet =
true;
176 m_sourceNetworkID = std::forward<SourceNetworkIDT>(value);
178 template <
typename SourceNetworkIDT = Aws::String>
191 template <
typename SourceRegionT = Aws::String>
193 m_sourceRegionHasBeenSet =
true;
194 m_sourceRegion = std::forward<SourceRegionT>(value);
196 template <
typename SourceRegionT = Aws::String>
209 template <
typename SourceVpcIDT = Aws::String>
211 m_sourceVpcIDHasBeenSet =
true;
212 m_sourceVpcID = std::forward<SourceVpcIDT>(value);
214 template <
typename SourceVpcIDT = Aws::String>
227 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
229 m_tagsHasBeenSet =
true;
230 m_tags = std::forward<TagsT>(value);
232 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
234 SetTags(std::forward<TagsT>(value));
237 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
239 m_tagsHasBeenSet =
true;
240 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
266 bool m_arnHasBeenSet =
false;
267 bool m_cfnStackNameHasBeenSet =
false;
268 bool m_lastRecoveryHasBeenSet =
false;
269 bool m_launchedVpcIDHasBeenSet =
false;
270 bool m_replicationStatusHasBeenSet =
false;
271 bool m_replicationStatusDetailsHasBeenSet =
false;
272 bool m_sourceAccountIDHasBeenSet =
false;
273 bool m_sourceNetworkIDHasBeenSet =
false;
274 bool m_sourceRegionHasBeenSet =
false;
275 bool m_sourceVpcIDHasBeenSet =
false;
276 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