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>
21namespace IoTFleetWise {
33 AWS_IOTFLEETWISE_API
Sensor() =
default;
45 template <
typename FullyQualifiedNameT = Aws::String>
47 m_fullyQualifiedNameHasBeenSet =
true;
48 m_fullyQualifiedName = std::forward<FullyQualifiedNameT>(value);
50 template <
typename FullyQualifiedNameT = Aws::String>
64 m_dataTypeHasBeenSet =
true;
79 template <
typename DescriptionT = Aws::String>
81 m_descriptionHasBeenSet =
true;
82 m_description = std::forward<DescriptionT>(value);
84 template <
typename DescriptionT = Aws::String>
97 template <
typename UnitT = Aws::String>
99 m_unitHasBeenSet =
true;
100 m_unit = std::forward<UnitT>(value);
102 template <
typename UnitT = Aws::String>
104 SetUnit(std::forward<UnitT>(value));
115 template <
typename AllowedValuesT = Aws::Vector<Aws::String>>
117 m_allowedValuesHasBeenSet =
true;
118 m_allowedValues = std::forward<AllowedValuesT>(value);
120 template <
typename AllowedValuesT = Aws::Vector<Aws::String>>
125 template <
typename AllowedValuesT = Aws::String>
127 m_allowedValuesHasBeenSet =
true;
128 m_allowedValues.emplace_back(std::forward<AllowedValuesT>(value));
137 inline double GetMin()
const {
return m_min; }
140 m_minHasBeenSet =
true;
153 inline double GetMax()
const {
return m_max; }
156 m_maxHasBeenSet =
true;
172 template <
typename DeprecationMessageT = Aws::String>
174 m_deprecationMessageHasBeenSet =
true;
175 m_deprecationMessage = std::forward<DeprecationMessageT>(value);
177 template <
typename DeprecationMessageT = Aws::String>
190 template <
typename CommentT = Aws::String>
192 m_commentHasBeenSet =
true;
193 m_comment = std::forward<CommentT>(value);
195 template <
typename CommentT = Aws::String>
211 template <
typename StructFullyQualifiedNameT = Aws::String>
213 m_structFullyQualifiedNameHasBeenSet =
true;
214 m_structFullyQualifiedName = std::forward<StructFullyQualifiedNameT>(value);
216 template <
typename StructFullyQualifiedNameT = Aws::String>
242 bool m_fullyQualifiedNameHasBeenSet =
false;
243 bool m_dataTypeHasBeenSet =
false;
244 bool m_descriptionHasBeenSet =
false;
245 bool m_unitHasBeenSet =
false;
246 bool m_allowedValuesHasBeenSet =
false;
247 bool m_minHasBeenSet =
false;
248 bool m_maxHasBeenSet =
false;
249 bool m_deprecationMessageHasBeenSet =
false;
250 bool m_commentHasBeenSet =
false;
251 bool m_structFullyQualifiedNameHasBeenSet =
false;
const Aws::String & GetComment() const
const Aws::String & GetDescription() const
NodeDataType GetDataType() const
AWS_IOTFLEETWISE_API Sensor & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUnit(UnitT &&value)
bool DescriptionHasBeenSet() const
void SetDataType(NodeDataType value)
const Aws::Vector< Aws::String > & GetAllowedValues() const
Sensor & WithMin(double value)
void SetMin(double value)
const Aws::String & GetDeprecationMessage() const
void SetDeprecationMessage(DeprecationMessageT &&value)
void SetDescription(DescriptionT &&value)
void SetFullyQualifiedName(FullyQualifiedNameT &&value)
Sensor & WithUnit(UnitT &&value)
AWS_IOTFLEETWISE_API Sensor()=default
bool AllowedValuesHasBeenSet() const
const Aws::String & GetUnit() const
bool DataTypeHasBeenSet() const
const Aws::String & GetStructFullyQualifiedName() const
Sensor & WithDataType(NodeDataType value)
AWS_IOTFLEETWISE_API Sensor(Aws::Utils::Json::JsonView jsonValue)
void SetStructFullyQualifiedName(StructFullyQualifiedNameT &&value)
bool DeprecationMessageHasBeenSet() const
Sensor & WithDeprecationMessage(DeprecationMessageT &&value)
void SetAllowedValues(AllowedValuesT &&value)
bool CommentHasBeenSet() const
Sensor & WithDescription(DescriptionT &&value)
Sensor & AddAllowedValues(AllowedValuesT &&value)
const Aws::String & GetFullyQualifiedName() const
bool MinHasBeenSet() const
bool MaxHasBeenSet() const
void SetComment(CommentT &&value)
bool FullyQualifiedNameHasBeenSet() const
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMax(double value)
bool UnitHasBeenSet() const
bool StructFullyQualifiedNameHasBeenSet() const
Sensor & WithStructFullyQualifiedName(StructFullyQualifiedNameT &&value)
Sensor & WithMax(double value)
Sensor & WithFullyQualifiedName(FullyQualifiedNameT &&value)
Sensor & WithAllowedValues(AllowedValuesT &&value)
Sensor & WithComment(CommentT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue