7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticbeanstalk/model/ConfigurationOptionValueType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/elasticbeanstalk/model/OptionRestrictionRegex.h>
24namespace ElasticBeanstalk
42 AWS_ELASTICBEANSTALK_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
52 template<
typename NamespaceT = Aws::String>
53 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
54 template<
typename NamespaceT = Aws::String>
64 template<
typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
66 template<
typename NameT = Aws::String>
76 template<
typename DefaultValueT = Aws::String>
77 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet =
true; m_defaultValue = std::forward<DefaultValueT>(value); }
78 template<
typename DefaultValueT = Aws::String>
96 template<
typename ChangeSeverityT = Aws::String>
97 void SetChangeSeverity(ChangeSeverityT&& value) { m_changeSeverityHasBeenSet =
true; m_changeSeverity = std::forward<ChangeSeverityT>(value); }
98 template<
typename ChangeSeverityT = Aws::String>
114 inline void SetUserDefined(
bool value) { m_userDefinedHasBeenSet =
true; m_userDefined = value; }
144 template<
typename ValueOptionsT = Aws::Vector<Aws::String>>
145 void SetValueOptions(ValueOptionsT&& value) { m_valueOptionsHasBeenSet =
true; m_valueOptions = std::forward<ValueOptionsT>(value); }
146 template<
typename ValueOptionsT = Aws::Vector<Aws::String>>
148 template<
typename ValueOptionsT = Aws::String>
159 inline void SetMinValue(
int value) { m_minValueHasBeenSet =
true; m_minValue = value; }
170 inline void SetMaxValue(
int value) { m_maxValueHasBeenSet =
true; m_maxValue = value; }
181 inline void SetMaxLength(
int value) { m_maxLengthHasBeenSet =
true; m_maxLength = value; }
192 template<
typename RegexT = OptionRestrictionRegex>
193 void SetRegex(RegexT&& value) { m_regexHasBeenSet =
true; m_regex = std::forward<RegexT>(value); }
194 template<
typename RegexT = OptionRestrictionRegex>
200 bool m_namespaceHasBeenSet =
false;
203 bool m_nameHasBeenSet =
false;
206 bool m_defaultValueHasBeenSet =
false;
209 bool m_changeSeverityHasBeenSet =
false;
211 bool m_userDefined{
false};
212 bool m_userDefinedHasBeenSet =
false;
215 bool m_valueTypeHasBeenSet =
false;
218 bool m_valueOptionsHasBeenSet =
false;
221 bool m_minValueHasBeenSet =
false;
224 bool m_maxValueHasBeenSet =
false;
227 bool m_maxLengthHasBeenSet =
false;
229 OptionRestrictionRegex m_regex;
230 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