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/iotsitewise/model/PropertyType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/iotsitewise/model/AssetPropertyPathSegment.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>
63 template<
typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
65 template<
typename NameT = Aws::String>
80 template<
typename AliasT = Aws::String>
81 void SetAlias(AliasT&& value) { m_aliasHasBeenSet =
true; m_alias = std::forward<AliasT>(value); }
82 template<
typename AliasT = Aws::String>
94 template<
typename NotificationT = PropertyNotification>
95 void SetNotification(NotificationT&& value) { m_notificationHasBeenSet =
true; m_notification = std::forward<NotificationT>(value); }
96 template<
typename NotificationT = PropertyNotification>
117 template<
typename UnitT = Aws::String>
118 void SetUnit(UnitT&& value) { m_unitHasBeenSet =
true; m_unit = std::forward<UnitT>(value); }
119 template<
typename UnitT = Aws::String>
130 template<
typename TypeT = PropertyType>
131 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
132 template<
typename TypeT = PropertyType>
142 template<
typename PathT = Aws::Vector<AssetPropertyPathSegment>>
143 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
144 template<
typename PathT = Aws::Vector<AssetPropertyPathSegment>>
146 template<
typename PathT = AssetPropertyPathSegment>
147 Property&
AddPath(PathT&& value) { m_pathHasBeenSet =
true; m_path.emplace_back(std::forward<PathT>(value));
return *
this; }
158 template<
typename ExternalIdT = Aws::String>
159 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet =
true; m_externalId = std::forward<ExternalIdT>(value); }
160 template<
typename ExternalIdT = Aws::String>
166 bool m_idHasBeenSet =
false;
169 bool m_nameHasBeenSet =
false;
172 bool m_aliasHasBeenSet =
false;
175 bool m_notificationHasBeenSet =
false;
178 bool m_dataTypeHasBeenSet =
false;
181 bool m_unitHasBeenSet =
false;
184 bool m_typeHasBeenSet =
false;
187 bool m_pathHasBeenSet =
false;
190 bool m_externalIdHasBeenSet =
false;
void SetDataType(PropertyDataType value)
bool NotificationHasBeenSet() const
Property & WithName(NameT &&value)
const Aws::String & GetName() const
Property & WithNotification(NotificationT &&value)
Property & WithPath(PathT &&value)
const PropertyType & GetType() const
bool UnitHasBeenSet() const
void SetName(NameT &&value)
AWS_IOTSITEWISE_API Property(Aws::Utils::Json::JsonView jsonValue)
bool DataTypeHasBeenSet() const
AWS_IOTSITEWISE_API Property()=default
Property & AddPath(PathT &&value)
AWS_IOTSITEWISE_API Property & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
const Aws::String & GetUnit() const
const PropertyNotification & GetNotification() const
void SetType(TypeT &&value)
Property & WithExternalId(ExternalIdT &&value)
PropertyDataType GetDataType() const
bool AliasHasBeenSet() const
Property & WithType(TypeT &&value)
void SetPath(PathT &&value)
Property & WithId(IdT &&value)
Property & WithUnit(UnitT &&value)
void SetAlias(AliasT &&value)
Property & WithAlias(AliasT &&value)
Property & WithDataType(PropertyDataType value)
bool ExternalIdHasBeenSet() const
const Aws::String & GetId() const
void SetNotification(NotificationT &&value)
const Aws::String & GetExternalId() const
void SetExternalId(ExternalIdT &&value)
bool PathHasBeenSet() const
const Aws::String & GetAlias() const
void SetUnit(UnitT &&value)
bool TypeHasBeenSet() const
bool NameHasBeenSet() const
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() 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