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>
21namespace ElasticBeanstalk
39 AWS_ELASTICBEANSTALK_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
52 inline void SetPattern(
const char* value) { m_patternHasBeenSet =
true; m_pattern.assign(value); }
66 inline void SetLabel(
const char* value) { m_labelHasBeenSet =
true; m_label.assign(value); }
74 bool m_patternHasBeenSet =
false;
77 bool m_labelHasBeenSet =
false;
OptionRestrictionRegex & WithLabel(Aws::String &&value)
OptionRestrictionRegex & WithLabel(const Aws::String &value)
OptionRestrictionRegex & WithPattern(Aws::String &&value)
AWS_ELASTICBEANSTALK_API OptionRestrictionRegex & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool LabelHasBeenSet() const
AWS_ELASTICBEANSTALK_API OptionRestrictionRegex(const Aws::Utils::Xml::XmlNode &xmlNode)
OptionRestrictionRegex & WithPattern(const Aws::String &value)
void SetLabel(Aws::String &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetPattern(const char *value)
AWS_ELASTICBEANSTALK_API OptionRestrictionRegex()
const Aws::String & GetPattern() const
void SetPattern(const Aws::String &value)
void SetLabel(const Aws::String &value)
void SetPattern(Aws::String &&value)
bool PatternHasBeenSet() const
void SetLabel(const char *value)
OptionRestrictionRegex & WithPattern(const char *value)
const Aws::String & GetLabel() const
OptionRestrictionRegex & WithLabel(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream