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 {
44 template <
typename FullyQualifiedNameT = Aws::String>
46 m_fullyQualifiedNameHasBeenSet =
true;
47 m_fullyQualifiedName = std::forward<FullyQualifiedNameT>(value);
49 template <
typename FullyQualifiedNameT = Aws::String>
63 m_dataTypeHasBeenSet =
true;
78 template <
typename DescriptionT = Aws::String>
80 m_descriptionHasBeenSet =
true;
81 m_description = std::forward<DescriptionT>(value);
83 template <
typename DescriptionT = Aws::String>
96 template <
typename UnitT = Aws::String>
98 m_unitHasBeenSet =
true;
99 m_unit = std::forward<UnitT>(value);
101 template <
typename UnitT = Aws::String>
103 SetUnit(std::forward<UnitT>(value));
114 template <
typename AllowedValuesT = Aws::Vector<Aws::String>>
116 m_allowedValuesHasBeenSet =
true;
117 m_allowedValues = std::forward<AllowedValuesT>(value);
119 template <
typename AllowedValuesT = Aws::Vector<Aws::String>>
124 template <
typename AllowedValuesT = Aws::String>
126 m_allowedValuesHasBeenSet =
true;
127 m_allowedValues.emplace_back(std::forward<AllowedValuesT>(value));
136 inline double GetMin()
const {
return m_min; }
139 m_minHasBeenSet =
true;
152 inline double GetMax()
const {
return m_max; }
155 m_maxHasBeenSet =
true;
170 template <
typename DefaultValueT = Aws::String>
172 m_defaultValueHasBeenSet =
true;
173 m_defaultValue = std::forward<DefaultValueT>(value);
175 template <
typename DefaultValueT = Aws::String>
189 template <
typename DeprecationMessageT = Aws::String>
191 m_deprecationMessageHasBeenSet =
true;
192 m_deprecationMessage = std::forward<DeprecationMessageT>(value);
194 template <
typename DeprecationMessageT = Aws::String>
207 template <
typename CommentT = Aws::String>
209 m_commentHasBeenSet =
true;
210 m_comment = std::forward<CommentT>(value);
212 template <
typename CommentT = Aws::String>
238 bool m_fullyQualifiedNameHasBeenSet =
false;
239 bool m_dataTypeHasBeenSet =
false;
240 bool m_descriptionHasBeenSet =
false;
241 bool m_unitHasBeenSet =
false;
242 bool m_allowedValuesHasBeenSet =
false;
243 bool m_minHasBeenSet =
false;
244 bool m_maxHasBeenSet =
false;
245 bool m_defaultValueHasBeenSet =
false;
246 bool m_deprecationMessageHasBeenSet =
false;
247 bool m_commentHasBeenSet =
false;
bool AllowedValuesHasBeenSet() const
void SetComment(CommentT &&value)
const Aws::String & GetDefaultValue() const
AWS_IOTFLEETWISE_API Attribute & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUnit() const
const Aws::String & GetComment() const
bool CommentHasBeenSet() const
void SetMax(double value)
void SetDefaultValue(DefaultValueT &&value)
void SetDataType(NodeDataType value)
void SetDeprecationMessage(DeprecationMessageT &&value)
Attribute & AddAllowedValues(AllowedValuesT &&value)
const Aws::String & GetDescription() const
bool DeprecationMessageHasBeenSet() const
NodeDataType GetDataType() const
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
bool DefaultValueHasBeenSet() const
Attribute & WithAllowedValues(AllowedValuesT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetDeprecationMessage() const
Attribute & WithUnit(UnitT &&value)
AWS_IOTFLEETWISE_API Attribute(Aws::Utils::Json::JsonView jsonValue)
Attribute & WithMin(double value)
void SetDescription(DescriptionT &&value)
bool DataTypeHasBeenSet() const
const Aws::String & GetFullyQualifiedName() const
bool FullyQualifiedNameHasBeenSet() const
bool MaxHasBeenSet() const
void SetUnit(UnitT &&value)
Attribute & WithDataType(NodeDataType value)
void SetAllowedValues(AllowedValuesT &&value)
Attribute & WithDefaultValue(DefaultValueT &&value)
Attribute & WithComment(CommentT &&value)
const Aws::Vector< Aws::String > & GetAllowedValues() const
Attribute & WithMax(double value)
Attribute & WithDescription(DescriptionT &&value)
AWS_IOTFLEETWISE_API Attribute()=default
void SetFullyQualifiedName(FullyQualifiedNameT &&value)
void SetMin(double value)
Attribute & WithDeprecationMessage(DeprecationMessageT &&value)
bool UnitHasBeenSet() const
bool MinHasBeenSet() const
Attribute & WithFullyQualifiedName(FullyQualifiedNameT &&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