7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/keyspaces/Keyspaces_EXPORTS.h>
10#include <aws/keyspaces/model/SortOrder.h>
33 AWS_KEYSPACES_API
ClusteringKey(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_KEYSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
63 m_orderByHasBeenSet =
true;
75 bool m_nameHasBeenSet =
false;
76 bool m_orderByHasBeenSet =
false;
bool OrderByHasBeenSet() const
const Aws::String & GetName() const
ClusteringKey & WithName(NameT &&value)
bool NameHasBeenSet() const
SortOrder GetOrderBy() const
void SetName(NameT &&value)
AWS_KEYSPACES_API ClusteringKey(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_KEYSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_KEYSPACES_API ClusteringKey()=default
AWS_KEYSPACES_API ClusteringKey & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ClusteringKey & WithOrderBy(SortOrder value)
void SetOrderBy(SortOrder value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String