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>
52 inline void SetFullyQualifiedName(
const char* value) { m_fullyQualifiedNameHasBeenSet =
true; m_fullyQualifiedName.assign(value); }
78 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
92 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
110 inline Attribute&
AddAllowedValues(
const char* value) { m_allowedValuesHasBeenSet =
true; m_allowedValues.push_back(value);
return *
this; }
117 inline double GetMin()
const{
return m_min; }
119 inline void SetMin(
double value) { m_minHasBeenSet =
true; m_min = value; }
127 inline double GetMax()
const{
return m_max; }
129 inline void SetMax(
double value) { m_maxHasBeenSet =
true; m_max = value; }
141 inline void SetDefaultValue(
const char* value) { m_defaultValueHasBeenSet =
true; m_defaultValue.assign(value); }
156 inline void SetDeprecationMessage(
const char* value) { m_deprecationMessageHasBeenSet =
true; m_deprecationMessage.assign(value); }
170 inline void SetComment(
const char* value) { m_commentHasBeenSet =
true; m_comment.assign(value); }
178 bool m_fullyQualifiedNameHasBeenSet =
false;
181 bool m_dataTypeHasBeenSet =
false;
184 bool m_descriptionHasBeenSet =
false;
187 bool m_unitHasBeenSet =
false;
190 bool m_allowedValuesHasBeenSet =
false;
193 bool m_minHasBeenSet =
false;
196 bool m_maxHasBeenSet =
false;
199 bool m_defaultValueHasBeenSet =
false;
202 bool m_deprecationMessageHasBeenSet =
false;
205 bool m_commentHasBeenSet =
false;
Attribute & WithUnit(const char *value)
bool AllowedValuesHasBeenSet() const
Attribute & WithComment(Aws::String &&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
void SetFullyQualifiedName(const char *value)
Attribute & WithDeprecationMessage(const Aws::String &value)
bool CommentHasBeenSet() const
void SetMax(double value)
void SetDefaultValue(const char *value)
void SetFullyQualifiedName(const Aws::String &value)
void SetAllowedValues(Aws::Vector< Aws::String > &&value)
const Aws::String & GetDescription() const
Attribute & WithUnit(const Aws::String &value)
Attribute & WithAllowedValues(const Aws::Vector< Aws::String > &value)
bool DeprecationMessageHasBeenSet() const
void SetDataType(const NodeDataType &value)
Attribute & AddAllowedValues(Aws::String &&value)
Attribute & WithDataType(const NodeDataType &value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetComment(Aws::String &&value)
AWS_IOTFLEETWISE_API Attribute()
void SetUnit(Aws::String &&value)
void SetDeprecationMessage(const Aws::String &value)
bool DefaultValueHasBeenSet() const
void SetComment(const char *value)
Attribute & WithFullyQualifiedName(const char *value)
bool DescriptionHasBeenSet() const
const Aws::String & GetDeprecationMessage() const
void SetUnit(const Aws::String &value)
Attribute & WithFullyQualifiedName(const Aws::String &value)
Attribute & WithDescription(const char *value)
void SetDeprecationMessage(const char *value)
void SetDataType(NodeDataType &&value)
void SetComment(const Aws::String &value)
AWS_IOTFLEETWISE_API Attribute(Aws::Utils::Json::JsonView jsonValue)
Attribute & WithMin(double value)
Attribute & WithFullyQualifiedName(Aws::String &&value)
void SetDefaultValue(Aws::String &&value)
Attribute & WithComment(const char *value)
Attribute & WithDataType(NodeDataType &&value)
bool DataTypeHasBeenSet() const
void SetDescription(const Aws::String &value)
const NodeDataType & GetDataType() const
const Aws::String & GetFullyQualifiedName() const
bool FullyQualifiedNameHasBeenSet() const
bool MaxHasBeenSet() const
Attribute & WithUnit(Aws::String &&value)
Attribute & WithDefaultValue(Aws::String &&value)
Attribute & WithAllowedValues(Aws::Vector< Aws::String > &&value)
void SetUnit(const char *value)
void SetFullyQualifiedName(Aws::String &&value)
Attribute & WithDeprecationMessage(const char *value)
Attribute & WithDefaultValue(const char *value)
const Aws::Vector< Aws::String > & GetAllowedValues() const
Attribute & WithMax(double value)
void SetDescription(Aws::String &&value)
void SetDescription(const char *value)
void SetDeprecationMessage(Aws::String &&value)
void SetAllowedValues(const Aws::Vector< Aws::String > &value)
Attribute & WithComment(const Aws::String &value)
Attribute & WithDescription(Aws::String &&value)
Attribute & AddAllowedValues(const Aws::String &value)
Attribute & WithDefaultValue(const Aws::String &value)
void SetMin(double value)
Attribute & AddAllowedValues(const char *value)
void SetDefaultValue(const Aws::String &value)
bool UnitHasBeenSet() const
bool MinHasBeenSet() const
Attribute & WithDescription(const Aws::String &value)
Attribute & WithDeprecationMessage(Aws::String &&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