7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/PropertyDataType.h>
10#include <aws/iotsitewise/model/PropertyType.h>
54 template<
typename IdT = Aws::String>
55 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
56 template<
typename IdT = Aws::String>
70 template<
typename ExternalIdT = Aws::String>
71 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet =
true; m_externalId = std::forward<ExternalIdT>(value); }
72 template<
typename ExternalIdT = Aws::String>
82 template<
typename NameT = Aws::String>
83 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
84 template<
typename NameT = Aws::String>
110 template<
typename DataTypeSpecT = Aws::String>
111 void SetDataTypeSpec(DataTypeSpecT&& value) { m_dataTypeSpecHasBeenSet =
true; m_dataTypeSpec = std::forward<DataTypeSpecT>(value); }
112 template<
typename DataTypeSpecT = Aws::String>
123 template<
typename UnitT = Aws::String>
124 void SetUnit(UnitT&& value) { m_unitHasBeenSet =
true; m_unit = std::forward<UnitT>(value); }
125 template<
typename UnitT = Aws::String>
136 template<
typename TypeT = PropertyType>
137 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
138 template<
typename TypeT = PropertyType>
144 bool m_idHasBeenSet =
false;
147 bool m_externalIdHasBeenSet =
false;
150 bool m_nameHasBeenSet =
false;
153 bool m_dataTypeHasBeenSet =
false;
156 bool m_dataTypeSpecHasBeenSet =
false;
159 bool m_unitHasBeenSet =
false;
162 bool m_typeHasBeenSet =
false;
const Aws::String & GetExternalId() const
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
bool DataTypeHasBeenSet() const
AssetModelPropertyDefinition & WithDataTypeSpec(DataTypeSpecT &&value)
AWS_IOTSITEWISE_API AssetModelPropertyDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
AssetModelPropertyDefinition & WithExternalId(ExternalIdT &&value)
AssetModelPropertyDefinition & WithType(TypeT &&value)
const Aws::String & GetDataTypeSpec() const
void SetType(TypeT &&value)
const PropertyType & GetType() const
AWS_IOTSITEWISE_API AssetModelPropertyDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExternalId(ExternalIdT &&value)
PropertyDataType GetDataType() const
bool ExternalIdHasBeenSet() const
bool UnitHasBeenSet() const
const Aws::String & GetUnit() const
const Aws::String & GetId() const
bool TypeHasBeenSet() const
void SetDataType(PropertyDataType value)
AssetModelPropertyDefinition & WithDataType(PropertyDataType value)
bool DataTypeSpecHasBeenSet() const
AssetModelPropertyDefinition & WithName(NameT &&value)
void SetDataTypeSpec(DataTypeSpecT &&value)
AssetModelPropertyDefinition & WithUnit(UnitT &&value)
bool IdHasBeenSet() const
AssetModelPropertyDefinition & WithId(IdT &&value)
void SetUnit(UnitT &&value)
AWS_IOTSITEWISE_API AssetModelPropertyDefinition()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue