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;
47 template <
typename NamespaceT = Aws::String>
49 m_namespaceHasBeenSet =
true;
50 m_namespace = std::forward<NamespaceT>(value);
52 template <
typename NamespaceT = Aws::String>
65 template <
typename NameT = Aws::String>
67 m_nameHasBeenSet =
true;
68 m_name = std::forward<NameT>(value);
70 template <
typename NameT = Aws::String>
72 SetName(std::forward<NameT>(value));
83 template <
typename DefaultValueT = Aws::String>
85 m_defaultValueHasBeenSet =
true;
86 m_defaultValue = std::forward<DefaultValueT>(value);
88 template <
typename DefaultValueT = Aws::String>
109 template <
typename ChangeSeverityT = Aws::String>
111 m_changeSeverityHasBeenSet =
true;
112 m_changeSeverity = std::forward<ChangeSeverityT>(value);
114 template <
typename ChangeSeverityT = Aws::String>
134 m_userDefinedHasBeenSet =
true;
135 m_userDefined = value;
159 m_valueTypeHasBeenSet =
true;
175 template <
typename ValueOptionsT = Aws::Vector<Aws::String>>
177 m_valueOptionsHasBeenSet =
true;
178 m_valueOptions = std::forward<ValueOptionsT>(value);
180 template <
typename ValueOptionsT = Aws::Vector<Aws::String>>
185 template <
typename ValueOptionsT = Aws::String>
187 m_valueOptionsHasBeenSet =
true;
188 m_valueOptions.emplace_back(std::forward<ValueOptionsT>(value));
201 m_minValueHasBeenSet =
true;
218 m_maxValueHasBeenSet =
true;
235 m_maxLengthHasBeenSet =
true;
251 template <
typename RegexT = OptionRestrictionRegex>
253 m_regexHasBeenSet =
true;
254 m_regex = std::forward<RegexT>(value);
256 template <
typename RegexT = OptionRestrictionRegex>
258 SetRegex(std::forward<RegexT>(value));
271 bool m_userDefined{
false};
283 OptionRestrictionRegex m_regex;
284 bool m_namespaceHasBeenSet =
false;
285 bool m_nameHasBeenSet =
false;
286 bool m_defaultValueHasBeenSet =
false;
287 bool m_changeSeverityHasBeenSet =
false;
288 bool m_userDefinedHasBeenSet =
false;
289 bool m_valueTypeHasBeenSet =
false;
290 bool m_valueOptionsHasBeenSet =
false;
291 bool m_minValueHasBeenSet =
false;
292 bool m_maxValueHasBeenSet =
false;
293 bool m_maxLengthHasBeenSet =
false;
294 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