AWS SDK for C++  1.9.108
AWS SDK for C++
OptionGroupOptionSetting.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace RDS
24 {
25 namespace Model
26 {
27 
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 
49  inline const Aws::String& GetSettingName() const{ return m_settingName; }
50 
54  inline bool SettingNameHasBeenSet() const { return m_settingNameHasBeenSet; }
55 
59  inline void SetSettingName(const Aws::String& value) { m_settingNameHasBeenSet = true; m_settingName = value; }
60 
64  inline void SetSettingName(Aws::String&& value) { m_settingNameHasBeenSet = true; m_settingName = std::move(value); }
65 
69  inline void SetSettingName(const char* value) { m_settingNameHasBeenSet = true; m_settingName.assign(value); }
70 
74  inline OptionGroupOptionSetting& WithSettingName(const Aws::String& value) { SetSettingName(value); return *this;}
75 
79  inline OptionGroupOptionSetting& WithSettingName(Aws::String&& value) { SetSettingName(std::move(value)); return *this;}
80 
84  inline OptionGroupOptionSetting& WithSettingName(const char* value) { SetSettingName(value); return *this;}
85 
86 
90  inline const Aws::String& GetSettingDescription() const{ return m_settingDescription; }
91 
95  inline bool SettingDescriptionHasBeenSet() const { return m_settingDescriptionHasBeenSet; }
96 
100  inline void SetSettingDescription(const Aws::String& value) { m_settingDescriptionHasBeenSet = true; m_settingDescription = value; }
101 
105  inline void SetSettingDescription(Aws::String&& value) { m_settingDescriptionHasBeenSet = true; m_settingDescription = std::move(value); }
106 
110  inline void SetSettingDescription(const char* value) { m_settingDescriptionHasBeenSet = true; m_settingDescription.assign(value); }
111 
115  inline OptionGroupOptionSetting& WithSettingDescription(const Aws::String& value) { SetSettingDescription(value); return *this;}
116 
120  inline OptionGroupOptionSetting& WithSettingDescription(Aws::String&& value) { SetSettingDescription(std::move(value)); return *this;}
121 
125  inline OptionGroupOptionSetting& WithSettingDescription(const char* value) { SetSettingDescription(value); return *this;}
126 
127 
131  inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
132 
136  inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
137 
141  inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
142 
146  inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
147 
151  inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
152 
156  inline OptionGroupOptionSetting& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
157 
161  inline OptionGroupOptionSetting& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
162 
166  inline OptionGroupOptionSetting& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
167 
168 
172  inline const Aws::String& GetApplyType() const{ return m_applyType; }
173 
177  inline bool ApplyTypeHasBeenSet() const { return m_applyTypeHasBeenSet; }
178 
182  inline void SetApplyType(const Aws::String& value) { m_applyTypeHasBeenSet = true; m_applyType = value; }
183 
187  inline void SetApplyType(Aws::String&& value) { m_applyTypeHasBeenSet = true; m_applyType = std::move(value); }
188 
192  inline void SetApplyType(const char* value) { m_applyTypeHasBeenSet = true; m_applyType.assign(value); }
193 
197  inline OptionGroupOptionSetting& WithApplyType(const Aws::String& value) { SetApplyType(value); return *this;}
198 
202  inline OptionGroupOptionSetting& WithApplyType(Aws::String&& value) { SetApplyType(std::move(value)); return *this;}
203 
207  inline OptionGroupOptionSetting& WithApplyType(const char* value) { SetApplyType(value); return *this;}
208 
209 
213  inline const Aws::String& GetAllowedValues() const{ return m_allowedValues; }
214 
218  inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
219 
223  inline void SetAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; }
224 
228  inline void SetAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); }
229 
233  inline void SetAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.assign(value); }
234 
238  inline OptionGroupOptionSetting& WithAllowedValues(const Aws::String& value) { SetAllowedValues(value); return *this;}
239 
243  inline OptionGroupOptionSetting& WithAllowedValues(Aws::String&& value) { SetAllowedValues(std::move(value)); return *this;}
244 
248  inline OptionGroupOptionSetting& WithAllowedValues(const char* value) { SetAllowedValues(value); return *this;}
249 
250 
255  inline bool GetIsModifiable() const{ return m_isModifiable; }
256 
261  inline bool IsModifiableHasBeenSet() const { return m_isModifiableHasBeenSet; }
262 
267  inline void SetIsModifiable(bool value) { m_isModifiableHasBeenSet = true; m_isModifiable = value; }
268 
273  inline OptionGroupOptionSetting& WithIsModifiable(bool value) { SetIsModifiable(value); return *this;}
274 
275 
280  inline bool GetIsRequired() const{ return m_isRequired; }
281 
286  inline bool IsRequiredHasBeenSet() const { return m_isRequiredHasBeenSet; }
287 
292  inline void SetIsRequired(bool value) { m_isRequiredHasBeenSet = true; m_isRequired = value; }
293 
298  inline OptionGroupOptionSetting& WithIsRequired(bool value) { SetIsRequired(value); return *this;}
299 
300 
305  inline const Aws::Vector<MinimumEngineVersionPerAllowedValue>& GetMinimumEngineVersionPerAllowedValue() const{ return m_minimumEngineVersionPerAllowedValue; }
306 
311  inline bool MinimumEngineVersionPerAllowedValueHasBeenSet() const { return m_minimumEngineVersionPerAllowedValueHasBeenSet; }
312 
317  inline void SetMinimumEngineVersionPerAllowedValue(const Aws::Vector<MinimumEngineVersionPerAllowedValue>& value) { m_minimumEngineVersionPerAllowedValueHasBeenSet = true; m_minimumEngineVersionPerAllowedValue = value; }
318 
323  inline void SetMinimumEngineVersionPerAllowedValue(Aws::Vector<MinimumEngineVersionPerAllowedValue>&& value) { m_minimumEngineVersionPerAllowedValueHasBeenSet = true; m_minimumEngineVersionPerAllowedValue = std::move(value); }
324 
329  inline OptionGroupOptionSetting& WithMinimumEngineVersionPerAllowedValue(const Aws::Vector<MinimumEngineVersionPerAllowedValue>& value) { SetMinimumEngineVersionPerAllowedValue(value); return *this;}
330 
335  inline OptionGroupOptionSetting& WithMinimumEngineVersionPerAllowedValue(Aws::Vector<MinimumEngineVersionPerAllowedValue>&& value) { SetMinimumEngineVersionPerAllowedValue(std::move(value)); return *this;}
336 
341  inline OptionGroupOptionSetting& AddMinimumEngineVersionPerAllowedValue(const MinimumEngineVersionPerAllowedValue& value) { m_minimumEngineVersionPerAllowedValueHasBeenSet = true; m_minimumEngineVersionPerAllowedValue.push_back(value); return *this; }
342 
347  inline OptionGroupOptionSetting& AddMinimumEngineVersionPerAllowedValue(MinimumEngineVersionPerAllowedValue&& value) { m_minimumEngineVersionPerAllowedValueHasBeenSet = true; m_minimumEngineVersionPerAllowedValue.push_back(std::move(value)); return *this; }
348 
349  private:
350 
351  Aws::String m_settingName;
352  bool m_settingNameHasBeenSet;
353 
354  Aws::String m_settingDescription;
355  bool m_settingDescriptionHasBeenSet;
356 
357  Aws::String m_defaultValue;
358  bool m_defaultValueHasBeenSet;
359 
360  Aws::String m_applyType;
361  bool m_applyTypeHasBeenSet;
362 
363  Aws::String m_allowedValues;
364  bool m_allowedValuesHasBeenSet;
365 
366  bool m_isModifiable;
367  bool m_isModifiableHasBeenSet;
368 
369  bool m_isRequired;
370  bool m_isRequiredHasBeenSet;
371 
372  Aws::Vector<MinimumEngineVersionPerAllowedValue> m_minimumEngineVersionPerAllowedValue;
373  bool m_minimumEngineVersionPerAllowedValueHasBeenSet;
374  };
375 
376 } // namespace Model
377 } // namespace RDS
378 } // namespace Aws
Aws::RDS::Model::OptionGroupOptionSetting::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::OptionGroupOptionSetting::DefaultValueHasBeenSet
bool DefaultValueHasBeenSet() const
Definition: OptionGroupOptionSetting.h:136
Aws::RDS::Model::OptionGroupOptionSetting::AllowedValuesHasBeenSet
bool AllowedValuesHasBeenSet() const
Definition: OptionGroupOptionSetting.h:218
Aws::RDS::Model::OptionGroupOptionSetting::WithApplyType
OptionGroupOptionSetting & WithApplyType(const char *value)
Definition: OptionGroupOptionSetting.h:207
Aws::RDS::Model::OptionGroupOptionSetting::WithAllowedValues
OptionGroupOptionSetting & WithAllowedValues(const char *value)
Definition: OptionGroupOptionSetting.h:248
Aws::RDS::Model::OptionGroupOptionSetting::SetDefaultValue
void SetDefaultValue(Aws::String &&value)
Definition: OptionGroupOptionSetting.h:146
Aws::RDS::Model::OptionGroupOptionSetting::SetIsModifiable
void SetIsModifiable(bool value)
Definition: OptionGroupOptionSetting.h:267
Aws::RDS::Model::OptionGroupOptionSetting::WithDefaultValue
OptionGroupOptionSetting & WithDefaultValue(const char *value)
Definition: OptionGroupOptionSetting.h:166
Aws::RDS::Model::OptionGroupOptionSetting::SetAllowedValues
void SetAllowedValues(const char *value)
Definition: OptionGroupOptionSetting.h:233
Aws::RDS::Model::OptionGroupOptionSetting::SetSettingName
void SetSettingName(Aws::String &&value)
Definition: OptionGroupOptionSetting.h:64
Aws::RDS::Model::OptionGroupOptionSetting::SetSettingDescription
void SetSettingDescription(const Aws::String &value)
Definition: OptionGroupOptionSetting.h:100
Aws::RDS::Model::OptionGroupOptionSetting::GetSettingDescription
const Aws::String & GetSettingDescription() const
Definition: OptionGroupOptionSetting.h:90
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::OptionGroupOptionSetting::AddMinimumEngineVersionPerAllowedValue
OptionGroupOptionSetting & AddMinimumEngineVersionPerAllowedValue(const MinimumEngineVersionPerAllowedValue &value)
Definition: OptionGroupOptionSetting.h:341
Aws::RDS::Model::OptionGroupOptionSetting::GetIsModifiable
bool GetIsModifiable() const
Definition: OptionGroupOptionSetting.h:255
Aws::RDS::Model::OptionGroupOptionSetting::WithIsRequired
OptionGroupOptionSetting & WithIsRequired(bool value)
Definition: OptionGroupOptionSetting.h:298
Aws::RDS::Model::OptionGroupOptionSetting::WithSettingDescription
OptionGroupOptionSetting & WithSettingDescription(const Aws::String &value)
Definition: OptionGroupOptionSetting.h:115
Aws::RDS::Model::OptionGroupOptionSetting::operator=
OptionGroupOptionSetting & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::OptionGroupOptionSetting::GetMinimumEngineVersionPerAllowedValue
const Aws::Vector< MinimumEngineVersionPerAllowedValue > & GetMinimumEngineVersionPerAllowedValue() const
Definition: OptionGroupOptionSetting.h:305
Aws::RDS::Model::OptionGroupOptionSetting::OptionGroupOptionSetting
OptionGroupOptionSetting()
Aws::RDS::Model::OptionGroupOptionSetting::SetMinimumEngineVersionPerAllowedValue
void SetMinimumEngineVersionPerAllowedValue(Aws::Vector< MinimumEngineVersionPerAllowedValue > &&value)
Definition: OptionGroupOptionSetting.h:323
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::OptionGroupOptionSetting::SetDefaultValue
void SetDefaultValue(const char *value)
Definition: OptionGroupOptionSetting.h:151
Aws::RDS::Model::OptionGroupOptionSetting::GetSettingName
const Aws::String & GetSettingName() const
Definition: OptionGroupOptionSetting.h:49
AWSStreamFwd.h
AWSVector.h
Aws::RDS::Model::OptionGroupOptionSetting::GetIsRequired
bool GetIsRequired() const
Definition: OptionGroupOptionSetting.h:280
Aws::RDS::Model::OptionGroupOptionSetting::SetSettingName
void SetSettingName(const Aws::String &value)
Definition: OptionGroupOptionSetting.h:59
Aws::RDS::Model::OptionGroupOptionSetting::WithApplyType
OptionGroupOptionSetting & WithApplyType(Aws::String &&value)
Definition: OptionGroupOptionSetting.h:202
Aws::RDS::Model::OptionGroupOptionSetting::SetIsRequired
void SetIsRequired(bool value)
Definition: OptionGroupOptionSetting.h:292
Aws::RDS::Model::OptionGroupOptionSetting::GetDefaultValue
const Aws::String & GetDefaultValue() const
Definition: OptionGroupOptionSetting.h:131
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::OptionGroupOptionSetting::AddMinimumEngineVersionPerAllowedValue
OptionGroupOptionSetting & AddMinimumEngineVersionPerAllowedValue(MinimumEngineVersionPerAllowedValue &&value)
Definition: OptionGroupOptionSetting.h:347
Aws::RDS::Model::OptionGroupOptionSetting::SetMinimumEngineVersionPerAllowedValue
void SetMinimumEngineVersionPerAllowedValue(const Aws::Vector< MinimumEngineVersionPerAllowedValue > &value)
Definition: OptionGroupOptionSetting.h:317
Aws::RDS::Model::OptionGroupOptionSetting::WithMinimumEngineVersionPerAllowedValue
OptionGroupOptionSetting & WithMinimumEngineVersionPerAllowedValue(const Aws::Vector< MinimumEngineVersionPerAllowedValue > &value)
Definition: OptionGroupOptionSetting.h:329
Aws::RDS::Model::OptionGroupOptionSetting
Definition: OptionGroupOptionSetting.h:36
RDS_EXPORTS.h
Aws::RDS::Model::OptionGroupOptionSetting::WithIsModifiable
OptionGroupOptionSetting & WithIsModifiable(bool value)
Definition: OptionGroupOptionSetting.h:273
Aws::RDS::Model::OptionGroupOptionSetting::ApplyTypeHasBeenSet
bool ApplyTypeHasBeenSet() const
Definition: OptionGroupOptionSetting.h:177
Aws::RDS::Model::OptionGroupOptionSetting::WithMinimumEngineVersionPerAllowedValue
OptionGroupOptionSetting & WithMinimumEngineVersionPerAllowedValue(Aws::Vector< MinimumEngineVersionPerAllowedValue > &&value)
Definition: OptionGroupOptionSetting.h:335
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::OptionGroupOptionSetting::SettingNameHasBeenSet
bool SettingNameHasBeenSet() const
Definition: OptionGroupOptionSetting.h:54
Aws::RDS::Model::OptionGroupOptionSetting::SetSettingName
void SetSettingName(const char *value)
Definition: OptionGroupOptionSetting.h:69
Aws::RDS::Model::OptionGroupOptionSetting::IsRequiredHasBeenSet
bool IsRequiredHasBeenSet() const
Definition: OptionGroupOptionSetting.h:286
Aws::RDS::Model::OptionGroupOptionSetting::WithAllowedValues
OptionGroupOptionSetting & WithAllowedValues(const Aws::String &value)
Definition: OptionGroupOptionSetting.h:238
AWSString.h
Aws::RDS::Model::MinimumEngineVersionPerAllowedValue
Definition: MinimumEngineVersionPerAllowedValue.h:33
Aws::RDS::Model::OptionGroupOptionSetting::SetAllowedValues
void SetAllowedValues(Aws::String &&value)
Definition: OptionGroupOptionSetting.h:228
Aws::RDS::Model::OptionGroupOptionSetting::MinimumEngineVersionPerAllowedValueHasBeenSet
bool MinimumEngineVersionPerAllowedValueHasBeenSet() const
Definition: OptionGroupOptionSetting.h:311
Aws::RDS::Model::OptionGroupOptionSetting::SetSettingDescription
void SetSettingDescription(Aws::String &&value)
Definition: OptionGroupOptionSetting.h:105
MinimumEngineVersionPerAllowedValue.h
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::OptionGroupOptionSetting::SetApplyType
void SetApplyType(Aws::String &&value)
Definition: OptionGroupOptionSetting.h:187
Aws::RDS::Model::OptionGroupOptionSetting::WithSettingDescription
OptionGroupOptionSetting & WithSettingDescription(Aws::String &&value)
Definition: OptionGroupOptionSetting.h:120
Aws::RDS::Model::OptionGroupOptionSetting::WithAllowedValues
OptionGroupOptionSetting & WithAllowedValues(Aws::String &&value)
Definition: OptionGroupOptionSetting.h:243
Aws::RDS::Model::OptionGroupOptionSetting::SetAllowedValues
void SetAllowedValues(const Aws::String &value)
Definition: OptionGroupOptionSetting.h:223
Aws::RDS::Model::OptionGroupOptionSetting::SetSettingDescription
void SetSettingDescription(const char *value)
Definition: OptionGroupOptionSetting.h:110
Aws::RDS::Model::OptionGroupOptionSetting::WithApplyType
OptionGroupOptionSetting & WithApplyType(const Aws::String &value)
Definition: OptionGroupOptionSetting.h:197
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::OptionGroupOptionSetting::SetApplyType
void SetApplyType(const Aws::String &value)
Definition: OptionGroupOptionSetting.h:182
Aws::RDS::Model::OptionGroupOptionSetting::SettingDescriptionHasBeenSet
bool SettingDescriptionHasBeenSet() const
Definition: OptionGroupOptionSetting.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::OptionGroupOptionSetting::WithSettingName
OptionGroupOptionSetting & WithSettingName(Aws::String &&value)
Definition: OptionGroupOptionSetting.h:79
Aws::RDS::Model::OptionGroupOptionSetting::GetApplyType
const Aws::String & GetApplyType() const
Definition: OptionGroupOptionSetting.h:172
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::OptionGroupOptionSetting::OptionGroupOptionSetting
OptionGroupOptionSetting(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::OptionGroupOptionSetting::SetApplyType
void SetApplyType(const char *value)
Definition: OptionGroupOptionSetting.h:192
Aws::RDS::Model::OptionGroupOptionSetting::WithDefaultValue
OptionGroupOptionSetting & WithDefaultValue(const Aws::String &value)
Definition: OptionGroupOptionSetting.h:156
Aws::RDS::Model::OptionGroupOptionSetting::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::OptionGroupOptionSetting::WithSettingDescription
OptionGroupOptionSetting & WithSettingDescription(const char *value)
Definition: OptionGroupOptionSetting.h:125
Aws::RDS::Model::OptionGroupOptionSetting::WithDefaultValue
OptionGroupOptionSetting & WithDefaultValue(Aws::String &&value)
Definition: OptionGroupOptionSetting.h:161
Aws::RDS::Model::OptionGroupOptionSetting::GetAllowedValues
const Aws::String & GetAllowedValues() const
Definition: OptionGroupOptionSetting.h:213
Aws::RDS::Model::OptionGroupOptionSetting::IsModifiableHasBeenSet
bool IsModifiableHasBeenSet() const
Definition: OptionGroupOptionSetting.h:261
Aws::RDS::Model::OptionGroupOptionSetting::WithSettingName
OptionGroupOptionSetting & WithSettingName(const char *value)
Definition: OptionGroupOptionSetting.h:84
Aws::RDS::Model::OptionGroupOptionSetting::SetDefaultValue
void SetDefaultValue(const Aws::String &value)
Definition: OptionGroupOptionSetting.h:141
Aws::RDS::Model::OptionGroupOptionSetting::WithSettingName
OptionGroupOptionSetting & WithSettingName(const Aws::String &value)
Definition: OptionGroupOptionSetting.h:74