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/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticache/model/ChangeType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace ElastiCache
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ELASTICACHE_API Parameter();
37 AWS_ELASTICACHE_API Parameter(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ELASTICACHE_API Parameter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_ELASTICACHE_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
62 inline const Aws::String& GetParameterValue() const{ return m_parameterValue; }
63 inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; }
64 inline void SetParameterValue(const Aws::String& value) { m_parameterValueHasBeenSet = true; m_parameterValue = value; }
65 inline void SetParameterValue(Aws::String&& value) { m_parameterValueHasBeenSet = true; m_parameterValue = std::move(value); }
66 inline void SetParameterValue(const char* value) { m_parameterValueHasBeenSet = true; m_parameterValue.assign(value); }
67 inline Parameter& WithParameterValue(const Aws::String& value) { SetParameterValue(value); return *this;}
68 inline Parameter& WithParameterValue(Aws::String&& value) { SetParameterValue(std::move(value)); return *this;}
69 inline Parameter& WithParameterValue(const char* value) { SetParameterValue(value); return *this;}
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
81 inline Parameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline Parameter& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline Parameter& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
90 inline const Aws::String& GetSource() const{ return m_source; }
91 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
92 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
93 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
94 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
95 inline Parameter& WithSource(const Aws::String& value) { SetSource(value); return *this;}
96 inline Parameter& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
97 inline Parameter& WithSource(const char* value) { SetSource(value); return *this;}
99
101
104 inline const Aws::String& GetDataType() const{ return m_dataType; }
105 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
106 inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
107 inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
108 inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); }
109 inline Parameter& WithDataType(const Aws::String& value) { SetDataType(value); return *this;}
110 inline Parameter& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;}
111 inline Parameter& WithDataType(const char* value) { SetDataType(value); return *this;}
113
115
118 inline const Aws::String& GetAllowedValues() const{ return m_allowedValues; }
119 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
120 inline void SetAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; }
121 inline void SetAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); }
122 inline void SetAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.assign(value); }
123 inline Parameter& WithAllowedValues(const Aws::String& value) { SetAllowedValues(value); return *this;}
124 inline Parameter& WithAllowedValues(Aws::String&& value) { SetAllowedValues(std::move(value)); return *this;}
125 inline Parameter& WithAllowedValues(const char* value) { SetAllowedValues(value); return *this;}
127
129
134 inline bool GetIsModifiable() const{ return m_isModifiable; }
135 inline bool IsModifiableHasBeenSet() const { return m_isModifiableHasBeenSet; }
136 inline void SetIsModifiable(bool value) { m_isModifiableHasBeenSet = true; m_isModifiable = value; }
137 inline Parameter& WithIsModifiable(bool value) { SetIsModifiable(value); return *this;}
139
141
144 inline const Aws::String& GetMinimumEngineVersion() const{ return m_minimumEngineVersion; }
145 inline bool MinimumEngineVersionHasBeenSet() const { return m_minimumEngineVersionHasBeenSet; }
146 inline void SetMinimumEngineVersion(const Aws::String& value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion = value; }
147 inline void SetMinimumEngineVersion(Aws::String&& value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion = std::move(value); }
148 inline void SetMinimumEngineVersion(const char* value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion.assign(value); }
149 inline Parameter& WithMinimumEngineVersion(const Aws::String& value) { SetMinimumEngineVersion(value); return *this;}
150 inline Parameter& WithMinimumEngineVersion(Aws::String&& value) { SetMinimumEngineVersion(std::move(value)); return *this;}
151 inline Parameter& WithMinimumEngineVersion(const char* value) { SetMinimumEngineVersion(value); return *this;}
153
155
162 inline const ChangeType& GetChangeType() const{ return m_changeType; }
163 inline bool ChangeTypeHasBeenSet() const { return m_changeTypeHasBeenSet; }
164 inline void SetChangeType(const ChangeType& value) { m_changeTypeHasBeenSet = true; m_changeType = value; }
165 inline void SetChangeType(ChangeType&& value) { m_changeTypeHasBeenSet = true; m_changeType = std::move(value); }
166 inline Parameter& WithChangeType(const ChangeType& value) { SetChangeType(value); return *this;}
167 inline Parameter& WithChangeType(ChangeType&& value) { SetChangeType(std::move(value)); return *this;}
169 private:
170
171 Aws::String m_parameterName;
172 bool m_parameterNameHasBeenSet = false;
173
174 Aws::String m_parameterValue;
175 bool m_parameterValueHasBeenSet = false;
176
177 Aws::String m_description;
178 bool m_descriptionHasBeenSet = false;
179
180 Aws::String m_source;
181 bool m_sourceHasBeenSet = false;
182
183 Aws::String m_dataType;
184 bool m_dataTypeHasBeenSet = false;
185
186 Aws::String m_allowedValues;
187 bool m_allowedValuesHasBeenSet = false;
188
189 bool m_isModifiable;
190 bool m_isModifiableHasBeenSet = false;
191
192 Aws::String m_minimumEngineVersion;
193 bool m_minimumEngineVersionHasBeenSet = false;
194
195 ChangeType m_changeType;
196 bool m_changeTypeHasBeenSet = false;
197 };
198
199} // namespace Model
200} // namespace ElastiCache
201} // namespace Aws
void SetDataType(Aws::String &&value)
Definition Parameter.h:107
void SetMinimumEngineVersion(Aws::String &&value)
Definition Parameter.h:147
void SetSource(Aws::String &&value)
Definition Parameter.h:93
Parameter & WithParameterValue(Aws::String &&value)
Definition Parameter.h:68
void SetParameterName(Aws::String &&value)
Definition Parameter.h:51
void SetAllowedValues(Aws::String &&value)
Definition Parameter.h:121
void SetDataType(const Aws::String &value)
Definition Parameter.h:106
void SetParameterValue(const Aws::String &value)
Definition Parameter.h:64
void SetDescription(const char *value)
Definition Parameter.h:80
const ChangeType & GetChangeType() const
Definition Parameter.h:162
const Aws::String & GetDescription() const
Definition Parameter.h:76
AWS_ELASTICACHE_API Parameter()
Parameter & WithMinimumEngineVersion(const char *value)
Definition Parameter.h:151
Parameter & WithChangeType(const ChangeType &value)
Definition Parameter.h:166
const Aws::String & GetDataType() const
Definition Parameter.h:104
void SetChangeType(ChangeType &&value)
Definition Parameter.h:165
Parameter & WithAllowedValues(Aws::String &&value)
Definition Parameter.h:124
const Aws::String & GetParameterName() const
Definition Parameter.h:48
Parameter & WithDataType(const char *value)
Definition Parameter.h:111
void SetSource(const Aws::String &value)
Definition Parameter.h:92
Parameter & WithDataType(const Aws::String &value)
Definition Parameter.h:109
Parameter & WithParameterName(const char *value)
Definition Parameter.h:55
const Aws::String & GetMinimumEngineVersion() const
Definition Parameter.h:144
AWS_ELASTICACHE_API Parameter & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Parameter & WithAllowedValues(const char *value)
Definition Parameter.h:125
void SetChangeType(const ChangeType &value)
Definition Parameter.h:164
void SetDataType(const char *value)
Definition Parameter.h:108
Parameter & WithParameterValue(const Aws::String &value)
Definition Parameter.h:67
const Aws::String & GetSource() const
Definition Parameter.h:90
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Parameter & WithSource(const Aws::String &value)
Definition Parameter.h:95
Parameter & WithDescription(const char *value)
Definition Parameter.h:83
void SetMinimumEngineVersion(const char *value)
Definition Parameter.h:148
void SetParameterName(const char *value)
Definition Parameter.h:52
Parameter & WithMinimumEngineVersion(const Aws::String &value)
Definition Parameter.h:149
void SetSource(const char *value)
Definition Parameter.h:94
Parameter & WithChangeType(ChangeType &&value)
Definition Parameter.h:167
void SetParameterValue(Aws::String &&value)
Definition Parameter.h:65
const Aws::String & GetAllowedValues() const
Definition Parameter.h:118
Parameter & WithMinimumEngineVersion(Aws::String &&value)
Definition Parameter.h:150
Parameter & WithParameterValue(const char *value)
Definition Parameter.h:69
void SetAllowedValues(const char *value)
Definition Parameter.h:122
Parameter & WithAllowedValues(const Aws::String &value)
Definition Parameter.h:123
void SetMinimumEngineVersion(const Aws::String &value)
Definition Parameter.h:146
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetAllowedValues(const Aws::String &value)
Definition Parameter.h:120
AWS_ELASTICACHE_API Parameter(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetParameterValue() const
Definition Parameter.h:62
void SetDescription(Aws::String &&value)
Definition Parameter.h:79
Parameter & WithSource(const char *value)
Definition Parameter.h:97
Parameter & WithDescription(Aws::String &&value)
Definition Parameter.h:82
Parameter & WithDescription(const Aws::String &value)
Definition Parameter.h:81
bool MinimumEngineVersionHasBeenSet() const
Definition Parameter.h:145
Parameter & WithIsModifiable(bool value)
Definition Parameter.h:137
void SetParameterValue(const char *value)
Definition Parameter.h:66
Parameter & WithSource(Aws::String &&value)
Definition Parameter.h:96
Parameter & WithParameterName(const Aws::String &value)
Definition Parameter.h:53
Parameter & WithDataType(Aws::String &&value)
Definition Parameter.h:110
Parameter & WithParameterName(Aws::String &&value)
Definition Parameter.h:54
void SetParameterName(const Aws::String &value)
Definition Parameter.h:50
void SetDescription(const Aws::String &value)
Definition Parameter.h:78
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream