7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/keyspaces/Keyspaces_EXPORTS.h>
11#include <aws/keyspaces/model/Rs.h>
32 AWS_KEYSPACES_API
KeyspaceSummary(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_KEYSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename KeyspaceNameT = Aws::String>
44 m_keyspaceNameHasBeenSet =
true;
45 m_keyspaceName = std::forward<KeyspaceNameT>(value);
47 template <
typename KeyspaceNameT = Aws::String>
61 template <
typename ResourceArnT = Aws::String>
63 m_resourceArnHasBeenSet =
true;
64 m_resourceArn = std::forward<ResourceArnT>(value);
66 template <
typename ResourceArnT = Aws::String>
82 m_replicationStrategyHasBeenSet =
true;
83 m_replicationStrategy = value;
98 template <
typename ReplicationRegionsT = Aws::Vector<Aws::String>>
100 m_replicationRegionsHasBeenSet =
true;
101 m_replicationRegions = std::forward<ReplicationRegionsT>(value);
103 template <
typename ReplicationRegionsT = Aws::Vector<Aws::String>>
108 template <
typename ReplicationRegionsT = Aws::String>
110 m_replicationRegionsHasBeenSet =
true;
111 m_replicationRegions.emplace_back(std::forward<ReplicationRegionsT>(value));
123 bool m_keyspaceNameHasBeenSet =
false;
124 bool m_resourceArnHasBeenSet =
false;
125 bool m_replicationStrategyHasBeenSet =
false;
126 bool m_replicationRegionsHasBeenSet =
false;
KeyspaceSummary & WithKeyspaceName(KeyspaceNameT &&value)
AWS_KEYSPACES_API KeyspaceSummary()=default
void SetReplicationStrategy(Rs value)
KeyspaceSummary & WithResourceArn(ResourceArnT &&value)
KeyspaceSummary & WithReplicationStrategy(Rs value)
KeyspaceSummary & AddReplicationRegions(ReplicationRegionsT &&value)
const Aws::String & GetResourceArn() const
AWS_KEYSPACES_API KeyspaceSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ReplicationRegionsHasBeenSet() const
bool ReplicationStrategyHasBeenSet() const
const Aws::Vector< Aws::String > & GetReplicationRegions() const
void SetResourceArn(ResourceArnT &&value)
const Aws::String & GetKeyspaceName() const
bool ResourceArnHasBeenSet() const
AWS_KEYSPACES_API KeyspaceSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetKeyspaceName(KeyspaceNameT &&value)
bool KeyspaceNameHasBeenSet() const
Rs GetReplicationStrategy() const
AWS_KEYSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetReplicationRegions(ReplicationRegionsT &&value)
KeyspaceSummary & WithReplicationRegions(ReplicationRegionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector