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>
51 template<
typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
53 template<
typename IdT = Aws::String>
65 template<
typename ExternalIdT = Aws::String>
66 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet =
true; m_externalId = std::forward<ExternalIdT>(value); }
67 template<
typename ExternalIdT = Aws::String>
77 template<
typename NameT = Aws::String>
78 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
79 template<
typename NameT = Aws::String>
100 template<
typename DataTypeSpecT = Aws::String>
101 void SetDataTypeSpec(DataTypeSpecT&& value) { m_dataTypeSpecHasBeenSet =
true; m_dataTypeSpec = std::forward<DataTypeSpecT>(value); }
102 template<
typename DataTypeSpecT = Aws::String>
113 template<
typename UnitT = Aws::String>
114 void SetUnit(UnitT&& value) { m_unitHasBeenSet =
true; m_unit = std::forward<UnitT>(value); }
115 template<
typename UnitT = Aws::String>
123 template<
typename TypeT = PropertyType>
124 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
125 template<
typename TypeT = PropertyType>
135 template<
typename AssetModelCompositeModelIdT = Aws::String>
136 void SetAssetModelCompositeModelId(AssetModelCompositeModelIdT&& value) { m_assetModelCompositeModelIdHasBeenSet =
true; m_assetModelCompositeModelId = std::forward<AssetModelCompositeModelIdT>(value); }
137 template<
typename AssetModelCompositeModelIdT = Aws::String>
147 template<
typename PathT = Aws::Vector<AssetModelPropertyPathSegment>>
148 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
149 template<
typename PathT = Aws::Vector<AssetModelPropertyPathSegment>>
151 template<
typename PathT = AssetModelPropertyPathSegment>
157 bool m_idHasBeenSet =
false;
160 bool m_externalIdHasBeenSet =
false;
163 bool m_nameHasBeenSet =
false;
166 bool m_dataTypeHasBeenSet =
false;
169 bool m_dataTypeSpecHasBeenSet =
false;
172 bool m_unitHasBeenSet =
false;
175 bool m_typeHasBeenSet =
false;
178 bool m_assetModelCompositeModelIdHasBeenSet =
false;
181 bool m_pathHasBeenSet =
false;
AssetModelPropertySummary & WithName(NameT &&value)
void SetName(NameT &&value)
const Aws::String & GetDataTypeSpec() const
AssetModelPropertySummary & WithId(IdT &&value)
const Aws::String & GetName() const
bool ExternalIdHasBeenSet() const
const Aws::Vector< AssetModelPropertyPathSegment > & GetPath() const
bool PathHasBeenSet() const
PropertyDataType GetDataType() const
bool NameHasBeenSet() const
AssetModelPropertySummary & AddPath(PathT &&value)
bool DataTypeSpecHasBeenSet() const
const Aws::String & GetId() const
AWS_IOTSITEWISE_API AssetModelPropertySummary()=default
void SetType(TypeT &&value)
const Aws::String & GetAssetModelCompositeModelId() const
void SetAssetModelCompositeModelId(AssetModelCompositeModelIdT &&value)
void SetExternalId(ExternalIdT &&value)
const PropertyType & GetType() const
const Aws::String & GetExternalId() const
const Aws::String & GetUnit() const
void SetPath(PathT &&value)
AssetModelPropertySummary & WithAssetModelCompositeModelId(AssetModelCompositeModelIdT &&value)
void SetDataTypeSpec(DataTypeSpecT &&value)
AssetModelPropertySummary & WithType(TypeT &&value)
AssetModelPropertySummary & WithUnit(UnitT &&value)
AssetModelPropertySummary & WithDataTypeSpec(DataTypeSpecT &&value)
bool UnitHasBeenSet() const
bool IdHasBeenSet() const
AWS_IOTSITEWISE_API AssetModelPropertySummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API AssetModelPropertySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetModelPropertySummary & WithDataType(PropertyDataType value)
AssetModelPropertySummary & WithPath(PathT &&value)
void SetDataType(PropertyDataType value)
bool TypeHasBeenSet() const
AssetModelPropertySummary & WithExternalId(ExternalIdT &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUnit(UnitT &&value)
bool AssetModelCompositeModelIdHasBeenSet() const
bool DataTypeHasBeenSet() 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