7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
19namespace ElasticBeanstalk {
35 const char* locationValue)
const;
45 template <
typename PatternT = Aws::String>
47 m_patternHasBeenSet =
true;
48 m_pattern = std::forward<PatternT>(value);
50 template <
typename PatternT = Aws::String>
63 template <
typename LabelT = Aws::String>
65 m_labelHasBeenSet =
true;
66 m_label = std::forward<LabelT>(value);
68 template <
typename LabelT = Aws::String>
70 SetLabel(std::forward<LabelT>(value));
78 bool m_patternHasBeenSet =
false;
79 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