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>
51 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
52 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
66 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
85 inline void SetAlias(
const char* value) { m_aliasHasBeenSet =
true; m_alias.assign(value); }
126 inline void SetDataTypeSpec(
const char* value) { m_dataTypeSpecHasBeenSet =
true; m_dataTypeSpec.assign(value); }
141 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
171 inline void SetExternalId(
const char* value) { m_externalIdHasBeenSet =
true; m_externalId.assign(value); }
179 bool m_idHasBeenSet =
false;
182 bool m_nameHasBeenSet =
false;
185 bool m_aliasHasBeenSet =
false;
188 bool m_notificationHasBeenSet =
false;
191 bool m_dataTypeHasBeenSet =
false;
194 bool m_dataTypeSpecHasBeenSet =
false;
197 bool m_unitHasBeenSet =
false;
200 bool m_pathHasBeenSet =
false;
203 bool m_externalIdHasBeenSet =
false;
void SetDataType(PropertyDataType &&value)
const Aws::String & GetUnit() const
AssetProperty & WithExternalId(Aws::String &&value)
AssetProperty & WithNotification(const PropertyNotification &value)
const Aws::String & GetExternalId() const
void SetNotification(PropertyNotification &&value)
void SetAlias(const Aws::String &value)
AssetProperty & WithUnit(Aws::String &&value)
bool IdHasBeenSet() const
bool NotificationHasBeenSet() const
const PropertyDataType & GetDataType() const
void SetUnit(const char *value)
const Aws::String & GetDataTypeSpec() const
AssetProperty & WithDataTypeSpec(const char *value)
AssetProperty & WithPath(Aws::Vector< AssetPropertyPathSegment > &&value)
AssetProperty & WithId(Aws::String &&value)
void SetDataTypeSpec(const char *value)
AssetProperty & WithName(Aws::String &&value)
bool NameHasBeenSet() const
bool DataTypeSpecHasBeenSet() const
AssetProperty & WithAlias(Aws::String &&value)
void SetExternalId(const Aws::String &value)
void SetAlias(const char *value)
AWS_IOTSITEWISE_API AssetProperty(Aws::Utils::Json::JsonView jsonValue)
bool UnitHasBeenSet() const
void SetPath(const Aws::Vector< AssetPropertyPathSegment > &value)
AssetProperty & WithDataType(const PropertyDataType &value)
bool AliasHasBeenSet() const
AssetProperty & WithExternalId(const char *value)
const Aws::String & GetAlias() const
void SetNotification(const PropertyNotification &value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const char *value)
const PropertyNotification & GetNotification() const
AWS_IOTSITEWISE_API AssetProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
AssetProperty & WithAlias(const char *value)
void SetDataType(const PropertyDataType &value)
void SetId(Aws::String &&value)
const Aws::String & GetName() const
AssetProperty & WithId(const char *value)
bool ExternalIdHasBeenSet() const
AssetProperty & WithDataType(PropertyDataType &&value)
const Aws::String & GetId() const
AssetProperty & WithId(const Aws::String &value)
void SetExternalId(const char *value)
AssetProperty & WithUnit(const char *value)
AssetProperty & AddPath(const AssetPropertyPathSegment &value)
void SetDataTypeSpec(const Aws::String &value)
AssetProperty & WithDataTypeSpec(Aws::String &&value)
AssetProperty & WithName(const char *value)
void SetId(const char *value)
bool DataTypeHasBeenSet() const
AssetProperty & WithName(const Aws::String &value)
void SetUnit(const Aws::String &value)
void SetPath(Aws::Vector< AssetPropertyPathSegment > &&value)
AssetProperty & AddPath(AssetPropertyPathSegment &&value)
bool PathHasBeenSet() const
AssetProperty & WithNotification(PropertyNotification &&value)
AssetProperty & WithUnit(const Aws::String &value)
AWS_IOTSITEWISE_API AssetProperty()
void SetId(const Aws::String &value)
void SetExternalId(Aws::String &&value)
void SetAlias(Aws::String &&value)
AssetProperty & WithExternalId(const Aws::String &value)
AssetProperty & WithDataTypeSpec(const Aws::String &value)
AssetProperty & WithAlias(const Aws::String &value)
AssetProperty & WithPath(const Aws::Vector< AssetPropertyPathSegment > &value)
const Aws::Vector< AssetPropertyPathSegment > & GetPath() const
void SetUnit(Aws::String &&value)
void SetName(const Aws::String &value)
void SetDataTypeSpec(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue