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;
50 template<
typename PatternT = Aws::String>
51 void SetPattern(PatternT&& value) { m_patternHasBeenSet =
true; m_pattern = std::forward<PatternT>(value); }
52 template<
typename PatternT = Aws::String>
62 template<
typename LabelT = Aws::String>
63 void SetLabel(LabelT&& value) { m_labelHasBeenSet =
true; m_label = std::forward<LabelT>(value); }
64 template<
typename LabelT = Aws::String>
70 bool m_patternHasBeenSet =
false;
73 bool m_labelHasBeenSet =
false;
void SetLabel(LabelT &&value)
OptionRestrictionRegex & WithLabel(LabelT &&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)
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
AWS_ELASTICBEANSTALK_API OptionRestrictionRegex()=default
const Aws::String & GetPattern() const
void SetPattern(PatternT &&value)
bool PatternHasBeenSet() const
OptionRestrictionRegex & WithPattern(PatternT &&value)
const Aws::String & GetLabel() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream