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
50 inline void SetAllowedPattern(
const char* value) { m_allowedPatternHasBeenSet =
true; m_allowedPattern.assign(value); }
94 inline void SetConstraintDescription(
const char* value) { m_constraintDescriptionHasBeenSet =
true; m_constraintDescription.assign(value); }
111 inline void SetDefaultValue(
const char* value) { m_defaultValueHasBeenSet =
true; m_defaultValue.assign(value); }
125 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
138 inline void SetMaxLength(
int value) { m_maxLengthHasBeenSet =
true; m_maxLength = value; }
149 inline void SetMaxValue(
int value) { m_maxValueHasBeenSet =
true; m_maxValue = value; }
160 inline void SetMinLength(
int value) { m_minLengthHasBeenSet =
true; m_minLength = value; }
171 inline void SetMinValue(
int value) { m_minValueHasBeenSet =
true; m_minValue = value; }
183 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
198 inline void SetNoEcho(
bool value) { m_noEchoHasBeenSet =
true; m_noEcho = value; }
248 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
256 bool m_allowedPatternHasBeenSet =
false;
259 bool m_allowedValuesHasBeenSet =
false;
262 bool m_constraintDescriptionHasBeenSet =
false;
265 bool m_defaultValueHasBeenSet =
false;
268 bool m_descriptionHasBeenSet =
false;
271 bool m_maxLengthHasBeenSet =
false;
274 bool m_maxValueHasBeenSet =
false;
277 bool m_minLengthHasBeenSet =
false;
280 bool m_minValueHasBeenSet =
false;
283 bool m_nameHasBeenSet =
false;
286 bool m_noEchoHasBeenSet =
false;
289 bool m_referencedByResourcesHasBeenSet =
false;
292 bool m_typeHasBeenSet =
false;
ParameterDefinition & WithDefaultValue(const Aws::String &value)
ParameterDefinition & WithConstraintDescription(Aws::String &&value)
bool NameHasBeenSet() const
const Aws::String & GetDefaultValue() const
ParameterDefinition & AddReferencedByResources(const char *value)
bool TypeHasBeenSet() const
ParameterDefinition & WithMinLength(int value)
bool ConstraintDescriptionHasBeenSet() const
ParameterDefinition & WithReferencedByResources(const Aws::Vector< Aws::String > &value)
ParameterDefinition & WithAllowedPattern(const char *value)
const Aws::Vector< Aws::String > & GetReferencedByResources() const
ParameterDefinition & WithDescription(Aws::String &&value)
bool DescriptionHasBeenSet() const
bool MaxValueHasBeenSet() const
void SetDefaultValue(const Aws::String &value)
ParameterDefinition & AddReferencedByResources(Aws::String &&value)
ParameterDefinition & AddAllowedValues(Aws::String &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ParameterDefinition(Aws::Utils::Json::JsonView jsonValue)
ParameterDefinition & WithAllowedValues(const Aws::Vector< Aws::String > &value)
ParameterDefinition & WithMinValue(int value)
ParameterDefinition & AddReferencedByResources(const Aws::String &value)
void SetDescription(const char *value)
void SetName(const char *value)
void SetConstraintDescription(const Aws::String &value)
void SetAllowedPattern(Aws::String &&value)
ParameterDefinition & WithAllowedValues(Aws::Vector< Aws::String > &&value)
const Aws::String & GetAllowedPattern() const
ParameterDefinition & WithDefaultValue(Aws::String &&value)
void SetAllowedPattern(const Aws::String &value)
bool MaxLengthHasBeenSet() const
ParameterDefinition & WithDescription(const char *value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ParameterDefinition()
void SetMaxLength(int value)
ParameterDefinition & WithConstraintDescription(const char *value)
void SetAllowedValues(const Aws::Vector< Aws::String > &value)
const Aws::String & GetDescription() const
ParameterDefinition & WithName(const char *value)
void SetName(Aws::String &&value)
void SetNoEcho(bool value)
ParameterDefinition & WithReferencedByResources(Aws::Vector< Aws::String > &&value)
void SetAllowedValues(Aws::Vector< Aws::String > &&value)
ParameterDefinition & WithDescription(const Aws::String &value)
ParameterDefinition & AddAllowedValues(const char *value)
const Aws::String & GetConstraintDescription() const
ParameterDefinition & AddAllowedValues(const Aws::String &value)
const Aws::String & GetName() const
const Aws::String & GetType() const
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ParameterDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NoEchoHasBeenSet() const
ParameterDefinition & WithType(Aws::String &&value)
ParameterDefinition & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
void SetMaxValue(int value)
ParameterDefinition & WithConstraintDescription(const Aws::String &value)
ParameterDefinition & WithMaxValue(int value)
void SetAllowedPattern(const char *value)
void SetConstraintDescription(Aws::String &&value)
void SetType(const char *value)
void SetReferencedByResources(Aws::Vector< Aws::String > &&value)
void SetMinLength(int value)
void SetReferencedByResources(const Aws::Vector< Aws::String > &value)
ParameterDefinition & WithType(const Aws::String &value)
bool MinValueHasBeenSet() const
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const
ParameterDefinition & WithNoEcho(bool value)
ParameterDefinition & WithMaxLength(int value)
void SetDefaultValue(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAllowedValues() const
ParameterDefinition & WithAllowedPattern(const Aws::String &value)
bool DefaultValueHasBeenSet() const
void SetType(const Aws::String &value)
void SetMinValue(int value)
void SetDescription(Aws::String &&value)
ParameterDefinition & WithName(const Aws::String &value)
ParameterDefinition & WithDefaultValue(const char *value)
void SetConstraintDescription(const char *value)
void SetType(Aws::String &&value)
ParameterDefinition & WithAllowedPattern(Aws::String &&value)
void SetDefaultValue(const char *value)
bool AllowedPatternHasBeenSet() const
void SetDescription(const Aws::String &value)
bool ReferencedByResourcesHasBeenSet() const
ParameterDefinition & WithType(const char *value)
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