7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/keyspaces/Keyspaces_EXPORTS.h>
31 AWS_KEYSPACES_API
FieldDefinition(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_KEYSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
63 template <
typename TypeT = Aws::String>
65 m_typeHasBeenSet =
true;
66 m_type = std::forward<TypeT>(value);
68 template <
typename TypeT = Aws::String>
70 SetType(std::forward<TypeT>(value));
78 bool m_nameHasBeenSet =
false;
79 bool m_typeHasBeenSet =
false;
FieldDefinition & WithType(TypeT &&value)
const Aws::String & GetName() const
AWS_KEYSPACES_API FieldDefinition & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_KEYSPACES_API FieldDefinition()=default
const Aws::String & GetType() const
AWS_KEYSPACES_API FieldDefinition(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
FieldDefinition & WithName(NameT &&value)
bool NameHasBeenSet() const
void SetName(NameT &&value)
AWS_KEYSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool TypeHasBeenSet() const
void SetType(TypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String