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>
55 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
56 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
74 inline void SetExternalId(
const char* value) { m_externalIdHasBeenSet =
true; m_externalId.assign(value); }
88 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
120 inline void SetDataTypeSpec(
const char* value) { m_dataTypeSpecHasBeenSet =
true; m_dataTypeSpec.assign(value); }
135 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
156 bool m_idHasBeenSet =
false;
159 bool m_externalIdHasBeenSet =
false;
162 bool m_nameHasBeenSet =
false;
165 bool m_dataTypeHasBeenSet =
false;
168 bool m_dataTypeSpecHasBeenSet =
false;
171 bool m_unitHasBeenSet =
false;
174 bool m_typeHasBeenSet =
false;
const Aws::String & GetExternalId() const
AssetModelPropertyDefinition & WithName(const Aws::String &value)
void SetType(PropertyType &&value)
AssetModelPropertyDefinition & WithDataTypeSpec(Aws::String &&value)
void SetName(const Aws::String &value)
void SetDataType(const PropertyDataType &value)
AssetModelPropertyDefinition & WithUnit(const char *value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetModelPropertyDefinition & WithName(Aws::String &&value)
bool DataTypeHasBeenSet() const
AssetModelPropertyDefinition & WithId(const Aws::String &value)
AWS_IOTSITEWISE_API AssetModelPropertyDefinition(Aws::Utils::Json::JsonView jsonValue)
AssetModelPropertyDefinition & WithId(Aws::String &&value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
AssetModelPropertyDefinition & WithDataTypeSpec(const char *value)
void SetId(const Aws::String &value)
void SetName(Aws::String &&value)
const Aws::String & GetDataTypeSpec() const
const PropertyDataType & GetDataType() const
void SetExternalId(Aws::String &&value)
void SetType(const PropertyType &value)
const PropertyType & GetType() const
void SetExternalId(const char *value)
AWS_IOTSITEWISE_API AssetModelPropertyDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUnit(const char *value)
AssetModelPropertyDefinition & WithType(const PropertyType &value)
AssetModelPropertyDefinition & WithType(PropertyType &&value)
AssetModelPropertyDefinition & WithUnit(Aws::String &&value)
AssetModelPropertyDefinition & WithId(const char *value)
bool ExternalIdHasBeenSet() const
void SetDataType(PropertyDataType &&value)
bool UnitHasBeenSet() const
AssetModelPropertyDefinition & WithExternalId(const Aws::String &value)
AWS_IOTSITEWISE_API AssetModelPropertyDefinition()
const Aws::String & GetUnit() const
AssetModelPropertyDefinition & WithDataTypeSpec(const Aws::String &value)
const Aws::String & GetId() const
void SetExternalId(const Aws::String &value)
bool TypeHasBeenSet() const
void SetDataTypeSpec(Aws::String &&value)
void SetDataTypeSpec(const Aws::String &value)
bool DataTypeSpecHasBeenSet() const
void SetUnit(const Aws::String &value)
AssetModelPropertyDefinition & WithUnit(const Aws::String &value)
void SetName(const char *value)
AssetModelPropertyDefinition & WithDataType(const PropertyDataType &value)
AssetModelPropertyDefinition & WithDataType(PropertyDataType &&value)
AssetModelPropertyDefinition & WithExternalId(Aws::String &&value)
AssetModelPropertyDefinition & WithName(const char *value)
void SetUnit(Aws::String &&value)
bool IdHasBeenSet() const
void SetDataTypeSpec(const char *value)
void SetId(Aws::String &&value)
AssetModelPropertyDefinition & WithExternalId(const char *value)
void SetId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue