7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetReplicated(
bool value) { m_replicatedHasBeenSet =
true; m_replicated = value; }
64 inline void SetReplicatedExternally(
bool value) { m_replicatedExternallyHasBeenSet =
true; m_replicatedExternally = value; }
76 template<
typename ReplicationAccountsT = Aws::Vector<Aws::String>>
77 void SetReplicationAccounts(ReplicationAccountsT&& value) { m_replicationAccountsHasBeenSet =
true; m_replicationAccounts = std::forward<ReplicationAccountsT>(value); }
78 template<
typename ReplicationAccountsT = Aws::Vector<Aws::String>>
80 template<
typename ReplicationAccountsT = Aws::String>
81 ReplicationDetails&
AddReplicationAccounts(ReplicationAccountsT&& value) { m_replicationAccountsHasBeenSet =
true; m_replicationAccounts.emplace_back(std::forward<ReplicationAccountsT>(value));
return *
this; }
85 bool m_replicated{
false};
86 bool m_replicatedHasBeenSet =
false;
88 bool m_replicatedExternally{
false};
89 bool m_replicatedExternallyHasBeenSet =
false;
92 bool m_replicationAccountsHasBeenSet =
false;
bool GetReplicated() const
ReplicationDetails & WithReplicated(bool value)
bool ReplicatedHasBeenSet() const
AWS_MACIE2_API ReplicationDetails(Aws::Utils::Json::JsonView jsonValue)
ReplicationDetails & AddReplicationAccounts(ReplicationAccountsT &&value)
const Aws::Vector< Aws::String > & GetReplicationAccounts() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReplicated(bool value)
void SetReplicatedExternally(bool value)
void SetReplicationAccounts(ReplicationAccountsT &&value)
ReplicationDetails & WithReplicationAccounts(ReplicationAccountsT &&value)
AWS_MACIE2_API ReplicationDetails()=default
AWS_MACIE2_API ReplicationDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicationDetails & WithReplicatedExternally(bool value)
bool ReplicatedExternallyHasBeenSet() const
bool GetReplicatedExternally() const
bool ReplicationAccountsHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue