AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename FullyQualifiedNameT = Aws::String>
54 void SetFullyQualifiedName(FullyQualifiedNameT&& value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName = std::forward<FullyQualifiedNameT>(value); }
55 template<typename FullyQualifiedNameT = Aws::String>
56 Actuator& WithFullyQualifiedName(FullyQualifiedNameT&& value) { SetFullyQualifiedName(std::forward<FullyQualifiedNameT>(value)); return *this;}
58
60
63 inline NodeDataType GetDataType() const { return m_dataType; }
64 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
65 inline void SetDataType(NodeDataType value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
66 inline Actuator& WithDataType(NodeDataType value) { SetDataType(value); return *this;}
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 template<typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
77 template<typename DescriptionT = Aws::String>
78 Actuator& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
80
82
85 inline const Aws::String& GetUnit() const { return m_unit; }
86 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
87 template<typename UnitT = Aws::String>
88 void SetUnit(UnitT&& value) { m_unitHasBeenSet = true; m_unit = std::forward<UnitT>(value); }
89 template<typename UnitT = Aws::String>
90 Actuator& WithUnit(UnitT&& value) { SetUnit(std::forward<UnitT>(value)); return *this;}
92
94
97 inline const Aws::Vector<Aws::String>& GetAllowedValues() const { return m_allowedValues; }
98 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
99 template<typename AllowedValuesT = Aws::Vector<Aws::String>>
100 void SetAllowedValues(AllowedValuesT&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::forward<AllowedValuesT>(value); }
101 template<typename AllowedValuesT = Aws::Vector<Aws::String>>
102 Actuator& WithAllowedValues(AllowedValuesT&& value) { SetAllowedValues(std::forward<AllowedValuesT>(value)); return *this;}
103 template<typename AllowedValuesT = Aws::String>
104 Actuator& AddAllowedValues(AllowedValuesT&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.emplace_back(std::forward<AllowedValuesT>(value)); return *this; }
106
108
111 inline double GetMin() const { return m_min; }
112 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
113 inline void SetMin(double value) { m_minHasBeenSet = true; m_min = value; }
114 inline Actuator& WithMin(double value) { SetMin(value); return *this;}
116
118
121 inline double GetMax() const { return m_max; }
122 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
123 inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; }
124 inline Actuator& WithMax(double value) { SetMax(value); return *this;}
126
128
132 inline const Aws::String& GetDeprecationMessage() const { return m_deprecationMessage; }
133 inline bool DeprecationMessageHasBeenSet() const { return m_deprecationMessageHasBeenSet; }
134 template<typename DeprecationMessageT = Aws::String>
135 void SetDeprecationMessage(DeprecationMessageT&& value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage = std::forward<DeprecationMessageT>(value); }
136 template<typename DeprecationMessageT = Aws::String>
137 Actuator& WithDeprecationMessage(DeprecationMessageT&& value) { SetDeprecationMessage(std::forward<DeprecationMessageT>(value)); return *this;}
139
141
144 inline const Aws::String& GetComment() const { return m_comment; }
145 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
146 template<typename CommentT = Aws::String>
147 void SetComment(CommentT&& value) { m_commentHasBeenSet = true; m_comment = std::forward<CommentT>(value); }
148 template<typename CommentT = Aws::String>
149 Actuator& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
151
153
159 inline const Aws::String& GetStructFullyQualifiedName() const { return m_structFullyQualifiedName; }
160 inline bool StructFullyQualifiedNameHasBeenSet() const { return m_structFullyQualifiedNameHasBeenSet; }
161 template<typename StructFullyQualifiedNameT = Aws::String>
162 void SetStructFullyQualifiedName(StructFullyQualifiedNameT&& value) { m_structFullyQualifiedNameHasBeenSet = true; m_structFullyQualifiedName = std::forward<StructFullyQualifiedNameT>(value); }
163 template<typename StructFullyQualifiedNameT = Aws::String>
164 Actuator& WithStructFullyQualifiedName(StructFullyQualifiedNameT&& value) { SetStructFullyQualifiedName(std::forward<StructFullyQualifiedNameT>(value)); return *this;}
166 private:
167
168 Aws::String m_fullyQualifiedName;
169 bool m_fullyQualifiedNameHasBeenSet = false;
170
172 bool m_dataTypeHasBeenSet = false;
173
174 Aws::String m_description;
175 bool m_descriptionHasBeenSet = false;
176
177 Aws::String m_unit;
178 bool m_unitHasBeenSet = false;
179
180 Aws::Vector<Aws::String> m_allowedValues;
181 bool m_allowedValuesHasBeenSet = false;
182
183 double m_min{0.0};
184 bool m_minHasBeenSet = false;
185
186 double m_max{0.0};
187 bool m_maxHasBeenSet = false;
188
189 Aws::String m_deprecationMessage;
190 bool m_deprecationMessageHasBeenSet = false;
191
192 Aws::String m_comment;
193 bool m_commentHasBeenSet = false;
194
195 Aws::String m_structFullyQualifiedName;
196 bool m_structFullyQualifiedNameHasBeenSet = false;
197 };
198
199} // namespace Model
200} // namespace IoTFleetWise
201} // namespace Aws
bool StructFullyQualifiedNameHasBeenSet() const
Definition Actuator.h:160
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetAllowedValues() const
Definition Actuator.h:97
Actuator & WithDataType(NodeDataType value)
Definition Actuator.h:66
Actuator & WithComment(CommentT &&value)
Definition Actuator.h:149
Actuator & WithFullyQualifiedName(FullyQualifiedNameT &&value)
Definition Actuator.h:56
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:90
const Aws::String & GetDeprecationMessage() const
Definition Actuator.h:132
Actuator & WithAllowedValues(AllowedValuesT &&value)
Definition Actuator.h:102
bool FullyQualifiedNameHasBeenSet() const
Definition Actuator.h:52
bool DeprecationMessageHasBeenSet() const
Definition Actuator.h:133
Actuator & WithMin(double value)
Definition Actuator.h:114
void SetFullyQualifiedName(FullyQualifiedNameT &&value)
Definition Actuator.h:54
void SetDescription(DescriptionT &&value)
Definition Actuator.h:76
Actuator & WithStructFullyQualifiedName(StructFullyQualifiedNameT &&value)
Definition Actuator.h:164
const Aws::String & GetDescription() const
Definition Actuator.h:73
const Aws::String & GetFullyQualifiedName() const
Definition Actuator.h:51
void SetComment(CommentT &&value)
Definition Actuator.h:147
void SetDataType(NodeDataType value)
Definition Actuator.h:65
void SetDeprecationMessage(DeprecationMessageT &&value)
Definition Actuator.h:135
Actuator & WithDescription(DescriptionT &&value)
Definition Actuator.h:78
AWS_IOTFLEETWISE_API Actuator()=default
Actuator & WithMax(double value)
Definition Actuator.h:124
const Aws::String & GetComment() const
Definition Actuator.h:144
const Aws::String & GetUnit() const
Definition Actuator.h:85
Actuator & AddAllowedValues(AllowedValuesT &&value)
Definition Actuator.h:104
NodeDataType GetDataType() const
Definition Actuator.h:63
void SetUnit(UnitT &&value)
Definition Actuator.h:88
Actuator & WithDeprecationMessage(DeprecationMessageT &&value)
Definition Actuator.h:137
const Aws::String & GetStructFullyQualifiedName() const
Definition Actuator.h:159
void SetAllowedValues(AllowedValuesT &&value)
Definition Actuator.h:100
void SetStructFullyQualifiedName(StructFullyQualifiedNameT &&value)
Definition Actuator.h:162
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue