AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Actuator.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/NodeDataType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTFleetWise
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_IOTFLEETWISE_API Actuator();
41 AWS_IOTFLEETWISE_API Actuator(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IOTFLEETWISE_API Actuator& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetFullyQualifiedName() const{ return m_fullyQualifiedName; }
52 inline bool FullyQualifiedNameHasBeenSet() const { return m_fullyQualifiedNameHasBeenSet; }
53 inline void SetFullyQualifiedName(const Aws::String& value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName = value; }
54 inline void SetFullyQualifiedName(Aws::String&& value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName = std::move(value); }
55 inline void SetFullyQualifiedName(const char* value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName.assign(value); }
56 inline Actuator& WithFullyQualifiedName(const Aws::String& value) { SetFullyQualifiedName(value); return *this;}
57 inline Actuator& WithFullyQualifiedName(Aws::String&& value) { SetFullyQualifiedName(std::move(value)); return *this;}
58 inline Actuator& WithFullyQualifiedName(const char* value) { SetFullyQualifiedName(value); return *this;}
60
62
65 inline const NodeDataType& GetDataType() const{ return m_dataType; }
66 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
67 inline void SetDataType(const NodeDataType& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
68 inline void SetDataType(NodeDataType&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
69 inline Actuator& WithDataType(const NodeDataType& value) { SetDataType(value); return *this;}
70 inline Actuator& WithDataType(NodeDataType&& value) { SetDataType(std::move(value)); return *this;}
72
74
77 inline const Aws::String& GetDescription() const{ return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
82 inline Actuator& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline Actuator& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline Actuator& WithDescription(const char* value) { SetDescription(value); return *this;}
86
88
91 inline const Aws::String& GetUnit() const{ return m_unit; }
92 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
93 inline void SetUnit(const Aws::String& value) { m_unitHasBeenSet = true; m_unit = value; }
94 inline void SetUnit(Aws::String&& value) { m_unitHasBeenSet = true; m_unit = std::move(value); }
95 inline void SetUnit(const char* value) { m_unitHasBeenSet = true; m_unit.assign(value); }
96 inline Actuator& WithUnit(const Aws::String& value) { SetUnit(value); return *this;}
97 inline Actuator& WithUnit(Aws::String&& value) { SetUnit(std::move(value)); return *this;}
98 inline Actuator& WithUnit(const char* value) { SetUnit(value); return *this;}
100
102
105 inline const Aws::Vector<Aws::String>& GetAllowedValues() const{ return m_allowedValues; }
106 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
107 inline void SetAllowedValues(const Aws::Vector<Aws::String>& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; }
108 inline void SetAllowedValues(Aws::Vector<Aws::String>&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); }
109 inline Actuator& WithAllowedValues(const Aws::Vector<Aws::String>& value) { SetAllowedValues(value); return *this;}
110 inline Actuator& WithAllowedValues(Aws::Vector<Aws::String>&& value) { SetAllowedValues(std::move(value)); return *this;}
111 inline Actuator& AddAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(value); return *this; }
112 inline Actuator& AddAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(std::move(value)); return *this; }
113 inline Actuator& AddAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(value); return *this; }
115
117
120 inline double GetMin() const{ return m_min; }
121 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
122 inline void SetMin(double value) { m_minHasBeenSet = true; m_min = value; }
123 inline Actuator& WithMin(double value) { SetMin(value); return *this;}
125
127
130 inline double GetMax() const{ return m_max; }
131 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
132 inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; }
133 inline Actuator& WithMax(double value) { SetMax(value); return *this;}
135
137
141 inline const Aws::String& GetDeprecationMessage() const{ return m_deprecationMessage; }
142 inline bool DeprecationMessageHasBeenSet() const { return m_deprecationMessageHasBeenSet; }
143 inline void SetDeprecationMessage(const Aws::String& value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage = value; }
144 inline void SetDeprecationMessage(Aws::String&& value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage = std::move(value); }
145 inline void SetDeprecationMessage(const char* value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage.assign(value); }
146 inline Actuator& WithDeprecationMessage(const Aws::String& value) { SetDeprecationMessage(value); return *this;}
147 inline Actuator& WithDeprecationMessage(Aws::String&& value) { SetDeprecationMessage(std::move(value)); return *this;}
148 inline Actuator& WithDeprecationMessage(const char* value) { SetDeprecationMessage(value); return *this;}
150
152
155 inline const Aws::String& GetComment() const{ return m_comment; }
156 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
157 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
158 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
159 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
160 inline Actuator& WithComment(const Aws::String& value) { SetComment(value); return *this;}
161 inline Actuator& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
162 inline Actuator& WithComment(const char* value) { SetComment(value); return *this;}
164
166
172 inline const Aws::String& GetStructFullyQualifiedName() const{ return m_structFullyQualifiedName; }
173 inline bool StructFullyQualifiedNameHasBeenSet() const { return m_structFullyQualifiedNameHasBeenSet; }
174 inline void SetStructFullyQualifiedName(const Aws::String& value) { m_structFullyQualifiedNameHasBeenSet = true; m_structFullyQualifiedName = value; }
175 inline void SetStructFullyQualifiedName(Aws::String&& value) { m_structFullyQualifiedNameHasBeenSet = true; m_structFullyQualifiedName = std::move(value); }
176 inline void SetStructFullyQualifiedName(const char* value) { m_structFullyQualifiedNameHasBeenSet = true; m_structFullyQualifiedName.assign(value); }
178 inline Actuator& WithStructFullyQualifiedName(Aws::String&& value) { SetStructFullyQualifiedName(std::move(value)); return *this;}
179 inline Actuator& WithStructFullyQualifiedName(const char* value) { SetStructFullyQualifiedName(value); return *this;}
181 private:
182
183 Aws::String m_fullyQualifiedName;
184 bool m_fullyQualifiedNameHasBeenSet = false;
185
186 NodeDataType m_dataType;
187 bool m_dataTypeHasBeenSet = false;
188
189 Aws::String m_description;
190 bool m_descriptionHasBeenSet = false;
191
192 Aws::String m_unit;
193 bool m_unitHasBeenSet = false;
194
195 Aws::Vector<Aws::String> m_allowedValues;
196 bool m_allowedValuesHasBeenSet = false;
197
198 double m_min;
199 bool m_minHasBeenSet = false;
200
201 double m_max;
202 bool m_maxHasBeenSet = false;
203
204 Aws::String m_deprecationMessage;
205 bool m_deprecationMessageHasBeenSet = false;
206
207 Aws::String m_comment;
208 bool m_commentHasBeenSet = false;
209
210 Aws::String m_structFullyQualifiedName;
211 bool m_structFullyQualifiedNameHasBeenSet = false;
212 };
213
214} // namespace Model
215} // namespace IoTFleetWise
216} // namespace Aws
Actuator & WithDataType(const NodeDataType &value)
Definition Actuator.h:69
Actuator & WithDescription(const char *value)
Definition Actuator.h:84
bool StructFullyQualifiedNameHasBeenSet() const
Definition Actuator.h:173
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetAllowedValues() const
Definition Actuator.h:105
void SetUnit(Aws::String &&value)
Definition Actuator.h:94
void SetAllowedValues(Aws::Vector< Aws::String > &&value)
Definition Actuator.h:108
void SetDeprecationMessage(const Aws::String &value)
Definition Actuator.h:143
void SetComment(Aws::String &&value)
Definition Actuator.h:158
AWS_IOTFLEETWISE_API Actuator & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API Actuator(Aws::Utils::Json::JsonView jsonValue)
Actuator & WithFullyQualifiedName(const char *value)
Definition Actuator.h:58
void SetDeprecationMessage(const char *value)
Definition Actuator.h:145
Actuator & WithDeprecationMessage(const Aws::String &value)
Definition Actuator.h:146
void SetStructFullyQualifiedName(Aws::String &&value)
Definition Actuator.h:175
void SetDataType(NodeDataType &&value)
Definition Actuator.h:68
const Aws::String & GetDeprecationMessage() const
Definition Actuator.h:141
bool FullyQualifiedNameHasBeenSet() const
Definition Actuator.h:52
const NodeDataType & GetDataType() const
Definition Actuator.h:65
Actuator & WithDeprecationMessage(Aws::String &&value)
Definition Actuator.h:147
void SetDataType(const NodeDataType &value)
Definition Actuator.h:67
Actuator & WithStructFullyQualifiedName(Aws::String &&value)
Definition Actuator.h:178
bool DeprecationMessageHasBeenSet() const
Definition Actuator.h:142
Actuator & WithMin(double value)
Definition Actuator.h:123
void SetUnit(const char *value)
Definition Actuator.h:95
Actuator & WithFullyQualifiedName(Aws::String &&value)
Definition Actuator.h:57
Actuator & WithComment(const Aws::String &value)
Definition Actuator.h:160
Actuator & WithDescription(Aws::String &&value)
Definition Actuator.h:83
Actuator & WithUnit(Aws::String &&value)
Definition Actuator.h:97
Actuator & WithAllowedValues(const Aws::Vector< Aws::String > &value)
Definition Actuator.h:109
void SetUnit(const Aws::String &value)
Definition Actuator.h:93
Actuator & WithAllowedValues(Aws::Vector< Aws::String > &&value)
Definition Actuator.h:110
void SetDescription(const char *value)
Definition Actuator.h:81
Actuator & WithStructFullyQualifiedName(const char *value)
Definition Actuator.h:179
Actuator & WithDescription(const Aws::String &value)
Definition Actuator.h:82
const Aws::String & GetDescription() const
Definition Actuator.h:77
Actuator & WithFullyQualifiedName(const Aws::String &value)
Definition Actuator.h:56
void SetAllowedValues(const Aws::Vector< Aws::String > &value)
Definition Actuator.h:107
const Aws::String & GetFullyQualifiedName() const
Definition Actuator.h:51
Actuator & WithDataType(NodeDataType &&value)
Definition Actuator.h:70
Actuator & AddAllowedValues(const char *value)
Definition Actuator.h:113
void SetDescription(const Aws::String &value)
Definition Actuator.h:79
void SetStructFullyQualifiedName(const char *value)
Definition Actuator.h:176
Actuator & WithComment(Aws::String &&value)
Definition Actuator.h:161
Actuator & WithUnit(const char *value)
Definition Actuator.h:98
void SetStructFullyQualifiedName(const Aws::String &value)
Definition Actuator.h:174
void SetDeprecationMessage(Aws::String &&value)
Definition Actuator.h:144
Actuator & WithDeprecationMessage(const char *value)
Definition Actuator.h:148
Actuator & WithMax(double value)
Definition Actuator.h:133
Actuator & AddAllowedValues(Aws::String &&value)
Definition Actuator.h:112
const Aws::String & GetComment() const
Definition Actuator.h:155
const Aws::String & GetUnit() const
Definition Actuator.h:91
void SetComment(const char *value)
Definition Actuator.h:159
Actuator & AddAllowedValues(const Aws::String &value)
Definition Actuator.h:111
Actuator & WithUnit(const Aws::String &value)
Definition Actuator.h:96
AWS_IOTFLEETWISE_API Actuator()
void SetComment(const Aws::String &value)
Definition Actuator.h:157
void SetFullyQualifiedName(const Aws::String &value)
Definition Actuator.h:53
Actuator & WithComment(const char *value)
Definition Actuator.h:162
Actuator & WithStructFullyQualifiedName(const Aws::String &value)
Definition Actuator.h:177
void SetFullyQualifiedName(const char *value)
Definition Actuator.h:55
void SetFullyQualifiedName(Aws::String &&value)
Definition Actuator.h:54
const Aws::String & GetStructFullyQualifiedName() const
Definition Actuator.h:172
void SetDescription(Aws::String &&value)
Definition Actuator.h:80
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue