7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace AmplifyUIBuilder
50 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
92 inline void SetValidationMessage(
const char* value) { m_validationMessageHasBeenSet =
true; m_validationMessage.assign(value); }
100 bool m_typeHasBeenSet =
false;
103 bool m_strValuesHasBeenSet =
false;
106 bool m_numValuesHasBeenSet =
false;
109 bool m_validationMessageHasBeenSet =
false;
void SetType(const char *value)
void SetStrValues(const Aws::Vector< Aws::String > &value)
FieldValidationConfiguration & WithValidationMessage(const Aws::String &value)
FieldValidationConfiguration & WithType(Aws::String &&value)
void SetType(Aws::String &&value)
const Aws::Vector< Aws::String > & GetStrValues() const
FieldValidationConfiguration & AddStrValues(const char *value)
void SetValidationMessage(const Aws::String &value)
void SetValidationMessage(Aws::String &&value)
void SetValidationMessage(const char *value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool NumValuesHasBeenSet() const
void SetNumValues(Aws::Vector< int > &&value)
FieldValidationConfiguration & AddStrValues(const Aws::String &value)
FieldValidationConfiguration & AddNumValues(int value)
AWS_AMPLIFYUIBUILDER_API FieldValidationConfiguration(Aws::Utils::Json::JsonView jsonValue)
FieldValidationConfiguration & AddStrValues(Aws::String &&value)
const Aws::Vector< int > & GetNumValues() const
AWS_AMPLIFYUIBUILDER_API FieldValidationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetValidationMessage() const
bool StrValuesHasBeenSet() const
AWS_AMPLIFYUIBUILDER_API FieldValidationConfiguration()
FieldValidationConfiguration & WithType(const char *value)
FieldValidationConfiguration & WithStrValues(const Aws::Vector< Aws::String > &value)
void SetNumValues(const Aws::Vector< int > &value)
bool TypeHasBeenSet() const
bool ValidationMessageHasBeenSet() const
FieldValidationConfiguration & WithNumValues(Aws::Vector< int > &&value)
void SetType(const Aws::String &value)
void SetStrValues(Aws::Vector< Aws::String > &&value)
FieldValidationConfiguration & WithType(const Aws::String &value)
FieldValidationConfiguration & WithNumValues(const Aws::Vector< int > &value)
FieldValidationConfiguration & WithValidationMessage(const char *value)
const Aws::String & GetType() const
FieldValidationConfiguration & WithStrValues(Aws::Vector< Aws::String > &&value)
FieldValidationConfiguration & WithValidationMessage(Aws::String &&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