AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Parameter.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/rds/model/ApplyMethod.h>
11#include <aws/core/utils/memory/stl/AWSVector.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
38 {
39 public:
40 AWS_RDS_API Parameter();
41 AWS_RDS_API Parameter(const Aws::Utils::Xml::XmlNode& xmlNode);
42 AWS_RDS_API Parameter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
43
44 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
52 inline const Aws::String& GetParameterName() const{ return m_parameterName; }
53 inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
54 inline void SetParameterName(const Aws::String& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; }
55 inline void SetParameterName(Aws::String&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::move(value); }
56 inline void SetParameterName(const char* value) { m_parameterNameHasBeenSet = true; m_parameterName.assign(value); }
57 inline Parameter& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;}
58 inline Parameter& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;}
59 inline Parameter& WithParameterName(const char* value) { SetParameterName(value); return *this;}
61
63
66 inline const Aws::String& GetParameterValue() const{ return m_parameterValue; }
67 inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; }
68 inline void SetParameterValue(const Aws::String& value) { m_parameterValueHasBeenSet = true; m_parameterValue = value; }
69 inline void SetParameterValue(Aws::String&& value) { m_parameterValueHasBeenSet = true; m_parameterValue = std::move(value); }
70 inline void SetParameterValue(const char* value) { m_parameterValueHasBeenSet = true; m_parameterValue.assign(value); }
71 inline Parameter& WithParameterValue(const Aws::String& value) { SetParameterValue(value); return *this;}
72 inline Parameter& WithParameterValue(Aws::String&& value) { SetParameterValue(std::move(value)); return *this;}
73 inline Parameter& WithParameterValue(const char* value) { SetParameterValue(value); return *this;}
75
77
80 inline const Aws::String& GetDescription() const{ return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
83 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
84 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
85 inline Parameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
86 inline Parameter& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
87 inline Parameter& WithDescription(const char* value) { SetDescription(value); return *this;}
89
91
94 inline const Aws::String& GetSource() const{ return m_source; }
95 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
96 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
97 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
98 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
99 inline Parameter& WithSource(const Aws::String& value) { SetSource(value); return *this;}
100 inline Parameter& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
101 inline Parameter& WithSource(const char* value) { SetSource(value); return *this;}
103
105
108 inline const Aws::String& GetApplyType() const{ return m_applyType; }
109 inline bool ApplyTypeHasBeenSet() const { return m_applyTypeHasBeenSet; }
110 inline void SetApplyType(const Aws::String& value) { m_applyTypeHasBeenSet = true; m_applyType = value; }
111 inline void SetApplyType(Aws::String&& value) { m_applyTypeHasBeenSet = true; m_applyType = std::move(value); }
112 inline void SetApplyType(const char* value) { m_applyTypeHasBeenSet = true; m_applyType.assign(value); }
113 inline Parameter& WithApplyType(const Aws::String& value) { SetApplyType(value); return *this;}
114 inline Parameter& WithApplyType(Aws::String&& value) { SetApplyType(std::move(value)); return *this;}
115 inline Parameter& WithApplyType(const char* value) { SetApplyType(value); return *this;}
117
119
122 inline const Aws::String& GetDataType() const{ return m_dataType; }
123 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
124 inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
125 inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
126 inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); }
127 inline Parameter& WithDataType(const Aws::String& value) { SetDataType(value); return *this;}
128 inline Parameter& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;}
129 inline Parameter& WithDataType(const char* value) { SetDataType(value); return *this;}
131
133
136 inline const Aws::String& GetAllowedValues() const{ return m_allowedValues; }
137 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
138 inline void SetAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; }
139 inline void SetAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); }
140 inline void SetAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.assign(value); }
141 inline Parameter& WithAllowedValues(const Aws::String& value) { SetAllowedValues(value); return *this;}
142 inline Parameter& WithAllowedValues(Aws::String&& value) { SetAllowedValues(std::move(value)); return *this;}
143 inline Parameter& WithAllowedValues(const char* value) { SetAllowedValues(value); return *this;}
145
147
152 inline bool GetIsModifiable() const{ return m_isModifiable; }
153 inline bool IsModifiableHasBeenSet() const { return m_isModifiableHasBeenSet; }
154 inline void SetIsModifiable(bool value) { m_isModifiableHasBeenSet = true; m_isModifiable = value; }
155 inline Parameter& WithIsModifiable(bool value) { SetIsModifiable(value); return *this;}
157
159
162 inline const Aws::String& GetMinimumEngineVersion() const{ return m_minimumEngineVersion; }
163 inline bool MinimumEngineVersionHasBeenSet() const { return m_minimumEngineVersionHasBeenSet; }
164 inline void SetMinimumEngineVersion(const Aws::String& value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion = value; }
165 inline void SetMinimumEngineVersion(Aws::String&& value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion = std::move(value); }
166 inline void SetMinimumEngineVersion(const char* value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion.assign(value); }
167 inline Parameter& WithMinimumEngineVersion(const Aws::String& value) { SetMinimumEngineVersion(value); return *this;}
168 inline Parameter& WithMinimumEngineVersion(Aws::String&& value) { SetMinimumEngineVersion(std::move(value)); return *this;}
169 inline Parameter& WithMinimumEngineVersion(const char* value) { SetMinimumEngineVersion(value); return *this;}
171
173
176 inline const ApplyMethod& GetApplyMethod() const{ return m_applyMethod; }
177 inline bool ApplyMethodHasBeenSet() const { return m_applyMethodHasBeenSet; }
178 inline void SetApplyMethod(const ApplyMethod& value) { m_applyMethodHasBeenSet = true; m_applyMethod = value; }
179 inline void SetApplyMethod(ApplyMethod&& value) { m_applyMethodHasBeenSet = true; m_applyMethod = std::move(value); }
180 inline Parameter& WithApplyMethod(const ApplyMethod& value) { SetApplyMethod(value); return *this;}
181 inline Parameter& WithApplyMethod(ApplyMethod&& value) { SetApplyMethod(std::move(value)); return *this;}
183
185
188 inline const Aws::Vector<Aws::String>& GetSupportedEngineModes() const{ return m_supportedEngineModes; }
189 inline bool SupportedEngineModesHasBeenSet() const { return m_supportedEngineModesHasBeenSet; }
190 inline void SetSupportedEngineModes(const Aws::Vector<Aws::String>& value) { m_supportedEngineModesHasBeenSet = true; m_supportedEngineModes = value; }
191 inline void SetSupportedEngineModes(Aws::Vector<Aws::String>&& value) { m_supportedEngineModesHasBeenSet = true; m_supportedEngineModes = std::move(value); }
193 inline Parameter& WithSupportedEngineModes(Aws::Vector<Aws::String>&& value) { SetSupportedEngineModes(std::move(value)); return *this;}
194 inline Parameter& AddSupportedEngineModes(const Aws::String& value) { m_supportedEngineModesHasBeenSet = true; m_supportedEngineModes.push_back(value); return *this; }
195 inline Parameter& AddSupportedEngineModes(Aws::String&& value) { m_supportedEngineModesHasBeenSet = true; m_supportedEngineModes.push_back(std::move(value)); return *this; }
196 inline Parameter& AddSupportedEngineModes(const char* value) { m_supportedEngineModesHasBeenSet = true; m_supportedEngineModes.push_back(value); return *this; }
198 private:
199
200 Aws::String m_parameterName;
201 bool m_parameterNameHasBeenSet = false;
202
203 Aws::String m_parameterValue;
204 bool m_parameterValueHasBeenSet = false;
205
206 Aws::String m_description;
207 bool m_descriptionHasBeenSet = false;
208
209 Aws::String m_source;
210 bool m_sourceHasBeenSet = false;
211
212 Aws::String m_applyType;
213 bool m_applyTypeHasBeenSet = false;
214
215 Aws::String m_dataType;
216 bool m_dataTypeHasBeenSet = false;
217
218 Aws::String m_allowedValues;
219 bool m_allowedValuesHasBeenSet = false;
220
221 bool m_isModifiable;
222 bool m_isModifiableHasBeenSet = false;
223
224 Aws::String m_minimumEngineVersion;
225 bool m_minimumEngineVersionHasBeenSet = false;
226
227 ApplyMethod m_applyMethod;
228 bool m_applyMethodHasBeenSet = false;
229
230 Aws::Vector<Aws::String> m_supportedEngineModes;
231 bool m_supportedEngineModesHasBeenSet = false;
232 };
233
234} // namespace Model
235} // namespace RDS
236} // namespace Aws
Parameter & AddSupportedEngineModes(Aws::String &&value)
Definition Parameter.h:195
Parameter & WithIsModifiable(bool value)
Definition Parameter.h:155
Parameter & WithDataType(const Aws::String &value)
Definition Parameter.h:127
Parameter & WithDescription(const Aws::String &value)
Definition Parameter.h:85
Parameter & WithMinimumEngineVersion(Aws::String &&value)
Definition Parameter.h:168
const Aws::String & GetAllowedValues() const
Definition Parameter.h:136
Parameter & WithSupportedEngineModes(Aws::Vector< Aws::String > &&value)
Definition Parameter.h:193
bool DataTypeHasBeenSet() const
Definition Parameter.h:123
Parameter & WithParameterName(Aws::String &&value)
Definition Parameter.h:58
const Aws::String & GetParameterValue() const
Definition Parameter.h:66
Parameter & WithApplyMethod(ApplyMethod &&value)
Definition Parameter.h:181
Parameter & WithDataType(Aws::String &&value)
Definition Parameter.h:128
void SetSupportedEngineModes(Aws::Vector< Aws::String > &&value)
Definition Parameter.h:191
void SetSource(const Aws::String &value)
Definition Parameter.h:96
void SetDataType(const char *value)
Definition Parameter.h:126
void SetApplyMethod(ApplyMethod &&value)
Definition Parameter.h:179
void SetDescription(const Aws::String &value)
Definition Parameter.h:82
void SetDescription(Aws::String &&value)
Definition Parameter.h:83
Parameter & WithParameterName(const char *value)
Definition Parameter.h:59
void SetAllowedValues(const Aws::String &value)
Definition Parameter.h:138
void SetSupportedEngineModes(const Aws::Vector< Aws::String > &value)
Definition Parameter.h:190
void SetDataType(const Aws::String &value)
Definition Parameter.h:124
bool ApplyMethodHasBeenSet() const
Definition Parameter.h:177
Parameter & WithSupportedEngineModes(const Aws::Vector< Aws::String > &value)
Definition Parameter.h:192
Parameter & WithMinimumEngineVersion(const Aws::String &value)
Definition Parameter.h:167
Parameter & WithDataType(const char *value)
Definition Parameter.h:129
Parameter & WithAllowedValues(const Aws::String &value)
Definition Parameter.h:141
bool ParameterNameHasBeenSet() const
Definition Parameter.h:53
void SetMinimumEngineVersion(Aws::String &&value)
Definition Parameter.h:165
AWS_RDS_API Parameter(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ParameterValueHasBeenSet() const
Definition Parameter.h:67
Parameter & WithMinimumEngineVersion(const char *value)
Definition Parameter.h:169
void SetAllowedValues(const char *value)
Definition Parameter.h:140
const Aws::Vector< Aws::String > & GetSupportedEngineModes() const
Definition Parameter.h:188
Parameter & WithDescription(Aws::String &&value)
Definition Parameter.h:86
void SetParameterName(const char *value)
Definition Parameter.h:56
bool MinimumEngineVersionHasBeenSet() const
Definition Parameter.h:163
bool DescriptionHasBeenSet() const
Definition Parameter.h:81
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetApplyType() const
Definition Parameter.h:108
void SetParameterName(Aws::String &&value)
Definition Parameter.h:55
void SetMinimumEngineVersion(const char *value)
Definition Parameter.h:166
const ApplyMethod & GetApplyMethod() const
Definition Parameter.h:176
void SetIsModifiable(bool value)
Definition Parameter.h:154
void SetSource(Aws::String &&value)
Definition Parameter.h:97
Parameter & WithSource(const char *value)
Definition Parameter.h:101
bool GetIsModifiable() const
Definition Parameter.h:152
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool IsModifiableHasBeenSet() const
Definition Parameter.h:153
void SetDescription(const char *value)
Definition Parameter.h:84
void SetParameterValue(const Aws::String &value)
Definition Parameter.h:68
bool AllowedValuesHasBeenSet() const
Definition Parameter.h:137
const Aws::String & GetDataType() const
Definition Parameter.h:122
Parameter & AddSupportedEngineModes(const Aws::String &value)
Definition Parameter.h:194
bool SupportedEngineModesHasBeenSet() const
Definition Parameter.h:189
Parameter & WithApplyType(const char *value)
Definition Parameter.h:115
Parameter & WithAllowedValues(const char *value)
Definition Parameter.h:143
Parameter & AddSupportedEngineModes(const char *value)
Definition Parameter.h:196
Parameter & WithApplyType(Aws::String &&value)
Definition Parameter.h:114
Parameter & WithParameterValue(const char *value)
Definition Parameter.h:73
void SetParameterValue(Aws::String &&value)
Definition Parameter.h:69
const Aws::String & GetSource() const
Definition Parameter.h:94
void SetParameterValue(const char *value)
Definition Parameter.h:70
void SetApplyMethod(const ApplyMethod &value)
Definition Parameter.h:178
Parameter & WithSource(Aws::String &&value)
Definition Parameter.h:100
Parameter & WithDescription(const char *value)
Definition Parameter.h:87
void SetApplyType(Aws::String &&value)
Definition Parameter.h:111
Parameter & WithSource(const Aws::String &value)
Definition Parameter.h:99
void SetAllowedValues(Aws::String &&value)
Definition Parameter.h:139
bool ApplyTypeHasBeenSet() const
Definition Parameter.h:109
void SetSource(const char *value)
Definition Parameter.h:98
const Aws::String & GetMinimumEngineVersion() const
Definition Parameter.h:162
void SetApplyType(const Aws::String &value)
Definition Parameter.h:110
Parameter & WithApplyMethod(const ApplyMethod &value)
Definition Parameter.h:180
void SetApplyType(const char *value)
Definition Parameter.h:112
Parameter & WithParameterValue(const Aws::String &value)
Definition Parameter.h:71
const Aws::String & GetParameterName() const
Definition Parameter.h:52
bool SourceHasBeenSet() const
Definition Parameter.h:95
Parameter & WithApplyType(const Aws::String &value)
Definition Parameter.h:113
AWS_RDS_API Parameter & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Parameter & WithAllowedValues(Aws::String &&value)
Definition Parameter.h:142
void SetMinimumEngineVersion(const Aws::String &value)
Definition Parameter.h:164
const Aws::String & GetDescription() const
Definition Parameter.h:80
void SetDataType(Aws::String &&value)
Definition Parameter.h:125
void SetParameterName(const Aws::String &value)
Definition Parameter.h:54
Parameter & WithParameterValue(Aws::String &&value)
Definition Parameter.h:72
Parameter & WithParameterName(const Aws::String &value)
Definition Parameter.h:57
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