7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
20namespace ServiceCatalog {
34 AWS_SERVICECATALOG_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename AllowedValuesT = Aws::Vector<Aws::String>>
44 m_allowedValuesHasBeenSet =
true;
45 m_allowedValues = std::forward<AllowedValuesT>(value);
47 template <
typename AllowedValuesT = Aws::Vector<Aws::String>>
52 template <
typename AllowedValuesT = Aws::String>
54 m_allowedValuesHasBeenSet =
true;
55 m_allowedValues.emplace_back(std::forward<AllowedValuesT>(value));
68 template <
typename AllowedPatternT = Aws::String>
70 m_allowedPatternHasBeenSet =
true;
71 m_allowedPattern = std::forward<AllowedPatternT>(value);
73 template <
typename AllowedPatternT = Aws::String>
94 template <
typename Constra
intDescriptionT = Aws::String>
96 m_constraintDescriptionHasBeenSet =
true;
97 m_constraintDescription = std::forward<ConstraintDescriptionT>(value);
99 template <
typename Constra
intDescriptionT = Aws::String>
113 template <
typename MaxLengthT = Aws::String>
115 m_maxLengthHasBeenSet =
true;
116 m_maxLength = std::forward<MaxLengthT>(value);
118 template <
typename MaxLengthT = Aws::String>
132 template <
typename MinLengthT = Aws::String>
134 m_minLengthHasBeenSet =
true;
135 m_minLength = std::forward<MinLengthT>(value);
137 template <
typename MinLengthT = Aws::String>
151 template <
typename MaxValueT = Aws::String>
153 m_maxValueHasBeenSet =
true;
154 m_maxValue = std::forward<MaxValueT>(value);
156 template <
typename MaxValueT = Aws::String>
170 template <
typename MinValueT = Aws::String>
172 m_minValueHasBeenSet =
true;
173 m_minValue = std::forward<MinValueT>(value);
175 template <
typename MinValueT = Aws::String>
195 bool m_allowedValuesHasBeenSet =
false;
196 bool m_allowedPatternHasBeenSet =
false;
197 bool m_constraintDescriptionHasBeenSet =
false;
198 bool m_maxLengthHasBeenSet =
false;
199 bool m_minLengthHasBeenSet =
false;
200 bool m_maxValueHasBeenSet =
false;
201 bool m_minValueHasBeenSet =
false;
bool AllowedValuesHasBeenSet() const
bool MinLengthHasBeenSet() const
ParameterConstraints & WithAllowedPattern(AllowedPatternT &&value)
void SetMaxValue(MaxValueT &&value)
AWS_SERVICECATALOG_API ParameterConstraints()=default
bool AllowedPatternHasBeenSet() const
const Aws::String & GetMaxLength() const
bool ConstraintDescriptionHasBeenSet() const
AWS_SERVICECATALOG_API ParameterConstraints(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ParameterConstraints & WithMinLength(MinLengthT &&value)
const Aws::String & GetMinLength() const
void SetAllowedValues(AllowedValuesT &&value)
ParameterConstraints & WithMaxValue(MaxValueT &&value)
void SetAllowedPattern(AllowedPatternT &&value)
ParameterConstraints & AddAllowedValues(AllowedValuesT &&value)
const Aws::String & GetConstraintDescription() const
bool MinValueHasBeenSet() const
void SetMaxLength(MaxLengthT &&value)
bool MaxValueHasBeenSet() const
const Aws::String & GetAllowedPattern() const
bool MaxLengthHasBeenSet() const
const Aws::String & GetMaxValue() const
void SetMinValue(MinValueT &&value)
AWS_SERVICECATALOG_API ParameterConstraints & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ParameterConstraints & WithConstraintDescription(ConstraintDescriptionT &&value)
ParameterConstraints & WithMaxLength(MaxLengthT &&value)
ParameterConstraints & WithAllowedValues(AllowedValuesT &&value)
AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ParameterConstraints & WithMinValue(MinValueT &&value)
void SetMinLength(MinLengthT &&value)
const Aws::Vector< Aws::String > & GetAllowedValues() const
const Aws::String & GetMinValue() const
void SetConstraintDescription(ConstraintDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector