AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
Actuator.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
10#include <aws/iotfleetwise/model/NodeDataType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTFleetWise {
22namespace Model {
23
33class Actuator {
34 public:
35 AWS_IOTFLEETWISE_API Actuator() = default;
36 AWS_IOTFLEETWISE_API Actuator(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTFLEETWISE_API Actuator& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline const Aws::String& GetFullyQualifiedName() const { return m_fullyQualifiedName; }
46 inline bool FullyQualifiedNameHasBeenSet() const { return m_fullyQualifiedNameHasBeenSet; }
47 template <typename FullyQualifiedNameT = Aws::String>
48 void SetFullyQualifiedName(FullyQualifiedNameT&& value) {
49 m_fullyQualifiedNameHasBeenSet = true;
50 m_fullyQualifiedName = std::forward<FullyQualifiedNameT>(value);
51 }
52 template <typename FullyQualifiedNameT = Aws::String>
53 Actuator& WithFullyQualifiedName(FullyQualifiedNameT&& value) {
54 SetFullyQualifiedName(std::forward<FullyQualifiedNameT>(value));
55 return *this;
56 }
58
60
63 inline NodeDataType GetDataType() const { return m_dataType; }
64 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
65 inline void SetDataType(NodeDataType value) {
66 m_dataTypeHasBeenSet = true;
67 m_dataType = value;
68 }
70 SetDataType(value);
71 return *this;
72 }
74
76
79 inline const Aws::String& GetDescription() const { return m_description; }
80 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
81 template <typename DescriptionT = Aws::String>
82 void SetDescription(DescriptionT&& value) {
83 m_descriptionHasBeenSet = true;
84 m_description = std::forward<DescriptionT>(value);
85 }
86 template <typename DescriptionT = Aws::String>
87 Actuator& WithDescription(DescriptionT&& value) {
88 SetDescription(std::forward<DescriptionT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetUnit() const { return m_unit; }
98 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
99 template <typename UnitT = Aws::String>
100 void SetUnit(UnitT&& value) {
101 m_unitHasBeenSet = true;
102 m_unit = std::forward<UnitT>(value);
103 }
104 template <typename UnitT = Aws::String>
105 Actuator& WithUnit(UnitT&& value) {
106 SetUnit(std::forward<UnitT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::Vector<Aws::String>& GetAllowedValues() const { return m_allowedValues; }
116 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
117 template <typename AllowedValuesT = Aws::Vector<Aws::String>>
118 void SetAllowedValues(AllowedValuesT&& value) {
119 m_allowedValuesHasBeenSet = true;
120 m_allowedValues = std::forward<AllowedValuesT>(value);
121 }
122 template <typename AllowedValuesT = Aws::Vector<Aws::String>>
123 Actuator& WithAllowedValues(AllowedValuesT&& value) {
124 SetAllowedValues(std::forward<AllowedValuesT>(value));
125 return *this;
126 }
127 template <typename AllowedValuesT = Aws::String>
128 Actuator& AddAllowedValues(AllowedValuesT&& value) {
129 m_allowedValuesHasBeenSet = true;
130 m_allowedValues.emplace_back(std::forward<AllowedValuesT>(value));
131 return *this;
132 }
134
136
139 inline double GetMin() const { return m_min; }
140 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
141 inline void SetMin(double value) {
142 m_minHasBeenSet = true;
143 m_min = value;
144 }
145 inline Actuator& WithMin(double value) {
146 SetMin(value);
147 return *this;
148 }
150
152
155 inline double GetMax() const { return m_max; }
156 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
157 inline void SetMax(double value) {
158 m_maxHasBeenSet = true;
159 m_max = value;
160 }
161 inline Actuator& WithMax(double value) {
162 SetMax(value);
163 return *this;
164 }
166
168
172 inline const Aws::String& GetDeprecationMessage() const { return m_deprecationMessage; }
173 inline bool DeprecationMessageHasBeenSet() const { return m_deprecationMessageHasBeenSet; }
174 template <typename DeprecationMessageT = Aws::String>
175 void SetDeprecationMessage(DeprecationMessageT&& value) {
176 m_deprecationMessageHasBeenSet = true;
177 m_deprecationMessage = std::forward<DeprecationMessageT>(value);
178 }
179 template <typename DeprecationMessageT = Aws::String>
180 Actuator& WithDeprecationMessage(DeprecationMessageT&& value) {
181 SetDeprecationMessage(std::forward<DeprecationMessageT>(value));
182 return *this;
183 }
185
187
190 inline const Aws::String& GetComment() const { return m_comment; }
191 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
192 template <typename CommentT = Aws::String>
193 void SetComment(CommentT&& value) {
194 m_commentHasBeenSet = true;
195 m_comment = std::forward<CommentT>(value);
196 }
197 template <typename CommentT = Aws::String>
198 Actuator& WithComment(CommentT&& value) {
199 SetComment(std::forward<CommentT>(value));
200 return *this;
201 }
203
205
211 inline const Aws::String& GetStructFullyQualifiedName() const { return m_structFullyQualifiedName; }
212 inline bool StructFullyQualifiedNameHasBeenSet() const { return m_structFullyQualifiedNameHasBeenSet; }
213 template <typename StructFullyQualifiedNameT = Aws::String>
214 void SetStructFullyQualifiedName(StructFullyQualifiedNameT&& value) {
215 m_structFullyQualifiedNameHasBeenSet = true;
216 m_structFullyQualifiedName = std::forward<StructFullyQualifiedNameT>(value);
217 }
218 template <typename StructFullyQualifiedNameT = Aws::String>
219 Actuator& WithStructFullyQualifiedName(StructFullyQualifiedNameT&& value) {
220 SetStructFullyQualifiedName(std::forward<StructFullyQualifiedNameT>(value));
221 return *this;
222 }
224 private:
225 Aws::String m_fullyQualifiedName;
226
228
229 Aws::String m_description;
230
231 Aws::String m_unit;
232
233 Aws::Vector<Aws::String> m_allowedValues;
234
235 double m_min{0.0};
236
237 double m_max{0.0};
238
239 Aws::String m_deprecationMessage;
240
241 Aws::String m_comment;
242
243 Aws::String m_structFullyQualifiedName;
244 bool m_fullyQualifiedNameHasBeenSet = false;
245 bool m_dataTypeHasBeenSet = false;
246 bool m_descriptionHasBeenSet = false;
247 bool m_unitHasBeenSet = false;
248 bool m_allowedValuesHasBeenSet = false;
249 bool m_minHasBeenSet = false;
250 bool m_maxHasBeenSet = false;
251 bool m_deprecationMessageHasBeenSet = false;
252 bool m_commentHasBeenSet = false;
253 bool m_structFullyQualifiedNameHasBeenSet = false;
254};
255
256} // namespace Model
257} // namespace IoTFleetWise
258} // namespace Aws
bool StructFullyQualifiedNameHasBeenSet() const
Definition Actuator.h:212
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetAllowedValues() const
Definition Actuator.h:115
Actuator & WithDataType(NodeDataType value)
Definition Actuator.h:69
Actuator & WithComment(CommentT &&value)
Definition Actuator.h:198
Actuator & WithFullyQualifiedName(FullyQualifiedNameT &&value)
Definition Actuator.h:53
AWS_IOTFLEETWISE_API Actuator & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API Actuator(Aws::Utils::Json::JsonView jsonValue)
Actuator & WithUnit(UnitT &&value)
Definition Actuator.h:105
const Aws::String & GetDeprecationMessage() const
Definition Actuator.h:172
Actuator & WithAllowedValues(AllowedValuesT &&value)
Definition Actuator.h:123
bool FullyQualifiedNameHasBeenSet() const
Definition Actuator.h:46
bool DeprecationMessageHasBeenSet() const
Definition Actuator.h:173
Actuator & WithMin(double value)
Definition Actuator.h:145
void SetFullyQualifiedName(FullyQualifiedNameT &&value)
Definition Actuator.h:48
void SetDescription(DescriptionT &&value)
Definition Actuator.h:82
Actuator & WithStructFullyQualifiedName(StructFullyQualifiedNameT &&value)
Definition Actuator.h:219
const Aws::String & GetDescription() const
Definition Actuator.h:79
const Aws::String & GetFullyQualifiedName() const
Definition Actuator.h:45
void SetComment(CommentT &&value)
Definition Actuator.h:193
void SetDataType(NodeDataType value)
Definition Actuator.h:65
void SetDeprecationMessage(DeprecationMessageT &&value)
Definition Actuator.h:175
Actuator & WithDescription(DescriptionT &&value)
Definition Actuator.h:87
AWS_IOTFLEETWISE_API Actuator()=default
Actuator & WithMax(double value)
Definition Actuator.h:161
const Aws::String & GetComment() const
Definition Actuator.h:190
const Aws::String & GetUnit() const
Definition Actuator.h:97
Actuator & AddAllowedValues(AllowedValuesT &&value)
Definition Actuator.h:128
NodeDataType GetDataType() const
Definition Actuator.h:63
void SetUnit(UnitT &&value)
Definition Actuator.h:100
Actuator & WithDeprecationMessage(DeprecationMessageT &&value)
Definition Actuator.h:180
const Aws::String & GetStructFullyQualifiedName() const
Definition Actuator.h:211
void SetAllowedValues(AllowedValuesT &&value)
Definition Actuator.h:118
void SetStructFullyQualifiedName(StructFullyQualifiedNameT &&value)
Definition Actuator.h:214
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue