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>
38 AWS_IOTFLEETWISE_API
Sensor() =
default;
51 template<
typename FullyQualifiedNameT = Aws::String>
52 void SetFullyQualifiedName(FullyQualifiedNameT&& value) { m_fullyQualifiedNameHasBeenSet =
true; m_fullyQualifiedName = std::forward<FullyQualifiedNameT>(value); }
53 template<
typename FullyQualifiedNameT = Aws::String>
73 template<
typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
75 template<
typename DescriptionT = Aws::String>
85 template<
typename UnitT = Aws::String>
86 void SetUnit(UnitT&& value) { m_unitHasBeenSet =
true; m_unit = std::forward<UnitT>(value); }
87 template<
typename UnitT = Aws::String>
97 template<
typename AllowedValuesT = Aws::Vector<Aws::String>>
98 void SetAllowedValues(AllowedValuesT&& value) { m_allowedValuesHasBeenSet =
true; m_allowedValues = std::forward<AllowedValuesT>(value); }
99 template<
typename AllowedValuesT = Aws::Vector<Aws::String>>
101 template<
typename AllowedValuesT = Aws::String>
102 Sensor&
AddAllowedValues(AllowedValuesT&& value) { m_allowedValuesHasBeenSet =
true; m_allowedValues.emplace_back(std::forward<AllowedValuesT>(value));
return *
this; }
109 inline double GetMin()
const {
return m_min; }
111 inline void SetMin(
double value) { m_minHasBeenSet =
true; m_min = value; }
119 inline double GetMax()
const {
return m_max; }
121 inline void SetMax(
double value) { m_maxHasBeenSet =
true; m_max = value; }
132 template<
typename DeprecationMessageT = Aws::String>
133 void SetDeprecationMessage(DeprecationMessageT&& value) { m_deprecationMessageHasBeenSet =
true; m_deprecationMessage = std::forward<DeprecationMessageT>(value); }
134 template<
typename DeprecationMessageT = Aws::String>
144 template<
typename CommentT = Aws::String>
145 void SetComment(CommentT&& value) { m_commentHasBeenSet =
true; m_comment = std::forward<CommentT>(value); }
146 template<
typename CommentT = Aws::String>
159 template<
typename StructFullyQualifiedNameT = Aws::String>
160 void SetStructFullyQualifiedName(StructFullyQualifiedNameT&& value) { m_structFullyQualifiedNameHasBeenSet =
true; m_structFullyQualifiedName = std::forward<StructFullyQualifiedNameT>(value); }
161 template<
typename StructFullyQualifiedNameT = Aws::String>
167 bool m_fullyQualifiedNameHasBeenSet =
false;
170 bool m_dataTypeHasBeenSet =
false;
173 bool m_descriptionHasBeenSet =
false;
176 bool m_unitHasBeenSet =
false;
179 bool m_allowedValuesHasBeenSet =
false;
182 bool m_minHasBeenSet =
false;
185 bool m_maxHasBeenSet =
false;
188 bool m_deprecationMessageHasBeenSet =
false;
191 bool m_commentHasBeenSet =
false;
194 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