7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/IcebergStructField.h>
10#include <aws/glue/model/IcebergStructTypeEnum.h>
45 m_schemaIdHasBeenSet =
true;
61 template <
typename IdentifierFieldIdsT = Aws::Vector<
int>>
63 m_identifierFieldIdsHasBeenSet =
true;
64 m_identifierFieldIds = std::forward<IdentifierFieldIdsT>(value);
66 template <
typename IdentifierFieldIdsT = Aws::Vector<
int>>
72 m_identifierFieldIdsHasBeenSet =
true;
73 m_identifierFieldIds.push_back(value);
86 m_typeHasBeenSet =
true;
102 template <
typename FieldsT = Aws::Vector<IcebergStructField>>
104 m_fieldsHasBeenSet =
true;
105 m_fields = std::forward<FieldsT>(value);
107 template <
typename FieldsT = Aws::Vector<IcebergStructField>>
112 template <
typename FieldsT = IcebergStructField>
114 m_fieldsHasBeenSet =
true;
115 m_fields.emplace_back(std::forward<FieldsT>(value));
121 bool m_schemaIdHasBeenSet =
false;
124 bool m_identifierFieldIdsHasBeenSet =
false;
127 bool m_typeHasBeenSet =
false;
130 bool m_fieldsHasBeenSet =
false;
AWS_GLUE_API IcebergSchema(Aws::Utils::Json::JsonView jsonValue)
IcebergStructTypeEnum GetType() const
void SetType(IcebergStructTypeEnum value)
AWS_GLUE_API IcebergSchema()=default
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
IcebergSchema & WithIdentifierFieldIds(IdentifierFieldIdsT &&value)
IcebergSchema & WithType(IcebergStructTypeEnum value)
IcebergSchema & WithSchemaId(int value)
bool TypeHasBeenSet() const
bool IdentifierFieldIdsHasBeenSet() const
IcebergSchema & AddIdentifierFieldIds(int value)
const Aws::Vector< IcebergStructField > & GetFields() const
const Aws::Vector< int > & GetIdentifierFieldIds() const
IcebergSchema & AddFields(FieldsT &&value)
void SetIdentifierFieldIds(IdentifierFieldIdsT &&value)
bool FieldsHasBeenSet() const
AWS_GLUE_API IcebergSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSchemaId(int value)
IcebergSchema & WithFields(FieldsT &&value)
bool SchemaIdHasBeenSet() const
void SetFields(FieldsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue