7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
11#include <aws/elasticbeanstalk/model/ConfigurationOptionValueType.h>
12#include <aws/elasticbeanstalk/model/OptionRestrictionRegex.h>
22namespace ElasticBeanstalk {
38 const char* locationValue)
const;
48 template <
typename NamespaceT = Aws::String>
50 m_namespaceHasBeenSet =
true;
51 m_namespace = std::forward<NamespaceT>(value);
53 template <
typename NamespaceT = Aws::String>
66 template <
typename NameT = Aws::String>
68 m_nameHasBeenSet =
true;
69 m_name = std::forward<NameT>(value);
71 template <
typename NameT = Aws::String>
73 SetName(std::forward<NameT>(value));
84 template <
typename DefaultValueT = Aws::String>
86 m_defaultValueHasBeenSet =
true;
87 m_defaultValue = std::forward<DefaultValueT>(value);
89 template <
typename DefaultValueT = Aws::String>
110 template <
typename ChangeSeverityT = Aws::String>
112 m_changeSeverityHasBeenSet =
true;
113 m_changeSeverity = std::forward<ChangeSeverityT>(value);
115 template <
typename ChangeSeverityT = Aws::String>
135 m_userDefinedHasBeenSet =
true;
136 m_userDefined = value;
160 m_valueTypeHasBeenSet =
true;
176 template <
typename ValueOptionsT = Aws::Vector<Aws::String>>
178 m_valueOptionsHasBeenSet =
true;
179 m_valueOptions = std::forward<ValueOptionsT>(value);
181 template <
typename ValueOptionsT = Aws::Vector<Aws::String>>
186 template <
typename ValueOptionsT = Aws::String>
188 m_valueOptionsHasBeenSet =
true;
189 m_valueOptions.emplace_back(std::forward<ValueOptionsT>(value));
202 m_minValueHasBeenSet =
true;
219 m_maxValueHasBeenSet =
true;
236 m_maxLengthHasBeenSet =
true;
252 template <
typename RegexT = OptionRestrictionRegex>
254 m_regexHasBeenSet =
true;
255 m_regex = std::forward<RegexT>(value);
257 template <
typename RegexT = OptionRestrictionRegex>
259 SetRegex(std::forward<RegexT>(value));
272 bool m_userDefined{
false};
284 OptionRestrictionRegex m_regex;
285 bool m_namespaceHasBeenSet =
false;
286 bool m_nameHasBeenSet =
false;
287 bool m_defaultValueHasBeenSet =
false;
288 bool m_changeSeverityHasBeenSet =
false;
289 bool m_userDefinedHasBeenSet =
false;
290 bool m_valueTypeHasBeenSet =
false;
291 bool m_valueOptionsHasBeenSet =
false;
292 bool m_minValueHasBeenSet =
false;
293 bool m_maxValueHasBeenSet =
false;
294 bool m_maxLengthHasBeenSet =
false;
295 bool m_regexHasBeenSet =
false;
void SetName(NameT &&value)
bool MaxValueHasBeenSet() const
void SetDefaultValue(DefaultValueT &&value)
void SetMaxLength(int value)
const Aws::String & GetName() const
bool UserDefinedHasBeenSet() const
ConfigurationOptionDescription & WithName(NameT &&value)
const Aws::String & GetDefaultValue() const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetValueType(ConfigurationOptionValueType value)
void SetChangeSeverity(ChangeSeverityT &&value)
bool GetUserDefined() const
bool NameHasBeenSet() const
AWS_ELASTICBEANSTALK_API ConfigurationOptionDescription()=default
bool NamespaceHasBeenSet() const
ConfigurationOptionDescription & WithUserDefined(bool value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICBEANSTALK_API ConfigurationOptionDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRegex(RegexT &&value)
ConfigurationOptionDescription & WithValueType(ConfigurationOptionValueType value)
ConfigurationOptionDescription & WithNamespace(NamespaceT &&value)
ConfigurationOptionDescription & AddValueOptions(ValueOptionsT &&value)
bool ChangeSeverityHasBeenSet() const
void SetValueOptions(ValueOptionsT &&value)
bool ValueTypeHasBeenSet() const
ConfigurationOptionDescription & WithChangeSeverity(ChangeSeverityT &&value)
ConfigurationOptionDescription & WithMaxLength(int value)
void SetMinValue(int value)
AWS_ELASTICBEANSTALK_API ConfigurationOptionDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNamespace(NamespaceT &&value)
ConfigurationOptionDescription & WithRegex(RegexT &&value)
ConfigurationOptionDescription & WithMaxValue(int value)
bool ValueOptionsHasBeenSet() const
const Aws::Vector< Aws::String > & GetValueOptions() const
const Aws::String & GetNamespace() const
void SetMaxValue(int value)
bool MaxLengthHasBeenSet() const
ConfigurationOptionDescription & WithMinValue(int value)
ConfigurationOptionDescription & WithValueOptions(ValueOptionsT &&value)
ConfigurationOptionValueType GetValueType() const
void SetUserDefined(bool value)
bool MinValueHasBeenSet() const
const Aws::String & GetChangeSeverity() const
const OptionRestrictionRegex & GetRegex() const
bool DefaultValueHasBeenSet() const
ConfigurationOptionDescription & WithDefaultValue(DefaultValueT &&value)
bool RegexHasBeenSet() const
ConfigurationOptionValueType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream