7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/PropertyNotification.h>
10#include <aws/iotsitewise/model/PropertyDataType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iotsitewise/model/AssetPropertyPathSegment.h>
50 template<
typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
52 template<
typename IdT = Aws::String>
62 template<
typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
64 template<
typename NameT = Aws::String>
79 template<
typename AliasT = Aws::String>
80 void SetAlias(AliasT&& value) { m_aliasHasBeenSet =
true; m_alias = std::forward<AliasT>(value); }
81 template<
typename AliasT = Aws::String>
93 template<
typename NotificationT = PropertyNotification>
94 void SetNotification(NotificationT&& value) { m_notificationHasBeenSet =
true; m_notification = std::forward<NotificationT>(value); }
95 template<
typename NotificationT = PropertyNotification>
116 template<
typename DataTypeSpecT = Aws::String>
117 void SetDataTypeSpec(DataTypeSpecT&& value) { m_dataTypeSpecHasBeenSet =
true; m_dataTypeSpec = std::forward<DataTypeSpecT>(value); }
118 template<
typename DataTypeSpecT = Aws::String>
129 template<
typename UnitT = Aws::String>
130 void SetUnit(UnitT&& value) { m_unitHasBeenSet =
true; m_unit = std::forward<UnitT>(value); }
131 template<
typename UnitT = Aws::String>
141 template<
typename PathT = Aws::Vector<AssetPropertyPathSegment>>
142 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
143 template<
typename PathT = Aws::Vector<AssetPropertyPathSegment>>
145 template<
typename PathT = AssetPropertyPathSegment>
146 AssetProperty&
AddPath(PathT&& value) { m_pathHasBeenSet =
true; m_path.emplace_back(std::forward<PathT>(value));
return *
this; }
157 template<
typename ExternalIdT = Aws::String>
158 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet =
true; m_externalId = std::forward<ExternalIdT>(value); }
159 template<
typename ExternalIdT = Aws::String>
165 bool m_idHasBeenSet =
false;
168 bool m_nameHasBeenSet =
false;
171 bool m_aliasHasBeenSet =
false;
174 bool m_notificationHasBeenSet =
false;
177 bool m_dataTypeHasBeenSet =
false;
180 bool m_dataTypeSpecHasBeenSet =
false;
183 bool m_unitHasBeenSet =
false;
186 bool m_pathHasBeenSet =
false;
189 bool m_externalIdHasBeenSet =
false;
const Aws::String & GetUnit() const
const Aws::String & GetExternalId() const
AssetProperty & WithPath(PathT &&value)
void SetDataType(PropertyDataType value)
AssetProperty & WithDataTypeSpec(DataTypeSpecT &&value)
AssetProperty & WithExternalId(ExternalIdT &&value)
void SetDataTypeSpec(DataTypeSpecT &&value)
void SetPath(PathT &&value)
bool IdHasBeenSet() const
bool NotificationHasBeenSet() const
AssetProperty & WithDataType(PropertyDataType value)
const Aws::String & GetDataTypeSpec() const
void SetNotification(NotificationT &&value)
bool NameHasBeenSet() const
void SetName(NameT &&value)
bool DataTypeSpecHasBeenSet() const
void SetExternalId(ExternalIdT &&value)
void SetUnit(UnitT &&value)
AssetProperty & WithName(NameT &&value)
AWS_IOTSITEWISE_API AssetProperty(Aws::Utils::Json::JsonView jsonValue)
bool UnitHasBeenSet() const
AssetProperty & AddPath(PathT &&value)
bool AliasHasBeenSet() const
AssetProperty & WithUnit(UnitT &&value)
const Aws::String & GetAlias() const
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetProperty & WithAlias(AliasT &&value)
AssetProperty & WithNotification(NotificationT &&value)
const PropertyNotification & GetNotification() const
AWS_IOTSITEWISE_API AssetProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
bool ExternalIdHasBeenSet() const
const Aws::String & GetId() const
bool DataTypeHasBeenSet() const
void SetAlias(AliasT &&value)
AssetProperty & WithId(IdT &&value)
bool PathHasBeenSet() const
AWS_IOTSITEWISE_API AssetProperty()=default
PropertyDataType GetDataType() const
const Aws::Vector< AssetPropertyPathSegment > & GetPath() 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