7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/model/CodegenGenericDataFieldDataType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/amplifyuibuilder/model/CodegenGenericDataRelationshipType.h>
23namespace AmplifyUIBuilder
62 inline void SetDataTypeValue(
const char* value) { m_dataTypeValueHasBeenSet =
true; m_dataTypeValue.assign(value); }
74 inline void SetRequired(
bool value) { m_requiredHasBeenSet =
true; m_required = value; }
84 inline void SetReadOnly(
bool value) { m_readOnlyHasBeenSet =
true; m_readOnly = value; }
94 inline void SetIsArray(
bool value) { m_isArrayHasBeenSet =
true; m_isArray = value; }
112 bool m_dataTypeHasBeenSet =
false;
115 bool m_dataTypeValueHasBeenSet =
false;
118 bool m_requiredHasBeenSet =
false;
121 bool m_readOnlyHasBeenSet =
false;
124 bool m_isArrayHasBeenSet =
false;
127 bool m_relationshipHasBeenSet =
false;
void SetDataTypeValue(Aws::String &&value)
CodegenGenericDataField & WithReadOnly(bool value)
void SetDataType(const CodegenGenericDataFieldDataType &value)
bool RequiredHasBeenSet() const
CodegenGenericDataField & WithDataType(const CodegenGenericDataFieldDataType &value)
void SetRequired(bool value)
void SetDataTypeValue(const char *value)
const Aws::String & GetDataTypeValue() const
void SetDataType(CodegenGenericDataFieldDataType &&value)
bool IsArrayHasBeenSet() const
const CodegenGenericDataFieldDataType & GetDataType() const
CodegenGenericDataField & WithDataType(CodegenGenericDataFieldDataType &&value)
CodegenGenericDataField & WithDataTypeValue(Aws::String &&value)
CodegenGenericDataField & WithRelationship(const CodegenGenericDataRelationshipType &value)
AWS_AMPLIFYUIBUILDER_API CodegenGenericDataField(Aws::Utils::Json::JsonView jsonValue)
bool RelationshipHasBeenSet() const
AWS_AMPLIFYUIBUILDER_API CodegenGenericDataField & operator=(Aws::Utils::Json::JsonView jsonValue)
CodegenGenericDataField & WithRelationship(CodegenGenericDataRelationshipType &&value)
CodegenGenericDataField & WithRequired(bool value)
void SetDataTypeValue(const Aws::String &value)
void SetIsArray(bool value)
AWS_AMPLIFYUIBUILDER_API CodegenGenericDataField()
const CodegenGenericDataRelationshipType & GetRelationship() const
bool ReadOnlyHasBeenSet() const
CodegenGenericDataField & WithIsArray(bool value)
bool DataTypeHasBeenSet() const
CodegenGenericDataField & WithDataTypeValue(const Aws::String &value)
void SetRelationship(CodegenGenericDataRelationshipType &&value)
void SetRelationship(const CodegenGenericDataRelationshipType &value)
bool DataTypeValueHasBeenSet() const
CodegenGenericDataField & WithDataTypeValue(const char *value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReadOnly(bool value)
CodegenGenericDataFieldDataType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue