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>
50 template<
typename FullyQualifiedNameT = Aws::String>
51 void SetFullyQualifiedName(FullyQualifiedNameT&& value) { m_fullyQualifiedNameHasBeenSet =
true; m_fullyQualifiedName = std::forward<FullyQualifiedNameT>(value); }
52 template<
typename FullyQualifiedNameT = Aws::String>
72 template<
typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
74 template<
typename DescriptionT = Aws::String>
84 template<
typename UnitT = Aws::String>
85 void SetUnit(UnitT&& value) { m_unitHasBeenSet =
true; m_unit = std::forward<UnitT>(value); }
86 template<
typename UnitT = Aws::String>
96 template<
typename AllowedValuesT = Aws::Vector<Aws::String>>
97 void SetAllowedValues(AllowedValuesT&& value) { m_allowedValuesHasBeenSet =
true; m_allowedValues = std::forward<AllowedValuesT>(value); }
98 template<
typename AllowedValuesT = Aws::Vector<Aws::String>>
100 template<
typename AllowedValuesT = Aws::String>
101 Attribute&
AddAllowedValues(AllowedValuesT&& value) { m_allowedValuesHasBeenSet =
true; m_allowedValues.emplace_back(std::forward<AllowedValuesT>(value));
return *
this; }
108 inline double GetMin()
const {
return m_min; }
110 inline void SetMin(
double value) { m_minHasBeenSet =
true; m_min = value; }
118 inline double GetMax()
const {
return m_max; }
120 inline void SetMax(
double value) { m_maxHasBeenSet =
true; m_max = value; }
130 template<
typename DefaultValueT = Aws::String>
131 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet =
true; m_defaultValue = std::forward<DefaultValueT>(value); }
132 template<
typename DefaultValueT = Aws::String>
143 template<
typename DeprecationMessageT = Aws::String>
144 void SetDeprecationMessage(DeprecationMessageT&& value) { m_deprecationMessageHasBeenSet =
true; m_deprecationMessage = std::forward<DeprecationMessageT>(value); }
145 template<
typename DeprecationMessageT = Aws::String>
155 template<
typename CommentT = Aws::String>
156 void SetComment(CommentT&& value) { m_commentHasBeenSet =
true; m_comment = std::forward<CommentT>(value); }
157 template<
typename CommentT = Aws::String>
163 bool m_fullyQualifiedNameHasBeenSet =
false;
166 bool m_dataTypeHasBeenSet =
false;
169 bool m_descriptionHasBeenSet =
false;
172 bool m_unitHasBeenSet =
false;
175 bool m_allowedValuesHasBeenSet =
false;
178 bool m_minHasBeenSet =
false;
181 bool m_maxHasBeenSet =
false;
184 bool m_defaultValueHasBeenSet =
false;
187 bool m_deprecationMessageHasBeenSet =
false;
190 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