7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3tables/S3Tables_EXPORTS.h>
44 inline int GetId()
const {
return m_id; }
47 m_idHasBeenSet =
true;
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
88 template <
typename TypeT = Aws::Utils::Document>
90 m_typeHasBeenSet =
true;
91 m_type = std::forward<TypeT>(value);
93 template <
typename TypeT = Aws::Utils::Document>
95 SetType(std::forward<TypeT>(value));
109 m_requiredHasBeenSet =
true;
124 template <
typename DocT = Aws::String>
126 m_docHasBeenSet =
true;
127 m_doc = std::forward<DocT>(value);
129 template <
typename DocT = Aws::String>
131 SetDoc(std::forward<DocT>(value));
142 bool m_required{
false};
145 bool m_idHasBeenSet =
false;
146 bool m_nameHasBeenSet =
false;
147 bool m_typeHasBeenSet =
false;
148 bool m_requiredHasBeenSet =
false;
149 bool m_docHasBeenSet =
false;
const Aws::String & GetDoc() const
AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_S3TABLES_API SchemaV2Field(Aws::Utils::Json::JsonView jsonValue)
AWS_S3TABLES_API SchemaV2Field & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaV2Field & WithId(int value)
Aws::Utils::DocumentView GetType() const
SchemaV2Field & WithName(NameT &&value)
SchemaV2Field & WithRequired(bool value)
void SetName(NameT &&value)
bool DocHasBeenSet() const
const Aws::String & GetName() const
bool NameHasBeenSet() const
bool TypeHasBeenSet() const
SchemaV2Field & WithType(TypeT &&value)
bool IdHasBeenSet() const
AWS_S3TABLES_API SchemaV2Field()=default
bool RequiredHasBeenSet() const
void SetRequired(bool value)
void SetDoc(DocT &&value)
void SetType(TypeT &&value)
SchemaV2Field & WithDoc(DocT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue