7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Document.h>
48 inline int GetId()
const {
return m_id; }
50 inline void SetId(
int value) { m_idHasBeenSet =
true; m_id = value; }
61 template<
typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
63 template<
typename NameT = Aws::String>
74 template<
typename TypeT = Aws::Utils::Document>
75 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
76 template<
typename TypeT = Aws::Utils::Document>
87 inline void SetRequired(
bool value) { m_requiredHasBeenSet =
true; m_required = value; }
98 template<
typename DocT = Aws::String>
99 void SetDoc(DocT&& value) { m_docHasBeenSet =
true; m_doc = std::forward<DocT>(value); }
100 template<
typename DocT = Aws::String>
106 bool m_idHasBeenSet =
false;
109 bool m_nameHasBeenSet =
false;
112 bool m_typeHasBeenSet =
false;
114 bool m_required{
false};
115 bool m_requiredHasBeenSet =
false;
118 bool m_docHasBeenSet =
false;
bool NameHasBeenSet() const
const Aws::String & GetName() const
bool IdHasBeenSet() const
bool RequiredHasBeenSet() const
AWS_GLUE_API IcebergStructField()=default
void SetName(NameT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
IcebergStructField & WithType(TypeT &&value)
bool TypeHasBeenSet() const
bool DocHasBeenSet() const
void SetDoc(DocT &&value)
AWS_GLUE_API IcebergStructField(Aws::Utils::Json::JsonView jsonValue)
IcebergStructField & WithDoc(DocT &&value)
const Aws::String & GetDoc() const
Aws::Utils::DocumentView GetType() const
void SetType(TypeT &&value)
IcebergStructField & WithId(int value)
IcebergStructField & WithRequired(bool value)
IcebergStructField & WithName(NameT &&value)
AWS_GLUE_API IcebergStructField & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRequired(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue