/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTSiteWise { namespace Model { class DescribeAssetPropertyResult { public: AWS_IOTSITEWISE_API DescribeAssetPropertyResult(); AWS_IOTSITEWISE_API DescribeAssetPropertyResult(const Aws::AmazonWebServiceResult& result); AWS_IOTSITEWISE_API DescribeAssetPropertyResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the asset.

*/ inline const Aws::String& GetAssetId() const{ return m_assetId; } /** *

The ID of the asset.

*/ inline void SetAssetId(const Aws::String& value) { m_assetId = value; } /** *

The ID of the asset.

*/ inline void SetAssetId(Aws::String&& value) { m_assetId = std::move(value); } /** *

The ID of the asset.

*/ inline void SetAssetId(const char* value) { m_assetId.assign(value); } /** *

The ID of the asset.

*/ inline DescribeAssetPropertyResult& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;} /** *

The ID of the asset.

*/ inline DescribeAssetPropertyResult& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;} /** *

The ID of the asset.

*/ inline DescribeAssetPropertyResult& WithAssetId(const char* value) { SetAssetId(value); return *this;} /** *

The name of the asset.

*/ inline const Aws::String& GetAssetName() const{ return m_assetName; } /** *

The name of the asset.

*/ inline void SetAssetName(const Aws::String& value) { m_assetName = value; } /** *

The name of the asset.

*/ inline void SetAssetName(Aws::String&& value) { m_assetName = std::move(value); } /** *

The name of the asset.

*/ inline void SetAssetName(const char* value) { m_assetName.assign(value); } /** *

The name of the asset.

*/ inline DescribeAssetPropertyResult& WithAssetName(const Aws::String& value) { SetAssetName(value); return *this;} /** *

The name of the asset.

*/ inline DescribeAssetPropertyResult& WithAssetName(Aws::String&& value) { SetAssetName(std::move(value)); return *this;} /** *

The name of the asset.

*/ inline DescribeAssetPropertyResult& WithAssetName(const char* value) { SetAssetName(value); return *this;} /** *

The ID of the asset model.

*/ inline const Aws::String& GetAssetModelId() const{ return m_assetModelId; } /** *

The ID of the asset model.

*/ inline void SetAssetModelId(const Aws::String& value) { m_assetModelId = value; } /** *

The ID of the asset model.

*/ inline void SetAssetModelId(Aws::String&& value) { m_assetModelId = std::move(value); } /** *

The ID of the asset model.

*/ inline void SetAssetModelId(const char* value) { m_assetModelId.assign(value); } /** *

The ID of the asset model.

*/ inline DescribeAssetPropertyResult& WithAssetModelId(const Aws::String& value) { SetAssetModelId(value); return *this;} /** *

The ID of the asset model.

*/ inline DescribeAssetPropertyResult& WithAssetModelId(Aws::String&& value) { SetAssetModelId(std::move(value)); return *this;} /** *

The ID of the asset model.

*/ inline DescribeAssetPropertyResult& WithAssetModelId(const char* value) { SetAssetModelId(value); return *this;} /** *

The asset property's definition, alias, and notification state.

This * response includes this object for normal asset properties. If you describe an * asset property in a composite model, this response includes the asset property * information in compositeModel.

*/ inline const Property& GetAssetProperty() const{ return m_assetProperty; } /** *

The asset property's definition, alias, and notification state.

This * response includes this object for normal asset properties. If you describe an * asset property in a composite model, this response includes the asset property * information in compositeModel.

*/ inline void SetAssetProperty(const Property& value) { m_assetProperty = value; } /** *

The asset property's definition, alias, and notification state.

This * response includes this object for normal asset properties. If you describe an * asset property in a composite model, this response includes the asset property * information in compositeModel.

*/ inline void SetAssetProperty(Property&& value) { m_assetProperty = std::move(value); } /** *

The asset property's definition, alias, and notification state.

This * response includes this object for normal asset properties. If you describe an * asset property in a composite model, this response includes the asset property * information in compositeModel.

*/ inline DescribeAssetPropertyResult& WithAssetProperty(const Property& value) { SetAssetProperty(value); return *this;} /** *

The asset property's definition, alias, and notification state.

This * response includes this object for normal asset properties. If you describe an * asset property in a composite model, this response includes the asset property * information in compositeModel.

*/ inline DescribeAssetPropertyResult& WithAssetProperty(Property&& value) { SetAssetProperty(std::move(value)); return *this;} /** *

The composite asset model that declares this asset property, if this asset * property exists in a composite model.

*/ inline const CompositeModelProperty& GetCompositeModel() const{ return m_compositeModel; } /** *

The composite asset model that declares this asset property, if this asset * property exists in a composite model.

*/ inline void SetCompositeModel(const CompositeModelProperty& value) { m_compositeModel = value; } /** *

The composite asset model that declares this asset property, if this asset * property exists in a composite model.

*/ inline void SetCompositeModel(CompositeModelProperty&& value) { m_compositeModel = std::move(value); } /** *

The composite asset model that declares this asset property, if this asset * property exists in a composite model.

*/ inline DescribeAssetPropertyResult& WithCompositeModel(const CompositeModelProperty& value) { SetCompositeModel(value); return *this;} /** *

The composite asset model that declares this asset property, if this asset * property exists in a composite model.

*/ inline DescribeAssetPropertyResult& WithCompositeModel(CompositeModelProperty&& value) { SetCompositeModel(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeAssetPropertyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeAssetPropertyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeAssetPropertyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_assetId; Aws::String m_assetName; Aws::String m_assetModelId; Property m_assetProperty; CompositeModelProperty m_compositeModel; Aws::String m_requestId; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws