AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OptionGroupOptionSetting.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/MinimumEngineVersionPerAllowedValue.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace RDS
24{
25namespace Model
26{
27
36 {
37 public:
41
42 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const Aws::String& GetSettingName() const{ return m_settingName; }
51 inline bool SettingNameHasBeenSet() const { return m_settingNameHasBeenSet; }
52 inline void SetSettingName(const Aws::String& value) { m_settingNameHasBeenSet = true; m_settingName = value; }
53 inline void SetSettingName(Aws::String&& value) { m_settingNameHasBeenSet = true; m_settingName = std::move(value); }
54 inline void SetSettingName(const char* value) { m_settingNameHasBeenSet = true; m_settingName.assign(value); }
55 inline OptionGroupOptionSetting& WithSettingName(const Aws::String& value) { SetSettingName(value); return *this;}
56 inline OptionGroupOptionSetting& WithSettingName(Aws::String&& value) { SetSettingName(std::move(value)); return *this;}
57 inline OptionGroupOptionSetting& WithSettingName(const char* value) { SetSettingName(value); return *this;}
59
61
64 inline const Aws::String& GetSettingDescription() const{ return m_settingDescription; }
65 inline bool SettingDescriptionHasBeenSet() const { return m_settingDescriptionHasBeenSet; }
66 inline void SetSettingDescription(const Aws::String& value) { m_settingDescriptionHasBeenSet = true; m_settingDescription = value; }
67 inline void SetSettingDescription(Aws::String&& value) { m_settingDescriptionHasBeenSet = true; m_settingDescription = std::move(value); }
68 inline void SetSettingDescription(const char* value) { m_settingDescriptionHasBeenSet = true; m_settingDescription.assign(value); }
70 inline OptionGroupOptionSetting& WithSettingDescription(Aws::String&& value) { SetSettingDescription(std::move(value)); return *this;}
71 inline OptionGroupOptionSetting& WithSettingDescription(const char* value) { SetSettingDescription(value); return *this;}
73
75
78 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
79 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
80 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
81 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
82 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
83 inline OptionGroupOptionSetting& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
84 inline OptionGroupOptionSetting& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
85 inline OptionGroupOptionSetting& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
87
89
92 inline const Aws::String& GetApplyType() const{ return m_applyType; }
93 inline bool ApplyTypeHasBeenSet() const { return m_applyTypeHasBeenSet; }
94 inline void SetApplyType(const Aws::String& value) { m_applyTypeHasBeenSet = true; m_applyType = value; }
95 inline void SetApplyType(Aws::String&& value) { m_applyTypeHasBeenSet = true; m_applyType = std::move(value); }
96 inline void SetApplyType(const char* value) { m_applyTypeHasBeenSet = true; m_applyType.assign(value); }
97 inline OptionGroupOptionSetting& WithApplyType(const Aws::String& value) { SetApplyType(value); return *this;}
98 inline OptionGroupOptionSetting& WithApplyType(Aws::String&& value) { SetApplyType(std::move(value)); return *this;}
99 inline OptionGroupOptionSetting& WithApplyType(const char* value) { SetApplyType(value); return *this;}
101
103
106 inline const Aws::String& GetAllowedValues() const{ return m_allowedValues; }
107 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
108 inline void SetAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; }
109 inline void SetAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); }
110 inline void SetAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.assign(value); }
111 inline OptionGroupOptionSetting& WithAllowedValues(const Aws::String& value) { SetAllowedValues(value); return *this;}
112 inline OptionGroupOptionSetting& WithAllowedValues(Aws::String&& value) { SetAllowedValues(std::move(value)); return *this;}
113 inline OptionGroupOptionSetting& WithAllowedValues(const char* value) { SetAllowedValues(value); return *this;}
115
117
121 inline bool GetIsModifiable() const{ return m_isModifiable; }
122 inline bool IsModifiableHasBeenSet() const { return m_isModifiableHasBeenSet; }
123 inline void SetIsModifiable(bool value) { m_isModifiableHasBeenSet = true; m_isModifiable = value; }
124 inline OptionGroupOptionSetting& WithIsModifiable(bool value) { SetIsModifiable(value); return *this;}
126
128
132 inline bool GetIsRequired() const{ return m_isRequired; }
133 inline bool IsRequiredHasBeenSet() const { return m_isRequiredHasBeenSet; }
134 inline void SetIsRequired(bool value) { m_isRequiredHasBeenSet = true; m_isRequired = value; }
135 inline OptionGroupOptionSetting& WithIsRequired(bool value) { SetIsRequired(value); return *this;}
137
139
143 inline const Aws::Vector<MinimumEngineVersionPerAllowedValue>& GetMinimumEngineVersionPerAllowedValue() const{ return m_minimumEngineVersionPerAllowedValue; }
144 inline bool MinimumEngineVersionPerAllowedValueHasBeenSet() const { return m_minimumEngineVersionPerAllowedValueHasBeenSet; }
145 inline void SetMinimumEngineVersionPerAllowedValue(const Aws::Vector<MinimumEngineVersionPerAllowedValue>& value) { m_minimumEngineVersionPerAllowedValueHasBeenSet = true; m_minimumEngineVersionPerAllowedValue = value; }
146 inline void SetMinimumEngineVersionPerAllowedValue(Aws::Vector<MinimumEngineVersionPerAllowedValue>&& value) { m_minimumEngineVersionPerAllowedValueHasBeenSet = true; m_minimumEngineVersionPerAllowedValue = std::move(value); }
149 inline OptionGroupOptionSetting& AddMinimumEngineVersionPerAllowedValue(const MinimumEngineVersionPerAllowedValue& value) { m_minimumEngineVersionPerAllowedValueHasBeenSet = true; m_minimumEngineVersionPerAllowedValue.push_back(value); return *this; }
150 inline OptionGroupOptionSetting& AddMinimumEngineVersionPerAllowedValue(MinimumEngineVersionPerAllowedValue&& value) { m_minimumEngineVersionPerAllowedValueHasBeenSet = true; m_minimumEngineVersionPerAllowedValue.push_back(std::move(value)); return *this; }
152 private:
153
154 Aws::String m_settingName;
155 bool m_settingNameHasBeenSet = false;
156
157 Aws::String m_settingDescription;
158 bool m_settingDescriptionHasBeenSet = false;
159
160 Aws::String m_defaultValue;
161 bool m_defaultValueHasBeenSet = false;
162
163 Aws::String m_applyType;
164 bool m_applyTypeHasBeenSet = false;
165
166 Aws::String m_allowedValues;
167 bool m_allowedValuesHasBeenSet = false;
168
169 bool m_isModifiable;
170 bool m_isModifiableHasBeenSet = false;
171
172 bool m_isRequired;
173 bool m_isRequiredHasBeenSet = false;
174
175 Aws::Vector<MinimumEngineVersionPerAllowedValue> m_minimumEngineVersionPerAllowedValue;
176 bool m_minimumEngineVersionPerAllowedValueHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace RDS
181} // namespace Aws
void SetMinimumEngineVersionPerAllowedValue(Aws::Vector< MinimumEngineVersionPerAllowedValue > &&value)
OptionGroupOptionSetting & WithSettingDescription(const char *value)
OptionGroupOptionSetting & AddMinimumEngineVersionPerAllowedValue(MinimumEngineVersionPerAllowedValue &&value)
const Aws::Vector< MinimumEngineVersionPerAllowedValue > & GetMinimumEngineVersionPerAllowedValue() const
OptionGroupOptionSetting & WithApplyType(Aws::String &&value)
OptionGroupOptionSetting & WithSettingName(Aws::String &&value)
OptionGroupOptionSetting & WithDefaultValue(const Aws::String &value)
void SetSettingDescription(const Aws::String &value)
OptionGroupOptionSetting & WithApplyType(const Aws::String &value)
OptionGroupOptionSetting & WithIsModifiable(bool value)
OptionGroupOptionSetting & WithApplyType(const char *value)
OptionGroupOptionSetting & AddMinimumEngineVersionPerAllowedValue(const MinimumEngineVersionPerAllowedValue &value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
OptionGroupOptionSetting & WithAllowedValues(const Aws::String &value)
OptionGroupOptionSetting & WithSettingName(const char *value)
OptionGroupOptionSetting & WithIsRequired(bool value)
void SetMinimumEngineVersionPerAllowedValue(const Aws::Vector< MinimumEngineVersionPerAllowedValue > &value)
OptionGroupOptionSetting & WithSettingName(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
OptionGroupOptionSetting & WithAllowedValues(Aws::String &&value)
OptionGroupOptionSetting & WithSettingDescription(Aws::String &&value)
OptionGroupOptionSetting & WithSettingDescription(const Aws::String &value)
OptionGroupOptionSetting & WithMinimumEngineVersionPerAllowedValue(Aws::Vector< MinimumEngineVersionPerAllowedValue > &&value)
OptionGroupOptionSetting & WithAllowedValues(const char *value)
OptionGroupOptionSetting & WithDefaultValue(Aws::String &&value)
OptionGroupOptionSetting & WithDefaultValue(const char *value)
AWS_RDS_API OptionGroupOptionSetting & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API OptionGroupOptionSetting(const Aws::Utils::Xml::XmlNode &xmlNode)
OptionGroupOptionSetting & WithMinimumEngineVersionPerAllowedValue(const Aws::Vector< MinimumEngineVersionPerAllowedValue > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream