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/TableBucketReplicationRule.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<TableBucketReplicationRule>>
66 m_rulesHasBeenSet =
true;
67 m_rules = std::forward<RulesT>(value);
69 template <
typename RulesT = Aws::Vector<TableBucketReplicationRule>>
71 SetRules(std::forward<RulesT>(value));
74 template <
typename RulesT = TableBucketReplicationRule>
76 m_rulesHasBeenSet =
true;
77 m_rules.emplace_back(std::forward<RulesT>(value));
85 bool m_roleHasBeenSet =
false;
86 bool m_rulesHasBeenSet =
false;
TableBucketReplicationConfiguration & AddRules(RulesT &&value)
TableBucketReplicationConfiguration & WithRules(RulesT &&value)
void SetRole(RoleT &&value)
AWS_S3TABLES_API TableBucketReplicationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRules(RulesT &&value)
AWS_S3TABLES_API TableBucketReplicationConfiguration()=default
AWS_S3TABLES_API TableBucketReplicationConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TableBucketReplicationRule > & GetRules() const
TableBucketReplicationConfiguration & WithRole(RoleT &&value)
bool RoleHasBeenSet() const
bool RulesHasBeenSet() const
const Aws::String & GetRole() const
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