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>
64 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
65 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
89 inline void SetExternalId(
const char* value) { m_externalIdHasBeenSet =
true; m_externalId.assign(value); }
103 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
130 inline void SetDataTypeSpec(
const char* value) { m_dataTypeSpecHasBeenSet =
true; m_dataTypeSpec.assign(value); }
145 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
179 bool m_idHasBeenSet =
false;
182 bool m_externalIdHasBeenSet =
false;
185 bool m_nameHasBeenSet =
false;
188 bool m_dataTypeHasBeenSet =
false;
191 bool m_dataTypeSpecHasBeenSet =
false;
194 bool m_unitHasBeenSet =
false;
197 bool m_typeHasBeenSet =
false;
200 bool m_pathHasBeenSet =
false;
AssetModelProperty & WithType(PropertyType &&value)
AWS_IOTSITEWISE_API AssetModelProperty()
void SetId(const char *value)
void SetType(const PropertyType &value)
void SetPath(const Aws::Vector< AssetModelPropertyPathSegment > &value)
void SetUnit(const Aws::String &value)
AssetModelProperty & AddPath(const AssetModelPropertyPathSegment &value)
AssetModelProperty & WithExternalId(Aws::String &&value)
AssetModelProperty & WithDataType(PropertyDataType &&value)
AssetModelProperty & WithName(const char *value)
void SetPath(Aws::Vector< AssetModelPropertyPathSegment > &&value)
bool ExternalIdHasBeenSet() const
AssetModelProperty & WithUnit(Aws::String &&value)
AssetModelProperty & WithExternalId(const char *value)
AssetModelProperty & WithDataType(const PropertyDataType &value)
AssetModelProperty & WithId(Aws::String &&value)
void SetId(Aws::String &&value)
AssetModelProperty & WithExternalId(const Aws::String &value)
void SetUnit(const char *value)
void SetExternalId(const char *value)
const Aws::Vector< AssetModelPropertyPathSegment > & GetPath() const
void SetUnit(Aws::String &&value)
void SetDataType(PropertyDataType &&value)
AWS_IOTSITEWISE_API AssetModelProperty(Aws::Utils::Json::JsonView jsonValue)
AssetModelProperty & WithId(const Aws::String &value)
AssetModelProperty & WithUnit(const Aws::String &value)
void SetDataTypeSpec(const char *value)
const PropertyType & GetType() const
AssetModelProperty & WithName(const Aws::String &value)
AssetModelProperty & WithPath(const Aws::Vector< AssetModelPropertyPathSegment > &value)
bool UnitHasBeenSet() const
void SetId(const Aws::String &value)
AssetModelProperty & WithUnit(const char *value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDataTypeSpec(const Aws::String &value)
bool PathHasBeenSet() const
const Aws::String & GetUnit() const
const Aws::String & GetDataTypeSpec() const
void SetName(Aws::String &&value)
bool TypeHasBeenSet() const
AssetModelProperty & WithDataTypeSpec(const Aws::String &value)
AssetModelProperty & WithDataTypeSpec(const char *value)
AssetModelProperty & AddPath(AssetModelPropertyPathSegment &&value)
const Aws::String & GetId() const
void SetName(const Aws::String &value)
AWS_IOTSITEWISE_API AssetModelProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
void SetType(PropertyType &&value)
bool DataTypeHasBeenSet() const
bool DataTypeSpecHasBeenSet() const
void SetDataTypeSpec(Aws::String &&value)
const PropertyDataType & GetDataType() const
AssetModelProperty & WithType(const PropertyType &value)
AssetModelProperty & WithName(Aws::String &&value)
void SetExternalId(const Aws::String &value)
const Aws::String & GetName() const
void SetExternalId(Aws::String &&value)
AssetModelProperty & WithPath(Aws::Vector< AssetModelPropertyPathSegment > &&value)
AssetModelProperty & WithDataTypeSpec(Aws::String &&value)
AssetModelProperty & WithId(const char *value)
bool NameHasBeenSet() const
const Aws::String & GetExternalId() const
void SetDataType(const PropertyDataType &value)
void SetName(const char *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