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/dax/DAX_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dax/model/ParameterType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/dax/model/IsModifiable.h>
12#include <aws/dax/model/ChangeType.h>
13#include <aws/dax/model/NodeTypeSpecificValue.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace DAX
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_DAX_API Parameter();
41 AWS_DAX_API Parameter(Aws::Utils::Json::JsonView jsonValue);
44
45
47
50 inline const Aws::String& GetParameterName() const{ return m_parameterName; }
51 inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
52 inline void SetParameterName(const Aws::String& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; }
53 inline void SetParameterName(Aws::String&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::move(value); }
54 inline void SetParameterName(const char* value) { m_parameterNameHasBeenSet = true; m_parameterName.assign(value); }
55 inline Parameter& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;}
56 inline Parameter& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;}
57 inline Parameter& WithParameterName(const char* value) { SetParameterName(value); return *this;}
59
61
65 inline const ParameterType& GetParameterType() const{ return m_parameterType; }
66 inline bool ParameterTypeHasBeenSet() const { return m_parameterTypeHasBeenSet; }
67 inline void SetParameterType(const ParameterType& value) { m_parameterTypeHasBeenSet = true; m_parameterType = value; }
68 inline void SetParameterType(ParameterType&& value) { m_parameterTypeHasBeenSet = true; m_parameterType = std::move(value); }
69 inline Parameter& WithParameterType(const ParameterType& value) { SetParameterType(value); return *this;}
70 inline Parameter& WithParameterType(ParameterType&& value) { SetParameterType(std::move(value)); return *this;}
72
74
77 inline const Aws::String& GetParameterValue() const{ return m_parameterValue; }
78 inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; }
79 inline void SetParameterValue(const Aws::String& value) { m_parameterValueHasBeenSet = true; m_parameterValue = value; }
80 inline void SetParameterValue(Aws::String&& value) { m_parameterValueHasBeenSet = true; m_parameterValue = std::move(value); }
81 inline void SetParameterValue(const char* value) { m_parameterValueHasBeenSet = true; m_parameterValue.assign(value); }
82 inline Parameter& WithParameterValue(const Aws::String& value) { SetParameterValue(value); return *this;}
83 inline Parameter& WithParameterValue(Aws::String&& value) { SetParameterValue(std::move(value)); return *this;}
84 inline Parameter& WithParameterValue(const char* value) { SetParameterValue(value); return *this;}
86
88
91 inline const Aws::Vector<NodeTypeSpecificValue>& GetNodeTypeSpecificValues() const{ return m_nodeTypeSpecificValues; }
92 inline bool NodeTypeSpecificValuesHasBeenSet() const { return m_nodeTypeSpecificValuesHasBeenSet; }
93 inline void SetNodeTypeSpecificValues(const Aws::Vector<NodeTypeSpecificValue>& value) { m_nodeTypeSpecificValuesHasBeenSet = true; m_nodeTypeSpecificValues = value; }
94 inline void SetNodeTypeSpecificValues(Aws::Vector<NodeTypeSpecificValue>&& value) { m_nodeTypeSpecificValuesHasBeenSet = true; m_nodeTypeSpecificValues = std::move(value); }
97 inline Parameter& AddNodeTypeSpecificValues(const NodeTypeSpecificValue& value) { m_nodeTypeSpecificValuesHasBeenSet = true; m_nodeTypeSpecificValues.push_back(value); return *this; }
98 inline Parameter& AddNodeTypeSpecificValues(NodeTypeSpecificValue&& value) { m_nodeTypeSpecificValuesHasBeenSet = true; m_nodeTypeSpecificValues.push_back(std::move(value)); return *this; }
100
102
105 inline const Aws::String& GetDescription() const{ return m_description; }
106 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
107 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
108 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
109 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
110 inline Parameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
111 inline Parameter& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
112 inline Parameter& WithDescription(const char* value) { SetDescription(value); return *this;}
114
116
120 inline const Aws::String& GetSource() const{ return m_source; }
121 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
122 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
123 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
124 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
125 inline Parameter& WithSource(const Aws::String& value) { SetSource(value); return *this;}
126 inline Parameter& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
127 inline Parameter& WithSource(const char* value) { SetSource(value); return *this;}
129
131
134 inline const Aws::String& GetDataType() const{ return m_dataType; }
135 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
136 inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
137 inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
138 inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); }
139 inline Parameter& WithDataType(const Aws::String& value) { SetDataType(value); return *this;}
140 inline Parameter& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;}
141 inline Parameter& WithDataType(const char* value) { SetDataType(value); return *this;}
143
145
148 inline const Aws::String& GetAllowedValues() const{ return m_allowedValues; }
149 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
150 inline void SetAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; }
151 inline void SetAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); }
152 inline void SetAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.assign(value); }
153 inline Parameter& WithAllowedValues(const Aws::String& value) { SetAllowedValues(value); return *this;}
154 inline Parameter& WithAllowedValues(Aws::String&& value) { SetAllowedValues(std::move(value)); return *this;}
155 inline Parameter& WithAllowedValues(const char* value) { SetAllowedValues(value); return *this;}
157
159
162 inline const IsModifiable& GetIsModifiable() const{ return m_isModifiable; }
163 inline bool IsModifiableHasBeenSet() const { return m_isModifiableHasBeenSet; }
164 inline void SetIsModifiable(const IsModifiable& value) { m_isModifiableHasBeenSet = true; m_isModifiable = value; }
165 inline void SetIsModifiable(IsModifiable&& value) { m_isModifiableHasBeenSet = true; m_isModifiable = std::move(value); }
166 inline Parameter& WithIsModifiable(const IsModifiable& value) { SetIsModifiable(value); return *this;}
167 inline Parameter& WithIsModifiable(IsModifiable&& value) { SetIsModifiable(std::move(value)); return *this;}
169
171
176 inline const ChangeType& GetChangeType() const{ return m_changeType; }
177 inline bool ChangeTypeHasBeenSet() const { return m_changeTypeHasBeenSet; }
178 inline void SetChangeType(const ChangeType& value) { m_changeTypeHasBeenSet = true; m_changeType = value; }
179 inline void SetChangeType(ChangeType&& value) { m_changeTypeHasBeenSet = true; m_changeType = std::move(value); }
180 inline Parameter& WithChangeType(const ChangeType& value) { SetChangeType(value); return *this;}
181 inline Parameter& WithChangeType(ChangeType&& value) { SetChangeType(std::move(value)); return *this;}
183 private:
184
185 Aws::String m_parameterName;
186 bool m_parameterNameHasBeenSet = false;
187
188 ParameterType m_parameterType;
189 bool m_parameterTypeHasBeenSet = false;
190
191 Aws::String m_parameterValue;
192 bool m_parameterValueHasBeenSet = false;
193
194 Aws::Vector<NodeTypeSpecificValue> m_nodeTypeSpecificValues;
195 bool m_nodeTypeSpecificValuesHasBeenSet = false;
196
197 Aws::String m_description;
198 bool m_descriptionHasBeenSet = false;
199
200 Aws::String m_source;
201 bool m_sourceHasBeenSet = false;
202
203 Aws::String m_dataType;
204 bool m_dataTypeHasBeenSet = false;
205
206 Aws::String m_allowedValues;
207 bool m_allowedValuesHasBeenSet = false;
208
209 IsModifiable m_isModifiable;
210 bool m_isModifiableHasBeenSet = false;
211
212 ChangeType m_changeType;
213 bool m_changeTypeHasBeenSet = false;
214 };
215
216} // namespace Model
217} // namespace DAX
218} // namespace Aws
void SetNodeTypeSpecificValues(const Aws::Vector< NodeTypeSpecificValue > &value)
Definition Parameter.h:93
Parameter & WithDescription(const Aws::String &value)
Definition Parameter.h:110
const ParameterType & GetParameterType() const
Definition Parameter.h:65
Parameter & AddNodeTypeSpecificValues(NodeTypeSpecificValue &&value)
Definition Parameter.h:98
Parameter & AddNodeTypeSpecificValues(const NodeTypeSpecificValue &value)
Definition Parameter.h:97
bool DescriptionHasBeenSet() const
Definition Parameter.h:106
Parameter & WithChangeType(const ChangeType &value)
Definition Parameter.h:180
Parameter & WithSource(const Aws::String &value)
Definition Parameter.h:125
void SetParameterName(const char *value)
Definition Parameter.h:54
Parameter & WithIsModifiable(IsModifiable &&value)
Definition Parameter.h:167
Parameter & WithParameterValue(Aws::String &&value)
Definition Parameter.h:83
void SetParameterType(const ParameterType &value)
Definition Parameter.h:67
Parameter & WithParameterName(Aws::String &&value)
Definition Parameter.h:56
Parameter & WithChangeType(ChangeType &&value)
Definition Parameter.h:181
const Aws::Vector< NodeTypeSpecificValue > & GetNodeTypeSpecificValues() const
Definition Parameter.h:91
Parameter & WithParameterName(const char *value)
Definition Parameter.h:57
void SetNodeTypeSpecificValues(Aws::Vector< NodeTypeSpecificValue > &&value)
Definition Parameter.h:94
void SetParameterValue(Aws::String &&value)
Definition Parameter.h:80
void SetDataType(const Aws::String &value)
Definition Parameter.h:136
Parameter & WithDataType(const Aws::String &value)
Definition Parameter.h:139
const Aws::String & GetAllowedValues() const
Definition Parameter.h:148
void SetDataType(const char *value)
Definition Parameter.h:138
Parameter & WithParameterType(const ParameterType &value)
Definition Parameter.h:69
const Aws::String & GetSource() const
Definition Parameter.h:120
void SetParameterType(ParameterType &&value)
Definition Parameter.h:68
Parameter & WithDataType(Aws::String &&value)
Definition Parameter.h:140
void SetDataType(Aws::String &&value)
Definition Parameter.h:137
const ChangeType & GetChangeType() const
Definition Parameter.h:176
void SetIsModifiable(IsModifiable &&value)
Definition Parameter.h:165
void SetDescription(Aws::String &&value)
Definition Parameter.h:108
void SetDescription(const char *value)
Definition Parameter.h:109
bool SourceHasBeenSet() const
Definition Parameter.h:121
const Aws::String & GetParameterValue() const
Definition Parameter.h:77
Parameter & WithParameterValue(const char *value)
Definition Parameter.h:84
AWS_DAX_API Parameter & operator=(Aws::Utils::Json::JsonView jsonValue)
Parameter & WithParameterValue(const Aws::String &value)
Definition Parameter.h:82
void SetParameterName(Aws::String &&value)
Definition Parameter.h:53
void SetChangeType(ChangeType &&value)
Definition Parameter.h:179
AWS_DAX_API Parameter(Aws::Utils::Json::JsonView jsonValue)
void SetAllowedValues(const char *value)
Definition Parameter.h:152
const Aws::String & GetParameterName() const
Definition Parameter.h:50
Parameter & WithDescription(const char *value)
Definition Parameter.h:112
void SetSource(const Aws::String &value)
Definition Parameter.h:122
const IsModifiable & GetIsModifiable() const
Definition Parameter.h:162
Parameter & WithDataType(const char *value)
Definition Parameter.h:141
Parameter & WithIsModifiable(const IsModifiable &value)
Definition Parameter.h:166
bool IsModifiableHasBeenSet() const
Definition Parameter.h:163
void SetSource(Aws::String &&value)
Definition Parameter.h:123
void SetAllowedValues(const Aws::String &value)
Definition Parameter.h:150
bool DataTypeHasBeenSet() const
Definition Parameter.h:135
void SetParameterValue(const Aws::String &value)
Definition Parameter.h:79
void SetIsModifiable(const IsModifiable &value)
Definition Parameter.h:164
Parameter & WithSource(Aws::String &&value)
Definition Parameter.h:126
Parameter & WithParameterType(ParameterType &&value)
Definition Parameter.h:70
bool AllowedValuesHasBeenSet() const
Definition Parameter.h:149
void SetSource(const char *value)
Definition Parameter.h:124
bool NodeTypeSpecificValuesHasBeenSet() const
Definition Parameter.h:92
void SetParameterName(const Aws::String &value)
Definition Parameter.h:52
const Aws::String & GetDescription() const
Definition Parameter.h:105
Parameter & WithAllowedValues(const Aws::String &value)
Definition Parameter.h:153
const Aws::String & GetDataType() const
Definition Parameter.h:134
bool ParameterTypeHasBeenSet() const
Definition Parameter.h:66
Parameter & WithDescription(Aws::String &&value)
Definition Parameter.h:111
bool ChangeTypeHasBeenSet() const
Definition Parameter.h:177
bool ParameterNameHasBeenSet() const
Definition Parameter.h:51
Parameter & WithSource(const char *value)
Definition Parameter.h:127
Parameter & WithNodeTypeSpecificValues(const Aws::Vector< NodeTypeSpecificValue > &value)
Definition Parameter.h:95
bool ParameterValueHasBeenSet() const
Definition Parameter.h:78
void SetChangeType(const ChangeType &value)
Definition Parameter.h:178
void SetAllowedValues(Aws::String &&value)
Definition Parameter.h:151
void SetDescription(const Aws::String &value)
Definition Parameter.h:107
void SetParameterValue(const char *value)
Definition Parameter.h:81
AWS_DAX_API Aws::Utils::Json::JsonValue Jsonize() const
Parameter & WithAllowedValues(const char *value)
Definition Parameter.h:155
Parameter & WithAllowedValues(Aws::String &&value)
Definition Parameter.h:154
Parameter & WithNodeTypeSpecificValues(Aws::Vector< NodeTypeSpecificValue > &&value)
Definition Parameter.h:96
Parameter & WithParameterName(const Aws::String &value)
Definition Parameter.h:55
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue