AWS SDK for C++  1.9.158
AWS SDK for C++
Parameter.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace Redshift
23 {
24 namespace Model
25 {
26 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const Aws::String& GetParameterName() const{ return m_parameterName; }
48 
52  inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
53 
57  inline void SetParameterName(const Aws::String& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; }
58 
62  inline void SetParameterName(Aws::String&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::move(value); }
63 
67  inline void SetParameterName(const char* value) { m_parameterNameHasBeenSet = true; m_parameterName.assign(value); }
68 
72  inline Parameter& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;}
73 
77  inline Parameter& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;}
78 
82  inline Parameter& WithParameterName(const char* value) { SetParameterName(value); return *this;}
83 
84 
90  inline const Aws::String& GetParameterValue() const{ return m_parameterValue; }
91 
97  inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; }
98 
104  inline void SetParameterValue(const Aws::String& value) { m_parameterValueHasBeenSet = true; m_parameterValue = value; }
105 
111  inline void SetParameterValue(Aws::String&& value) { m_parameterValueHasBeenSet = true; m_parameterValue = std::move(value); }
112 
118  inline void SetParameterValue(const char* value) { m_parameterValueHasBeenSet = true; m_parameterValue.assign(value); }
119 
125  inline Parameter& WithParameterValue(const Aws::String& value) { SetParameterValue(value); return *this;}
126 
132  inline Parameter& WithParameterValue(Aws::String&& value) { SetParameterValue(std::move(value)); return *this;}
133 
139  inline Parameter& WithParameterValue(const char* value) { SetParameterValue(value); return *this;}
140 
141 
145  inline const Aws::String& GetDescription() const{ return m_description; }
146 
150  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
151 
155  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
156 
160  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
161 
165  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
166 
170  inline Parameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
171 
175  inline Parameter& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
176 
180  inline Parameter& WithDescription(const char* value) { SetDescription(value); return *this;}
181 
182 
186  inline const Aws::String& GetSource() const{ return m_source; }
187 
191  inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
192 
196  inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
197 
201  inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
202 
206  inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
207 
211  inline Parameter& WithSource(const Aws::String& value) { SetSource(value); return *this;}
212 
216  inline Parameter& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
217 
221  inline Parameter& WithSource(const char* value) { SetSource(value); return *this;}
222 
223 
227  inline const Aws::String& GetDataType() const{ return m_dataType; }
228 
232  inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
233 
237  inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
238 
242  inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
243 
247  inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); }
248 
252  inline Parameter& WithDataType(const Aws::String& value) { SetDataType(value); return *this;}
253 
257  inline Parameter& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;}
258 
262  inline Parameter& WithDataType(const char* value) { SetDataType(value); return *this;}
263 
264 
268  inline const Aws::String& GetAllowedValues() const{ return m_allowedValues; }
269 
273  inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
274 
278  inline void SetAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; }
279 
283  inline void SetAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); }
284 
288  inline void SetAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.assign(value); }
289 
293  inline Parameter& WithAllowedValues(const Aws::String& value) { SetAllowedValues(value); return *this;}
294 
298  inline Parameter& WithAllowedValues(Aws::String&& value) { SetAllowedValues(std::move(value)); return *this;}
299 
303  inline Parameter& WithAllowedValues(const char* value) { SetAllowedValues(value); return *this;}
304 
305 
315  inline const ParameterApplyType& GetApplyType() const{ return m_applyType; }
316 
326  inline bool ApplyTypeHasBeenSet() const { return m_applyTypeHasBeenSet; }
327 
337  inline void SetApplyType(const ParameterApplyType& value) { m_applyTypeHasBeenSet = true; m_applyType = value; }
338 
348  inline void SetApplyType(ParameterApplyType&& value) { m_applyTypeHasBeenSet = true; m_applyType = std::move(value); }
349 
359  inline Parameter& WithApplyType(const ParameterApplyType& value) { SetApplyType(value); return *this;}
360 
370  inline Parameter& WithApplyType(ParameterApplyType&& value) { SetApplyType(std::move(value)); return *this;}
371 
372 
377  inline bool GetIsModifiable() const{ return m_isModifiable; }
378 
383  inline bool IsModifiableHasBeenSet() const { return m_isModifiableHasBeenSet; }
384 
389  inline void SetIsModifiable(bool value) { m_isModifiableHasBeenSet = true; m_isModifiable = value; }
390 
395  inline Parameter& WithIsModifiable(bool value) { SetIsModifiable(value); return *this;}
396 
397 
401  inline const Aws::String& GetMinimumEngineVersion() const{ return m_minimumEngineVersion; }
402 
406  inline bool MinimumEngineVersionHasBeenSet() const { return m_minimumEngineVersionHasBeenSet; }
407 
411  inline void SetMinimumEngineVersion(const Aws::String& value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion = value; }
412 
416  inline void SetMinimumEngineVersion(Aws::String&& value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion = std::move(value); }
417 
421  inline void SetMinimumEngineVersion(const char* value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion.assign(value); }
422 
426  inline Parameter& WithMinimumEngineVersion(const Aws::String& value) { SetMinimumEngineVersion(value); return *this;}
427 
431  inline Parameter& WithMinimumEngineVersion(Aws::String&& value) { SetMinimumEngineVersion(std::move(value)); return *this;}
432 
436  inline Parameter& WithMinimumEngineVersion(const char* value) { SetMinimumEngineVersion(value); return *this;}
437 
438  private:
439 
440  Aws::String m_parameterName;
441  bool m_parameterNameHasBeenSet;
442 
443  Aws::String m_parameterValue;
444  bool m_parameterValueHasBeenSet;
445 
446  Aws::String m_description;
447  bool m_descriptionHasBeenSet;
448 
449  Aws::String m_source;
450  bool m_sourceHasBeenSet;
451 
452  Aws::String m_dataType;
453  bool m_dataTypeHasBeenSet;
454 
455  Aws::String m_allowedValues;
456  bool m_allowedValuesHasBeenSet;
457 
458  ParameterApplyType m_applyType;
459  bool m_applyTypeHasBeenSet;
460 
461  bool m_isModifiable;
462  bool m_isModifiableHasBeenSet;
463 
464  Aws::String m_minimumEngineVersion;
465  bool m_minimumEngineVersionHasBeenSet;
466  };
467 
468 } // namespace Model
469 } // namespace Redshift
470 } // namespace Aws
Aws::Redshift::Model::Parameter::WithAllowedValues
Parameter & WithAllowedValues(const char *value)
Definition: Parameter.h:303
Aws::Redshift::Model::Parameter::SetSource
void SetSource(const char *value)
Definition: Parameter.h:206
Aws::Redshift::Model::Parameter::WithParameterName
Parameter & WithParameterName(Aws::String &&value)
Definition: Parameter.h:77
Aws::Redshift::Model::Parameter::IsModifiableHasBeenSet
bool IsModifiableHasBeenSet() const
Definition: Parameter.h:383
Aws::Redshift::Model::Parameter::SetDescription
void SetDescription(const Aws::String &value)
Definition: Parameter.h:155
Aws::Redshift::Model::Parameter::ParameterValueHasBeenSet
bool ParameterValueHasBeenSet() const
Definition: Parameter.h:97
Aws::Redshift::Model::Parameter::GetParameterValue
const Aws::String & GetParameterValue() const
Definition: Parameter.h:90
Aws::Redshift::Model::Parameter::WithDescription
Parameter & WithDescription(const char *value)
Definition: Parameter.h:180
Aws::Redshift::Model::Parameter::WithParameterValue
Parameter & WithParameterValue(Aws::String &&value)
Definition: Parameter.h:132
Aws::Redshift::Model::Parameter::WithApplyType
Parameter & WithApplyType(ParameterApplyType &&value)
Definition: Parameter.h:370
Aws::Redshift::Model::Parameter::WithMinimumEngineVersion
Parameter & WithMinimumEngineVersion(Aws::String &&value)
Definition: Parameter.h:431
Aws::Redshift::Model::Parameter::SetAllowedValues
void SetAllowedValues(Aws::String &&value)
Definition: Parameter.h:283
Aws::Redshift::Model::Parameter::WithMinimumEngineVersion
Parameter & WithMinimumEngineVersion(const Aws::String &value)
Definition: Parameter.h:426
Aws::Redshift::Model::Parameter::WithIsModifiable
Parameter & WithIsModifiable(bool value)
Definition: Parameter.h:395
Aws::Redshift::Model::Parameter::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Redshift::Model::Parameter::WithMinimumEngineVersion
Parameter & WithMinimumEngineVersion(const char *value)
Definition: Parameter.h:436
Aws::Redshift::Model::Parameter::WithApplyType
Parameter & WithApplyType(const ParameterApplyType &value)
Definition: Parameter.h:359
Aws::Redshift::Model::Parameter::WithDescription
Parameter & WithDescription(const Aws::String &value)
Definition: Parameter.h:170
Aws::Redshift::Model::Parameter::GetSource
const Aws::String & GetSource() const
Definition: Parameter.h:186
Aws::Redshift::Model::Parameter::GetAllowedValues
const Aws::String & GetAllowedValues() const
Definition: Parameter.h:268
Aws::Redshift::Model::Parameter::SetDescription
void SetDescription(Aws::String &&value)
Definition: Parameter.h:160
AWSStreamFwd.h
Aws::Redshift::Model::Parameter::SetSource
void SetSource(Aws::String &&value)
Definition: Parameter.h:201
Aws::Redshift::Model::Parameter::WithAllowedValues
Parameter & WithAllowedValues(Aws::String &&value)
Definition: Parameter.h:298
Aws::Redshift::Model::Parameter::SetDataType
void SetDataType(const Aws::String &value)
Definition: Parameter.h:237
Aws::Redshift::Model::Parameter::WithParameterName
Parameter & WithParameterName(const char *value)
Definition: Parameter.h:82
Aws::Redshift::Model::Parameter::SetAllowedValues
void SetAllowedValues(const Aws::String &value)
Definition: Parameter.h:278
Aws::Redshift::Model::Parameter::GetIsModifiable
bool GetIsModifiable() const
Definition: Parameter.h:377
ParameterApplyType.h
Aws::Redshift::Model::Parameter::SetDataType
void SetDataType(const char *value)
Definition: Parameter.h:247
Aws::Redshift::Model::Parameter::SetApplyType
void SetApplyType(const ParameterApplyType &value)
Definition: Parameter.h:337
Aws::Redshift::Model::Parameter::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Parameter.h:150
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Redshift::Model::Parameter::WithSource
Parameter & WithSource(const Aws::String &value)
Definition: Parameter.h:211
Aws::Redshift::Model::Parameter::SetParameterName
void SetParameterName(const Aws::String &value)
Definition: Parameter.h:57
Aws::Redshift::Model::Parameter::GetParameterName
const Aws::String & GetParameterName() const
Definition: Parameter.h:47
Aws::Redshift::Model::Parameter::WithDescription
Parameter & WithDescription(Aws::String &&value)
Definition: Parameter.h:175
Aws::Redshift::Model::Parameter::SourceHasBeenSet
bool SourceHasBeenSet() const
Definition: Parameter.h:191
Aws::Redshift::Model::Parameter::SetParameterValue
void SetParameterValue(Aws::String &&value)
Definition: Parameter.h:111
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Redshift::Model::Parameter::ParameterNameHasBeenSet
bool ParameterNameHasBeenSet() const
Definition: Parameter.h:52
Aws::Redshift::Model::Parameter::DataTypeHasBeenSet
bool DataTypeHasBeenSet() const
Definition: Parameter.h:232
Aws::Redshift::Model::Parameter::WithParameterValue
Parameter & WithParameterValue(const Aws::String &value)
Definition: Parameter.h:125
Aws::Redshift::Model::Parameter::SetParameterValue
void SetParameterValue(const char *value)
Definition: Parameter.h:118
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
AWSString.h
Aws::Redshift::Model::Parameter::Parameter
Parameter(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::Parameter::WithSource
Parameter & WithSource(const char *value)
Definition: Parameter.h:221
Aws::Redshift::Model::Parameter::SetParameterValue
void SetParameterValue(const Aws::String &value)
Definition: Parameter.h:104
Aws::Redshift::Model::Parameter::SetParameterName
void SetParameterName(const char *value)
Definition: Parameter.h:67
Aws::Redshift::Model::Parameter::SetDescription
void SetDescription(const char *value)
Definition: Parameter.h:165
Aws::Redshift::Model::Parameter::GetApplyType
const ParameterApplyType & GetApplyType() const
Definition: Parameter.h:315
Aws::Redshift::Model::Parameter::WithDataType
Parameter & WithDataType(const Aws::String &value)
Definition: Parameter.h:252
Aws::Redshift::Model::Parameter::SetSource
void SetSource(const Aws::String &value)
Definition: Parameter.h:196
Aws::Redshift::Model::Parameter::SetApplyType
void SetApplyType(ParameterApplyType &&value)
Definition: Parameter.h:348
Aws::Redshift::Model::Parameter::WithSource
Parameter & WithSource(Aws::String &&value)
Definition: Parameter.h:216
Aws::Redshift::Model::Parameter::GetDescription
const Aws::String & GetDescription() const
Definition: Parameter.h:145
Aws::Redshift::Model::Parameter::SetDataType
void SetDataType(Aws::String &&value)
Definition: Parameter.h:242
Aws::Redshift::Model::Parameter::AllowedValuesHasBeenSet
bool AllowedValuesHasBeenSet() const
Definition: Parameter.h:273
Aws::Redshift::Model::Parameter::WithParameterName
Parameter & WithParameterName(const Aws::String &value)
Definition: Parameter.h:72
Aws::Redshift::Model::Parameter::SetIsModifiable
void SetIsModifiable(bool value)
Definition: Parameter.h:389
Aws::Redshift::Model::Parameter::SetMinimumEngineVersion
void SetMinimumEngineVersion(const Aws::String &value)
Definition: Parameter.h:411
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::Parameter::WithDataType
Parameter & WithDataType(Aws::String &&value)
Definition: Parameter.h:257
Aws::Redshift::Model::Parameter::WithDataType
Parameter & WithDataType(const char *value)
Definition: Parameter.h:262
Aws::Redshift::Model::Parameter
Definition: Parameter.h:34
Aws::Redshift::Model::Parameter::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
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::Redshift::Model::Parameter::SetMinimumEngineVersion
void SetMinimumEngineVersion(Aws::String &&value)
Definition: Parameter.h:416
Aws::Redshift::Model::Parameter::Parameter
Parameter()
Aws::Redshift::Model::Parameter::SetAllowedValues
void SetAllowedValues(const char *value)
Definition: Parameter.h:288
Aws::Redshift::Model::Parameter::operator=
Parameter & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::Parameter::GetMinimumEngineVersion
const Aws::String & GetMinimumEngineVersion() const
Definition: Parameter.h:401
Aws::Redshift::Model::Parameter::WithAllowedValues
Parameter & WithAllowedValues(const Aws::String &value)
Definition: Parameter.h:293
Aws::Redshift::Model::Parameter::WithParameterValue
Parameter & WithParameterValue(const char *value)
Definition: Parameter.h:139
Aws::Redshift::Model::ParameterApplyType
ParameterApplyType
Definition: ParameterApplyType.h:17
Aws::Redshift::Model::Parameter::ApplyTypeHasBeenSet
bool ApplyTypeHasBeenSet() const
Definition: Parameter.h:326
Aws::Redshift::Model::Parameter::MinimumEngineVersionHasBeenSet
bool MinimumEngineVersionHasBeenSet() const
Definition: Parameter.h:406
Aws::Redshift::Model::Parameter::SetParameterName
void SetParameterName(Aws::String &&value)
Definition: Parameter.h:62
Aws::Redshift::Model::Parameter::GetDataType
const Aws::String & GetDataType() const
Definition: Parameter.h:227
Aws::Redshift::Model::Parameter::SetMinimumEngineVersion
void SetMinimumEngineVersion(const char *value)
Definition: Parameter.h:421