7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3tables/S3Tables_EXPORTS.h>
10#include <aws/s3tables/model/TableReplicationRule.h>
45 template <
typename RoleT = Aws::String>
47 m_roleHasBeenSet =
true;
48 m_role = std::forward<RoleT>(value);
50 template <
typename RoleT = Aws::String>
52 SetRole(std::forward<RoleT>(value));
64 template <
typename RulesT = Aws::Vector<TableReplicationRule>>
66 m_rulesHasBeenSet =
true;
67 m_rules = std::forward<RulesT>(value);
69 template <
typename RulesT = Aws::Vector<TableReplicationRule>>
71 SetRules(std::forward<RulesT>(value));
74 template <
typename RulesT = TableReplicationRule>
76 m_rulesHasBeenSet =
true;
77 m_rules.emplace_back(std::forward<RulesT>(value));
85 bool m_roleHasBeenSet =
false;
86 bool m_rulesHasBeenSet =
false;
bool RoleHasBeenSet() const
TableReplicationConfiguration & WithRules(RulesT &&value)
AWS_S3TABLES_API TableReplicationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_S3TABLES_API TableReplicationConfiguration(Aws::Utils::Json::JsonView jsonValue)
TableReplicationConfiguration & WithRole(RoleT &&value)
const Aws::String & GetRole() const
TableReplicationConfiguration & AddRules(RulesT &&value)
void SetRules(RulesT &&value)
bool RulesHasBeenSet() const
void SetRole(RoleT &&value)
const Aws::Vector< TableReplicationRule > & GetRules() const
AWS_S3TABLES_API TableReplicationConfiguration()=default
AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue