AWS SDK for C++  1.9.108
AWS SDK for C++
AvailableProcessorFeature.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace RDS
22 {
23 namespace Model
24 {
25 
36  {
37  public:
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  void OutputToStream(Aws::OStream& oStream, const char* location) const;
44 
45 
50  inline const Aws::String& GetName() const{ return m_name; }
51 
56  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 
62  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 
68  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
69 
74  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
75 
80  inline AvailableProcessorFeature& WithName(const Aws::String& value) { SetName(value); return *this;}
81 
86  inline AvailableProcessorFeature& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
87 
92  inline AvailableProcessorFeature& WithName(const char* value) { SetName(value); return *this;}
93 
94 
98  inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
99 
103  inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
104 
108  inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
109 
113  inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
114 
118  inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
119 
123  inline AvailableProcessorFeature& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
124 
128  inline AvailableProcessorFeature& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
129 
133  inline AvailableProcessorFeature& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
134 
135 
139  inline const Aws::String& GetAllowedValues() const{ return m_allowedValues; }
140 
144  inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
145 
149  inline void SetAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; }
150 
154  inline void SetAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); }
155 
159  inline void SetAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.assign(value); }
160 
164  inline AvailableProcessorFeature& WithAllowedValues(const Aws::String& value) { SetAllowedValues(value); return *this;}
165 
169  inline AvailableProcessorFeature& WithAllowedValues(Aws::String&& value) { SetAllowedValues(std::move(value)); return *this;}
170 
174  inline AvailableProcessorFeature& WithAllowedValues(const char* value) { SetAllowedValues(value); return *this;}
175 
176  private:
177 
178  Aws::String m_name;
179  bool m_nameHasBeenSet;
180 
181  Aws::String m_defaultValue;
182  bool m_defaultValueHasBeenSet;
183 
184  Aws::String m_allowedValues;
185  bool m_allowedValuesHasBeenSet;
186  };
187 
188 } // namespace Model
189 } // namespace RDS
190 } // namespace Aws
Aws::RDS::Model::AvailableProcessorFeature::WithAllowedValues
AvailableProcessorFeature & WithAllowedValues(const Aws::String &value)
Definition: AvailableProcessorFeature.h:164
Aws::RDS::Model::AvailableProcessorFeature::SetDefaultValue
void SetDefaultValue(const Aws::String &value)
Definition: AvailableProcessorFeature.h:108
Aws::RDS::Model::AvailableProcessorFeature::GetName
const Aws::String & GetName() const
Definition: AvailableProcessorFeature.h:50
Aws::RDS::Model::AvailableProcessorFeature::WithName
AvailableProcessorFeature & WithName(Aws::String &&value)
Definition: AvailableProcessorFeature.h:86
Aws::RDS::Model::AvailableProcessorFeature::WithDefaultValue
AvailableProcessorFeature & WithDefaultValue(Aws::String &&value)
Definition: AvailableProcessorFeature.h:128
Aws::RDS::Model::AvailableProcessorFeature::WithName
AvailableProcessorFeature & WithName(const char *value)
Definition: AvailableProcessorFeature.h:92
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::AvailableProcessorFeature::SetName
void SetName(Aws::String &&value)
Definition: AvailableProcessorFeature.h:68
Aws::RDS::Model::AvailableProcessorFeature::operator=
AvailableProcessorFeature & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::AvailableProcessorFeature::WithName
AvailableProcessorFeature & WithName(const Aws::String &value)
Definition: AvailableProcessorFeature.h:80
AWSStreamFwd.h
Aws::RDS::Model::AvailableProcessorFeature::AvailableProcessorFeature
AvailableProcessorFeature()
Aws::RDS::Model::AvailableProcessorFeature::SetName
void SetName(const Aws::String &value)
Definition: AvailableProcessorFeature.h:62
Aws::RDS::Model::AvailableProcessorFeature::NameHasBeenSet
bool NameHasBeenSet() const
Definition: AvailableProcessorFeature.h:56
Aws::RDS::Model::AvailableProcessorFeature::GetDefaultValue
const Aws::String & GetDefaultValue() const
Definition: AvailableProcessorFeature.h:98
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::AvailableProcessorFeature::WithAllowedValues
AvailableProcessorFeature & WithAllowedValues(const char *value)
Definition: AvailableProcessorFeature.h:174
Aws::RDS::Model::AvailableProcessorFeature::SetAllowedValues
void SetAllowedValues(Aws::String &&value)
Definition: AvailableProcessorFeature.h:154
Aws::RDS::Model::AvailableProcessorFeature::GetAllowedValues
const Aws::String & GetAllowedValues() const
Definition: AvailableProcessorFeature.h:139
Aws::RDS::Model::AvailableProcessorFeature::SetAllowedValues
void SetAllowedValues(const Aws::String &value)
Definition: AvailableProcessorFeature.h:149
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::AvailableProcessorFeature::WithDefaultValue
AvailableProcessorFeature & WithDefaultValue(const Aws::String &value)
Definition: AvailableProcessorFeature.h:123
Aws::RDS::Model::AvailableProcessorFeature::WithAllowedValues
AvailableProcessorFeature & WithAllowedValues(Aws::String &&value)
Definition: AvailableProcessorFeature.h:169
Aws::RDS::Model::AvailableProcessorFeature::SetDefaultValue
void SetDefaultValue(const char *value)
Definition: AvailableProcessorFeature.h:118
AWSString.h
Aws::RDS::Model::AvailableProcessorFeature::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::AvailableProcessorFeature::WithDefaultValue
AvailableProcessorFeature & WithDefaultValue(const char *value)
Definition: AvailableProcessorFeature.h:133
Aws::RDS::Model::AvailableProcessorFeature::SetAllowedValues
void SetAllowedValues(const char *value)
Definition: AvailableProcessorFeature.h:159
Aws::RDS::Model::AvailableProcessorFeature
Definition: AvailableProcessorFeature.h:36
Aws::RDS::Model::AvailableProcessorFeature::AllowedValuesHasBeenSet
bool AllowedValuesHasBeenSet() const
Definition: AvailableProcessorFeature.h:144
Aws::RDS::Model::AvailableProcessorFeature::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::AvailableProcessorFeature::SetName
void SetName(const char *value)
Definition: AvailableProcessorFeature.h:74
Aws::RDS::Model::AvailableProcessorFeature::DefaultValueHasBeenSet
bool DefaultValueHasBeenSet() const
Definition: AvailableProcessorFeature.h:103
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::AvailableProcessorFeature::AvailableProcessorFeature
AvailableProcessorFeature(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::AvailableProcessorFeature::SetDefaultValue
void SetDefaultValue(Aws::String &&value)
Definition: AvailableProcessorFeature.h:113