AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OptionRestrictionRegex.h
1
6#pragma once
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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElasticBeanstalk
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ELASTICBEANSTALK_API OptionRestrictionRegex();
36 AWS_ELASTICBEANSTALK_API OptionRestrictionRegex(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICBEANSTALK_API OptionRestrictionRegex& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
48 inline const Aws::String& GetPattern() const{ return m_pattern; }
49 inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; }
50 inline void SetPattern(const Aws::String& value) { m_patternHasBeenSet = true; m_pattern = value; }
51 inline void SetPattern(Aws::String&& value) { m_patternHasBeenSet = true; m_pattern = std::move(value); }
52 inline void SetPattern(const char* value) { m_patternHasBeenSet = true; m_pattern.assign(value); }
53 inline OptionRestrictionRegex& WithPattern(const Aws::String& value) { SetPattern(value); return *this;}
54 inline OptionRestrictionRegex& WithPattern(Aws::String&& value) { SetPattern(std::move(value)); return *this;}
55 inline OptionRestrictionRegex& WithPattern(const char* value) { SetPattern(value); return *this;}
57
59
62 inline const Aws::String& GetLabel() const{ return m_label; }
63 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
64 inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; }
65 inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); }
66 inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); }
67 inline OptionRestrictionRegex& WithLabel(const Aws::String& value) { SetLabel(value); return *this;}
68 inline OptionRestrictionRegex& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;}
69 inline OptionRestrictionRegex& WithLabel(const char* value) { SetLabel(value); return *this;}
71 private:
72
73 Aws::String m_pattern;
74 bool m_patternHasBeenSet = false;
75
76 Aws::String m_label;
77 bool m_labelHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ElasticBeanstalk
82} // namespace Aws
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)
AWS_ELASTICBEANSTALK_API OptionRestrictionRegex(const Aws::Utils::Xml::XmlNode &xmlNode)
OptionRestrictionRegex & WithPattern(const 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
OptionRestrictionRegex & WithPattern(const char *value)
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