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>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iotsitewise/model/AssetModelPropertyPathSegment.h>
63 template<
typename IdT = Aws::String>
64 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
65 template<
typename IdT = Aws::String>
85 template<
typename ExternalIdT = Aws::String>
86 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet =
true; m_externalId = std::forward<ExternalIdT>(value); }
87 template<
typename ExternalIdT = Aws::String>
97 template<
typename NameT = Aws::String>
98 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
99 template<
typename NameT = Aws::String>
122 template<
typename DataTypeSpecT = Aws::String>
123 void SetDataTypeSpec(DataTypeSpecT&& value) { m_dataTypeSpecHasBeenSet =
true; m_dataTypeSpec = std::forward<DataTypeSpecT>(value); }
124 template<
typename DataTypeSpecT = Aws::String>
135 template<
typename UnitT = Aws::String>
136 void SetUnit(UnitT&& value) { m_unitHasBeenSet =
true; m_unit = std::forward<UnitT>(value); }
137 template<
typename UnitT = Aws::String>
147 template<
typename TypeT = PropertyType>
148 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
149 template<
typename TypeT = PropertyType>
159 template<
typename PathT = Aws::Vector<AssetModelPropertyPathSegment>>
160 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
161 template<
typename PathT = Aws::Vector<AssetModelPropertyPathSegment>>
163 template<
typename PathT = AssetModelPropertyPathSegment>
169 bool m_idHasBeenSet =
false;
172 bool m_externalIdHasBeenSet =
false;
175 bool m_nameHasBeenSet =
false;
178 bool m_dataTypeHasBeenSet =
false;
181 bool m_dataTypeSpecHasBeenSet =
false;
184 bool m_unitHasBeenSet =
false;
187 bool m_typeHasBeenSet =
false;
190 bool m_pathHasBeenSet =
false;
AssetModelProperty & WithDataTypeSpec(DataTypeSpecT &&value)
AssetModelProperty & WithType(TypeT &&value)
AWS_IOTSITEWISE_API AssetModelProperty()=default
bool ExternalIdHasBeenSet() const
AssetModelProperty & WithId(IdT &&value)
const Aws::Vector< AssetModelPropertyPathSegment > & GetPath() const
void SetDataType(PropertyDataType value)
void SetUnit(UnitT &&value)
AWS_IOTSITEWISE_API AssetModelProperty(Aws::Utils::Json::JsonView jsonValue)
const PropertyType & GetType() const
bool UnitHasBeenSet() const
AssetModelProperty & AddPath(PathT &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
bool PathHasBeenSet() const
void SetPath(PathT &&value)
const Aws::String & GetUnit() const
void SetName(NameT &&value)
AssetModelProperty & WithPath(PathT &&value)
const Aws::String & GetDataTypeSpec() const
bool TypeHasBeenSet() const
AssetModelProperty & WithDataType(PropertyDataType value)
void SetDataTypeSpec(DataTypeSpecT &&value)
const Aws::String & GetId() const
AWS_IOTSITEWISE_API AssetModelProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
bool DataTypeHasBeenSet() const
bool DataTypeSpecHasBeenSet() const
AssetModelProperty & WithUnit(UnitT &&value)
void SetExternalId(ExternalIdT &&value)
const Aws::String & GetName() const
AssetModelProperty & WithName(NameT &&value)
bool NameHasBeenSet() const
const Aws::String & GetExternalId() const
AssetModelProperty & WithExternalId(ExternalIdT &&value)
void SetType(TypeT &&value)
PropertyDataType GetDataType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue