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>
20namespace AmplifyUIBuilder {
42 template <
typename TypeT = Aws::String>
44 m_typeHasBeenSet =
true;
45 m_type = std::forward<TypeT>(value);
47 template <
typename TypeT = Aws::String>
49 SetType(std::forward<TypeT>(value));
60 template <
typename StrValuesT = Aws::Vector<Aws::String>>
62 m_strValuesHasBeenSet =
true;
63 m_strValues = std::forward<StrValuesT>(value);
65 template <
typename StrValuesT = Aws::Vector<Aws::String>>
70 template <
typename StrValuesT = Aws::String>
72 m_strValuesHasBeenSet =
true;
73 m_strValues.emplace_back(std::forward<StrValuesT>(value));
84 template <
typename NumValuesT = Aws::Vector<
int>>
86 m_numValuesHasBeenSet =
true;
87 m_numValues = std::forward<NumValuesT>(value);
89 template <
typename NumValuesT = Aws::Vector<
int>>
95 m_numValuesHasBeenSet =
true;
96 m_numValues.push_back(value);
107 template <
typename Val
idationMessageT = Aws::String>
109 m_validationMessageHasBeenSet =
true;
110 m_validationMessage = std::forward<ValidationMessageT>(value);
112 template <
typename Val
idationMessageT = Aws::String>
126 bool m_typeHasBeenSet =
false;
127 bool m_strValuesHasBeenSet =
false;
128 bool m_numValuesHasBeenSet =
false;
129 bool m_validationMessageHasBeenSet =
false;
FieldValidationConfiguration & AddStrValues(StrValuesT &&value)
FieldValidationConfiguration & WithNumValues(NumValuesT &&value)
const Aws::Vector< Aws::String > & GetStrValues() const
void SetNumValues(NumValuesT &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool NumValuesHasBeenSet() const
void SetValidationMessage(ValidationMessageT &&value)
void SetType(TypeT &&value)
FieldValidationConfiguration & AddNumValues(int value)
AWS_AMPLIFYUIBUILDER_API FieldValidationConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< int > & GetNumValues() const
FieldValidationConfiguration & WithStrValues(StrValuesT &&value)
AWS_AMPLIFYUIBUILDER_API FieldValidationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetValidationMessage() const
bool StrValuesHasBeenSet() const
FieldValidationConfiguration & WithType(TypeT &&value)
bool TypeHasBeenSet() const
bool ValidationMessageHasBeenSet() const
FieldValidationConfiguration & WithValidationMessage(ValidationMessageT &&value)
void SetStrValues(StrValuesT &&value)
const Aws::String & GetType() const
AWS_AMPLIFYUIBUILDER_API FieldValidationConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue