AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ParameterNameT = Aws::String>
53 void SetParameterName(ParameterNameT&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::forward<ParameterNameT>(value); }
54 template<typename ParameterNameT = Aws::String>
55 Parameter& WithParameterName(ParameterNameT&& value) { SetParameterName(std::forward<ParameterNameT>(value)); return *this;}
57
59
63 inline ParameterType GetParameterType() const { return m_parameterType; }
64 inline bool ParameterTypeHasBeenSet() const { return m_parameterTypeHasBeenSet; }
65 inline void SetParameterType(ParameterType value) { m_parameterTypeHasBeenSet = true; m_parameterType = value; }
66 inline Parameter& WithParameterType(ParameterType value) { SetParameterType(value); return *this;}
68
70
73 inline const Aws::String& GetParameterValue() const { return m_parameterValue; }
74 inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; }
75 template<typename ParameterValueT = Aws::String>
76 void SetParameterValue(ParameterValueT&& value) { m_parameterValueHasBeenSet = true; m_parameterValue = std::forward<ParameterValueT>(value); }
77 template<typename ParameterValueT = Aws::String>
78 Parameter& WithParameterValue(ParameterValueT&& value) { SetParameterValue(std::forward<ParameterValueT>(value)); return *this;}
80
82
85 inline const Aws::Vector<NodeTypeSpecificValue>& GetNodeTypeSpecificValues() const { return m_nodeTypeSpecificValues; }
86 inline bool NodeTypeSpecificValuesHasBeenSet() const { return m_nodeTypeSpecificValuesHasBeenSet; }
87 template<typename NodeTypeSpecificValuesT = Aws::Vector<NodeTypeSpecificValue>>
88 void SetNodeTypeSpecificValues(NodeTypeSpecificValuesT&& value) { m_nodeTypeSpecificValuesHasBeenSet = true; m_nodeTypeSpecificValues = std::forward<NodeTypeSpecificValuesT>(value); }
89 template<typename NodeTypeSpecificValuesT = Aws::Vector<NodeTypeSpecificValue>>
90 Parameter& WithNodeTypeSpecificValues(NodeTypeSpecificValuesT&& value) { SetNodeTypeSpecificValues(std::forward<NodeTypeSpecificValuesT>(value)); return *this;}
91 template<typename NodeTypeSpecificValuesT = NodeTypeSpecificValue>
92 Parameter& AddNodeTypeSpecificValues(NodeTypeSpecificValuesT&& value) { m_nodeTypeSpecificValuesHasBeenSet = true; m_nodeTypeSpecificValues.emplace_back(std::forward<NodeTypeSpecificValuesT>(value)); return *this; }
94
96
99 inline const Aws::String& GetDescription() const { return m_description; }
100 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
101 template<typename DescriptionT = Aws::String>
102 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
103 template<typename DescriptionT = Aws::String>
104 Parameter& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
106
108
112 inline const Aws::String& GetSource() const { return m_source; }
113 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
114 template<typename SourceT = Aws::String>
115 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
116 template<typename SourceT = Aws::String>
117 Parameter& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
119
121
124 inline const Aws::String& GetDataType() const { return m_dataType; }
125 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
126 template<typename DataTypeT = Aws::String>
127 void SetDataType(DataTypeT&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::forward<DataTypeT>(value); }
128 template<typename DataTypeT = Aws::String>
129 Parameter& WithDataType(DataTypeT&& value) { SetDataType(std::forward<DataTypeT>(value)); return *this;}
131
133
136 inline const Aws::String& GetAllowedValues() const { return m_allowedValues; }
137 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
138 template<typename AllowedValuesT = Aws::String>
139 void SetAllowedValues(AllowedValuesT&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::forward<AllowedValuesT>(value); }
140 template<typename AllowedValuesT = Aws::String>
141 Parameter& WithAllowedValues(AllowedValuesT&& value) { SetAllowedValues(std::forward<AllowedValuesT>(value)); return *this;}
143
145
148 inline IsModifiable GetIsModifiable() const { return m_isModifiable; }
149 inline bool IsModifiableHasBeenSet() const { return m_isModifiableHasBeenSet; }
150 inline void SetIsModifiable(IsModifiable value) { m_isModifiableHasBeenSet = true; m_isModifiable = value; }
151 inline Parameter& WithIsModifiable(IsModifiable value) { SetIsModifiable(value); return *this;}
153
155
160 inline ChangeType GetChangeType() const { return m_changeType; }
161 inline bool ChangeTypeHasBeenSet() const { return m_changeTypeHasBeenSet; }
162 inline void SetChangeType(ChangeType value) { m_changeTypeHasBeenSet = true; m_changeType = value; }
163 inline Parameter& WithChangeType(ChangeType value) { SetChangeType(value); return *this;}
165 private:
166
167 Aws::String m_parameterName;
168 bool m_parameterNameHasBeenSet = false;
169
170 ParameterType m_parameterType{ParameterType::NOT_SET};
171 bool m_parameterTypeHasBeenSet = false;
172
173 Aws::String m_parameterValue;
174 bool m_parameterValueHasBeenSet = false;
175
176 Aws::Vector<NodeTypeSpecificValue> m_nodeTypeSpecificValues;
177 bool m_nodeTypeSpecificValuesHasBeenSet = false;
178
179 Aws::String m_description;
180 bool m_descriptionHasBeenSet = false;
181
182 Aws::String m_source;
183 bool m_sourceHasBeenSet = false;
184
185 Aws::String m_dataType;
186 bool m_dataTypeHasBeenSet = false;
187
188 Aws::String m_allowedValues;
189 bool m_allowedValuesHasBeenSet = false;
190
191 IsModifiable m_isModifiable{IsModifiable::NOT_SET};
192 bool m_isModifiableHasBeenSet = false;
193
194 ChangeType m_changeType{ChangeType::NOT_SET};
195 bool m_changeTypeHasBeenSet = false;
196 };
197
198} // namespace Model
199} // namespace DAX
200} // namespace Aws
Parameter & WithAllowedValues(AllowedValuesT &&value)
Definition Parameter.h:141
bool DescriptionHasBeenSet() const
Definition Parameter.h:100
Parameter & WithChangeType(ChangeType value)
Definition Parameter.h:163
void SetSource(SourceT &&value)
Definition Parameter.h:115
void SetAllowedValues(AllowedValuesT &&value)
Definition Parameter.h:139
void SetChangeType(ChangeType value)
Definition Parameter.h:162
const Aws::Vector< NodeTypeSpecificValue > & GetNodeTypeSpecificValues() const
Definition Parameter.h:85
Parameter & WithParameterType(ParameterType value)
Definition Parameter.h:66
Parameter & AddNodeTypeSpecificValues(NodeTypeSpecificValuesT &&value)
Definition Parameter.h:92
Parameter & WithParameterName(ParameterNameT &&value)
Definition Parameter.h:55
const Aws::String & GetAllowedValues() const
Definition Parameter.h:136
void SetParameterName(ParameterNameT &&value)
Definition Parameter.h:53
const Aws::String & GetSource() const
Definition Parameter.h:112
Parameter & WithNodeTypeSpecificValues(NodeTypeSpecificValuesT &&value)
Definition Parameter.h:90
IsModifiable GetIsModifiable() const
Definition Parameter.h:148
bool SourceHasBeenSet() const
Definition Parameter.h:113
Parameter & WithIsModifiable(IsModifiable value)
Definition Parameter.h:151
AWS_DAX_API Parameter()=default
const Aws::String & GetParameterValue() const
Definition Parameter.h:73
void SetParameterValue(ParameterValueT &&value)
Definition Parameter.h:76
AWS_DAX_API Parameter & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DAX_API Parameter(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetParameterName() const
Definition Parameter.h:50
void SetDescription(DescriptionT &&value)
Definition Parameter.h:102
ChangeType GetChangeType() const
Definition Parameter.h:160
void SetDataType(DataTypeT &&value)
Definition Parameter.h:127
bool IsModifiableHasBeenSet() const
Definition Parameter.h:149
void SetParameterType(ParameterType value)
Definition Parameter.h:65
void SetNodeTypeSpecificValues(NodeTypeSpecificValuesT &&value)
Definition Parameter.h:88
bool DataTypeHasBeenSet() const
Definition Parameter.h:125
Parameter & WithSource(SourceT &&value)
Definition Parameter.h:117
bool AllowedValuesHasBeenSet() const
Definition Parameter.h:137
ParameterType GetParameterType() const
Definition Parameter.h:63
bool NodeTypeSpecificValuesHasBeenSet() const
Definition Parameter.h:86
void SetIsModifiable(IsModifiable value)
Definition Parameter.h:150
const Aws::String & GetDescription() const
Definition Parameter.h:99
const Aws::String & GetDataType() const
Definition Parameter.h:124
bool ParameterTypeHasBeenSet() const
Definition Parameter.h:64
Parameter & WithDescription(DescriptionT &&value)
Definition Parameter.h:104
bool ChangeTypeHasBeenSet() const
Definition Parameter.h:161
bool ParameterNameHasBeenSet() const
Definition Parameter.h:51
bool ParameterValueHasBeenSet() const
Definition Parameter.h:74
Parameter & WithParameterValue(ParameterValueT &&value)
Definition Parameter.h:78
Parameter & WithDataType(DataTypeT &&value)
Definition Parameter.h:129
AWS_DAX_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue