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
48 template<
typename TypeT = Aws::String>
49 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
50 template<
typename TypeT = Aws::String>
60 template<
typename StrValuesT = Aws::Vector<Aws::String>>
61 void SetStrValues(StrValuesT&& value) { m_strValuesHasBeenSet =
true; m_strValues = std::forward<StrValuesT>(value); }
62 template<
typename StrValuesT = Aws::Vector<Aws::String>>
64 template<
typename StrValuesT = Aws::String>
74 template<
typename NumValuesT = Aws::Vector<
int>>
75 void SetNumValues(NumValuesT&& value) { m_numValuesHasBeenSet =
true; m_numValues = std::forward<NumValuesT>(value); }
76 template<
typename NumValuesT = Aws::Vector<
int>>
87 template<
typename Val
idationMessageT = Aws::String>
88 void SetValidationMessage(ValidationMessageT&& value) { m_validationMessageHasBeenSet =
true; m_validationMessage = std::forward<ValidationMessageT>(value); }
89 template<
typename Val
idationMessageT = Aws::String>
95 bool m_typeHasBeenSet =
false;
98 bool m_strValuesHasBeenSet =
false;
101 bool m_numValuesHasBeenSet =
false;
104 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