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/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift/model/ParameterApplyType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace Redshift
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_REDSHIFT_API Parameter();
37 AWS_REDSHIFT_API Parameter(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_REDSHIFT_API Parameter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetParameterName() const{ return m_parameterName; }
49 inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
50 inline void SetParameterName(const Aws::String& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; }
51 inline void SetParameterName(Aws::String&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::move(value); }
52 inline void SetParameterName(const char* value) { m_parameterNameHasBeenSet = true; m_parameterName.assign(value); }
53 inline Parameter& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;}
54 inline Parameter& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;}
55 inline Parameter& WithParameterName(const char* value) { SetParameterName(value); return *this;}
57
59
64 inline const Aws::String& GetParameterValue() const{ return m_parameterValue; }
65 inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; }
66 inline void SetParameterValue(const Aws::String& value) { m_parameterValueHasBeenSet = true; m_parameterValue = value; }
67 inline void SetParameterValue(Aws::String&& value) { m_parameterValueHasBeenSet = true; m_parameterValue = std::move(value); }
68 inline void SetParameterValue(const char* value) { m_parameterValueHasBeenSet = true; m_parameterValue.assign(value); }
69 inline Parameter& WithParameterValue(const Aws::String& value) { SetParameterValue(value); return *this;}
70 inline Parameter& WithParameterValue(Aws::String&& value) { SetParameterValue(std::move(value)); return *this;}
71 inline Parameter& WithParameterValue(const char* value) { SetParameterValue(value); return *this;}
73
75
78 inline const Aws::String& GetDescription() const{ return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
81 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
82 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
83 inline Parameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
84 inline Parameter& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
85 inline Parameter& WithDescription(const char* value) { SetDescription(value); return *this;}
87
89
92 inline const Aws::String& GetSource() const{ return m_source; }
93 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
94 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
95 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
96 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
97 inline Parameter& WithSource(const Aws::String& value) { SetSource(value); return *this;}
98 inline Parameter& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
99 inline Parameter& WithSource(const char* value) { SetSource(value); return *this;}
101
103
106 inline const Aws::String& GetDataType() const{ return m_dataType; }
107 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
108 inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
109 inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
110 inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); }
111 inline Parameter& WithDataType(const Aws::String& value) { SetDataType(value); return *this;}
112 inline Parameter& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;}
113 inline Parameter& WithDataType(const char* value) { SetDataType(value); return *this;}
115
117
120 inline const Aws::String& GetAllowedValues() const{ return m_allowedValues; }
121 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
122 inline void SetAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; }
123 inline void SetAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); }
124 inline void SetAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.assign(value); }
125 inline Parameter& WithAllowedValues(const Aws::String& value) { SetAllowedValues(value); return *this;}
126 inline Parameter& WithAllowedValues(Aws::String&& value) { SetAllowedValues(std::move(value)); return *this;}
127 inline Parameter& WithAllowedValues(const char* value) { SetAllowedValues(value); return *this;}
129
131
140 inline const ParameterApplyType& GetApplyType() const{ return m_applyType; }
141 inline bool ApplyTypeHasBeenSet() const { return m_applyTypeHasBeenSet; }
142 inline void SetApplyType(const ParameterApplyType& value) { m_applyTypeHasBeenSet = true; m_applyType = value; }
143 inline void SetApplyType(ParameterApplyType&& value) { m_applyTypeHasBeenSet = true; m_applyType = std::move(value); }
144 inline Parameter& WithApplyType(const ParameterApplyType& value) { SetApplyType(value); return *this;}
145 inline Parameter& WithApplyType(ParameterApplyType&& value) { SetApplyType(std::move(value)); return *this;}
147
149
153 inline bool GetIsModifiable() const{ return m_isModifiable; }
154 inline bool IsModifiableHasBeenSet() const { return m_isModifiableHasBeenSet; }
155 inline void SetIsModifiable(bool value) { m_isModifiableHasBeenSet = true; m_isModifiable = value; }
156 inline Parameter& WithIsModifiable(bool value) { SetIsModifiable(value); return *this;}
158
160
163 inline const Aws::String& GetMinimumEngineVersion() const{ return m_minimumEngineVersion; }
164 inline bool MinimumEngineVersionHasBeenSet() const { return m_minimumEngineVersionHasBeenSet; }
165 inline void SetMinimumEngineVersion(const Aws::String& value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion = value; }
166 inline void SetMinimumEngineVersion(Aws::String&& value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion = std::move(value); }
167 inline void SetMinimumEngineVersion(const char* value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion.assign(value); }
168 inline Parameter& WithMinimumEngineVersion(const Aws::String& value) { SetMinimumEngineVersion(value); return *this;}
169 inline Parameter& WithMinimumEngineVersion(Aws::String&& value) { SetMinimumEngineVersion(std::move(value)); return *this;}
170 inline Parameter& WithMinimumEngineVersion(const char* value) { SetMinimumEngineVersion(value); return *this;}
172 private:
173
174 Aws::String m_parameterName;
175 bool m_parameterNameHasBeenSet = false;
176
177 Aws::String m_parameterValue;
178 bool m_parameterValueHasBeenSet = false;
179
180 Aws::String m_description;
181 bool m_descriptionHasBeenSet = false;
182
183 Aws::String m_source;
184 bool m_sourceHasBeenSet = false;
185
186 Aws::String m_dataType;
187 bool m_dataTypeHasBeenSet = false;
188
189 Aws::String m_allowedValues;
190 bool m_allowedValuesHasBeenSet = false;
191
192 ParameterApplyType m_applyType;
193 bool m_applyTypeHasBeenSet = false;
194
195 bool m_isModifiable;
196 bool m_isModifiableHasBeenSet = false;
197
198 Aws::String m_minimumEngineVersion;
199 bool m_minimumEngineVersionHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace Redshift
204} // namespace Aws
void SetParameterName(Aws::String &&value)
Definition Parameter.h:51
Parameter & WithAllowedValues(const Aws::String &value)
Definition Parameter.h:125
AWS_REDSHIFT_API Parameter()
AWS_REDSHIFT_API Parameter(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSource(const char *value)
Definition Parameter.h:96
const ParameterApplyType & GetApplyType() const
Definition Parameter.h:140
void SetParameterValue(const char *value)
Definition Parameter.h:68
Parameter & WithIsModifiable(bool value)
Definition Parameter.h:156
void SetSource(const Aws::String &value)
Definition Parameter.h:94
const Aws::String & GetParameterValue() const
Definition Parameter.h:64
Parameter & WithAllowedValues(Aws::String &&value)
Definition Parameter.h:126
const Aws::String & GetAllowedValues() const
Definition Parameter.h:120
void SetDescription(const char *value)
Definition Parameter.h:82
void SetIsModifiable(bool value)
Definition Parameter.h:155
void SetAllowedValues(const Aws::String &value)
Definition Parameter.h:122
Parameter & WithParameterName(const Aws::String &value)
Definition Parameter.h:53
bool MinimumEngineVersionHasBeenSet() const
Definition Parameter.h:164
Parameter & WithSource(Aws::String &&value)
Definition Parameter.h:98
bool ParameterNameHasBeenSet() const
Definition Parameter.h:49
Parameter & WithMinimumEngineVersion(const char *value)
Definition Parameter.h:170
Parameter & WithSource(const char *value)
Definition Parameter.h:99
const Aws::String & GetDataType() const
Definition Parameter.h:106
void SetDescription(const Aws::String &value)
Definition Parameter.h:80
Parameter & WithParameterValue(const char *value)
Definition Parameter.h:71
void SetParameterValue(const Aws::String &value)
Definition Parameter.h:66
void SetApplyType(const ParameterApplyType &value)
Definition Parameter.h:142
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Parameter & WithAllowedValues(const char *value)
Definition Parameter.h:127
void SetDataType(const Aws::String &value)
Definition Parameter.h:108
bool ParameterValueHasBeenSet() const
Definition Parameter.h:65
const Aws::String & GetMinimumEngineVersion() const
Definition Parameter.h:163
void SetParameterName(const char *value)
Definition Parameter.h:52
void SetParameterName(const Aws::String &value)
Definition Parameter.h:50
Parameter & WithApplyType(const ParameterApplyType &value)
Definition Parameter.h:144
const Aws::String & GetParameterName() const
Definition Parameter.h:48
void SetMinimumEngineVersion(Aws::String &&value)
Definition Parameter.h:166
Parameter & WithMinimumEngineVersion(const Aws::String &value)
Definition Parameter.h:168
Parameter & WithParameterName(Aws::String &&value)
Definition Parameter.h:54
Parameter & WithSource(const Aws::String &value)
Definition Parameter.h:97
void SetParameterValue(Aws::String &&value)
Definition Parameter.h:67
void SetSource(Aws::String &&value)
Definition Parameter.h:95
Parameter & WithDescription(const char *value)
Definition Parameter.h:85
Parameter & WithMinimumEngineVersion(Aws::String &&value)
Definition Parameter.h:169
Parameter & WithDataType(const Aws::String &value)
Definition Parameter.h:111
Parameter & WithDataType(const char *value)
Definition Parameter.h:113
Parameter & WithParameterValue(const Aws::String &value)
Definition Parameter.h:69
Parameter & WithDataType(Aws::String &&value)
Definition Parameter.h:112
Parameter & WithDescription(const Aws::String &value)
Definition Parameter.h:83
const Aws::String & GetSource() const
Definition Parameter.h:92
void SetDataType(const char *value)
Definition Parameter.h:110
void SetApplyType(ParameterApplyType &&value)
Definition Parameter.h:143
Parameter & WithParameterName(const char *value)
Definition Parameter.h:55
void SetMinimumEngineVersion(const Aws::String &value)
Definition Parameter.h:165
void SetDataType(Aws::String &&value)
Definition Parameter.h:109
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_REDSHIFT_API Parameter & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Parameter & WithApplyType(ParameterApplyType &&value)
Definition Parameter.h:145
const Aws::String & GetDescription() const
Definition Parameter.h:78
Parameter & WithDescription(Aws::String &&value)
Definition Parameter.h:84
void SetDescription(Aws::String &&value)
Definition Parameter.h:81
void SetAllowedValues(Aws::String &&value)
Definition Parameter.h:123
Parameter & WithParameterValue(Aws::String &&value)
Definition Parameter.h:70
void SetMinimumEngineVersion(const char *value)
Definition Parameter.h:167
void SetAllowedValues(const char *value)
Definition Parameter.h:124
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream