7#include <aws/serverlessrepo/ServerlessApplicationRepository_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace ServerlessApplicationRepository
48 template<
typename AllowedPatternT = Aws::String>
49 void SetAllowedPattern(AllowedPatternT&& value) { m_allowedPatternHasBeenSet =
true; m_allowedPattern = std::forward<AllowedPatternT>(value); }
50 template<
typename AllowedPatternT = Aws::String>
60 template<
typename AllowedValuesT = Aws::Vector<Aws::String>>
61 void SetAllowedValues(AllowedValuesT&& value) { m_allowedValuesHasBeenSet =
true; m_allowedValues = std::forward<AllowedValuesT>(value); }
62 template<
typename AllowedValuesT = Aws::Vector<Aws::String>>
64 template<
typename AllowedValuesT = Aws::String>
89 template<
typename Constra
intDescriptionT = Aws::String>
90 void SetConstraintDescription(ConstraintDescriptionT&& value) { m_constraintDescriptionHasBeenSet =
true; m_constraintDescription = std::forward<ConstraintDescriptionT>(value); }
91 template<
typename Constra
intDescriptionT = Aws::String>
104 template<
typename DefaultValueT = Aws::String>
105 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet =
true; m_defaultValue = std::forward<DefaultValueT>(value); }
106 template<
typename DefaultValueT = Aws::String>
116 template<
typename DescriptionT = Aws::String>
117 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
118 template<
typename DescriptionT = Aws::String>
129 inline void SetMaxLength(
int value) { m_maxLengthHasBeenSet =
true; m_maxLength = value; }
140 inline void SetMaxValue(
int value) { m_maxValueHasBeenSet =
true; m_maxValue = value; }
151 inline void SetMinLength(
int value) { m_minLengthHasBeenSet =
true; m_minLength = value; }
162 inline void SetMinValue(
int value) { m_minValueHasBeenSet =
true; m_minValue = value; }
172 template<
typename NameT = Aws::String>
173 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
174 template<
typename NameT = Aws::String>
187 inline void SetNoEcho(
bool value) { m_noEchoHasBeenSet =
true; m_noEcho = value; }
197 template<
typename ReferencedByResourcesT = Aws::Vector<Aws::String>>
198 void SetReferencedByResources(ReferencedByResourcesT&& value) { m_referencedByResourcesHasBeenSet =
true; m_referencedByResources = std::forward<ReferencedByResourcesT>(value); }
199 template<
typename ReferencedByResourcesT = Aws::Vector<Aws::String>>
201 template<
typename ReferencedByResourcesT = Aws::String>
234 template<
typename TypeT = Aws::String>
235 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
236 template<
typename TypeT = Aws::String>
242 bool m_allowedPatternHasBeenSet =
false;
245 bool m_allowedValuesHasBeenSet =
false;
248 bool m_constraintDescriptionHasBeenSet =
false;
251 bool m_defaultValueHasBeenSet =
false;
254 bool m_descriptionHasBeenSet =
false;
257 bool m_maxLengthHasBeenSet =
false;
260 bool m_maxValueHasBeenSet =
false;
263 bool m_minLengthHasBeenSet =
false;
266 bool m_minValueHasBeenSet =
false;
269 bool m_nameHasBeenSet =
false;
271 bool m_noEcho{
false};
272 bool m_noEchoHasBeenSet =
false;
275 bool m_referencedByResourcesHasBeenSet =
false;
278 bool m_typeHasBeenSet =
false;
ParameterDefinition & WithName(NameT &&value)
bool NameHasBeenSet() const
const Aws::String & GetDefaultValue() const
bool TypeHasBeenSet() const
ParameterDefinition & WithMinLength(int value)
bool ConstraintDescriptionHasBeenSet() const
ParameterDefinition & AddAllowedValues(AllowedValuesT &&value)
const Aws::Vector< Aws::String > & GetReferencedByResources() const
void SetReferencedByResources(ReferencedByResourcesT &&value)
ParameterDefinition & WithConstraintDescription(ConstraintDescriptionT &&value)
bool DescriptionHasBeenSet() const
bool MaxValueHasBeenSet() const
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ParameterDefinition(Aws::Utils::Json::JsonView jsonValue)
ParameterDefinition & WithMinValue(int value)
ParameterDefinition & AddReferencedByResources(ReferencedByResourcesT &&value)
const Aws::String & GetAllowedPattern() const
ParameterDefinition & WithAllowedValues(AllowedValuesT &&value)
void SetConstraintDescription(ConstraintDescriptionT &&value)
void SetDefaultValue(DefaultValueT &&value)
void SetAllowedPattern(AllowedPatternT &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ParameterDefinition()=default
bool MaxLengthHasBeenSet() const
void SetMaxLength(int value)
const Aws::String & GetDescription() const
void SetNoEcho(bool value)
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
void SetType(TypeT &&value)
ParameterDefinition & WithType(TypeT &&value)
const Aws::String & GetConstraintDescription() const
const Aws::String & GetName() const
ParameterDefinition & WithAllowedPattern(AllowedPatternT &&value)
const Aws::String & GetType() const
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ParameterDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NoEchoHasBeenSet() const
void SetMaxValue(int value)
ParameterDefinition & WithMaxValue(int value)
ParameterDefinition & WithDefaultValue(DefaultValueT &&value)
void SetMinLength(int value)
bool MinValueHasBeenSet() const
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const
ParameterDefinition & WithNoEcho(bool value)
ParameterDefinition & WithMaxLength(int value)
void SetAllowedValues(AllowedValuesT &&value)
const Aws::Vector< Aws::String > & GetAllowedValues() const
ParameterDefinition & WithDescription(DescriptionT &&value)
bool DefaultValueHasBeenSet() const
void SetMinValue(int value)
ParameterDefinition & WithReferencedByResources(ReferencedByResourcesT &&value)
bool AllowedPatternHasBeenSet() const
bool ReferencedByResourcesHasBeenSet() const
bool MinLengthHasBeenSet() const
bool AllowedValuesHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue