7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/amplifyuibuilder/model/FieldPosition.h>
10#include <aws/amplifyuibuilder/model/FieldInputConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/amplifyuibuilder/model/FieldValidationConfiguration.h>
25namespace AmplifyUIBuilder
53 inline void SetLabel(
const char* value) { m_labelHasBeenSet =
true; m_label.assign(value); }
77 inline void SetExcluded(
bool value) { m_excludedHasBeenSet =
true; m_excluded = value; }
110 bool m_labelHasBeenSet =
false;
113 bool m_positionHasBeenSet =
false;
116 bool m_excludedHasBeenSet =
false;
119 bool m_inputTypeHasBeenSet =
false;
122 bool m_validationsHasBeenSet =
false;
void SetInputType(const FieldInputConfig &value)
void SetLabel(const char *value)
FieldConfig & WithInputType(FieldInputConfig &&value)
void SetLabel(Aws::String &&value)
FieldConfig & WithValidations(Aws::Vector< FieldValidationConfiguration > &&value)
void SetValidations(const Aws::Vector< FieldValidationConfiguration > &value)
bool InputTypeHasBeenSet() const
const Aws::String & GetLabel() const
AWS_AMPLIFYUIBUILDER_API FieldConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ExcludedHasBeenSet() const
const FieldPosition & GetPosition() const
FieldConfig & WithLabel(const char *value)
void SetExcluded(bool value)
FieldConfig & AddValidations(FieldValidationConfiguration &&value)
bool PositionHasBeenSet() const
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ValidationsHasBeenSet() const
FieldConfig & WithInputType(const FieldInputConfig &value)
void SetPosition(const FieldPosition &value)
const FieldInputConfig & GetInputType() const
AWS_AMPLIFYUIBUILDER_API FieldConfig()
FieldConfig & WithPosition(const FieldPosition &value)
FieldConfig & WithPosition(FieldPosition &&value)
void SetPosition(FieldPosition &&value)
void SetValidations(Aws::Vector< FieldValidationConfiguration > &&value)
FieldConfig & WithLabel(Aws::String &&value)
const Aws::Vector< FieldValidationConfiguration > & GetValidations() const
void SetLabel(const Aws::String &value)
FieldConfig & WithLabel(const Aws::String &value)
bool LabelHasBeenSet() const
FieldConfig & WithExcluded(bool value)
AWS_AMPLIFYUIBUILDER_API FieldConfig(Aws::Utils::Json::JsonView jsonValue)
FieldConfig & WithValidations(const Aws::Vector< FieldValidationConfiguration > &value)
void SetInputType(FieldInputConfig &&value)
FieldConfig & AddValidations(const FieldValidationConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue