7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/model/IcebergStructTypeEnum.h>
10#include <aws/glue/model/IcebergStructField.h>
50 inline void SetSchemaId(
int value) { m_schemaIdHasBeenSet =
true; m_schemaId = value; }
61 template<
typename IdentifierFieldIdsT = Aws::Vector<
int>>
62 void SetIdentifierFieldIds(IdentifierFieldIdsT&& value) { m_identifierFieldIdsHasBeenSet =
true; m_identifierFieldIds = std::forward<IdentifierFieldIdsT>(value); }
63 template<
typename IdentifierFieldIdsT = Aws::Vector<
int>>
86 template<
typename FieldsT = Aws::Vector<IcebergStructField>>
87 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet =
true; m_fields = std::forward<FieldsT>(value); }
88 template<
typename FieldsT = Aws::Vector<IcebergStructField>>
90 template<
typename FieldsT = IcebergStructField>
91 IcebergSchema&
AddFields(FieldsT&& value) { m_fieldsHasBeenSet =
true; m_fields.emplace_back(std::forward<FieldsT>(value));
return *
this; }
96 bool m_schemaIdHasBeenSet =
false;
99 bool m_identifierFieldIdsHasBeenSet =
false;
102 bool m_typeHasBeenSet =
false;
105 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