/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains an asset model property definition. This property definition is
* applied to all assets created from the asset model.See Also:
* AWS
* API Reference
The name of the property definition.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the property definition.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the property definition.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the property definition.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the property definition.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the property definition.
*/ inline AssetModelPropertyDefinition& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the property definition.
*/ inline AssetModelPropertyDefinition& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the property definition.
*/ inline AssetModelPropertyDefinition& WithName(const char* value) { SetName(value); return *this;} /** *The data type of the property definition.
*/ inline const PropertyDataType& GetDataType() const{ return m_dataType; } /** *The data type of the property definition.
*/ inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; } /** *The data type of the property definition.
*/ inline void SetDataType(const PropertyDataType& value) { m_dataTypeHasBeenSet = true; m_dataType = value; } /** *The data type of the property definition.
*/ inline void SetDataType(PropertyDataType&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); } /** *The data type of the property definition.
*/ inline AssetModelPropertyDefinition& WithDataType(const PropertyDataType& value) { SetDataType(value); return *this;} /** *The data type of the property definition.
*/ inline AssetModelPropertyDefinition& WithDataType(PropertyDataType&& value) { SetDataType(std::move(value)); return *this;} /** *The unit of the property definition, such as Newtons or
* RPM.
The unit of the property definition, such as Newtons or
* RPM.
The unit of the property definition, such as Newtons or
* RPM.
The unit of the property definition, such as Newtons or
* RPM.
The unit of the property definition, such as Newtons or
* RPM.
The unit of the property definition, such as Newtons or
* RPM.
The unit of the property definition, such as Newtons or
* RPM.
The unit of the property definition, such as Newtons or
* RPM.
The property definition type (see PropertyType). You can only
* specify one type in a property definition.
The property definition type (see PropertyType). You can only
* specify one type in a property definition.
The property definition type (see PropertyType). You can only
* specify one type in a property definition.
The property definition type (see PropertyType). You can only
* specify one type in a property definition.
The property definition type (see PropertyType). You can only
* specify one type in a property definition.
The property definition type (see PropertyType). You can only
* specify one type in a property definition.