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

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

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

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

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

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

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

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

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

*/ inline DescribeAssetPropertyResult& WithAssetProperty(Property&& value) { SetAssetProperty(std::move(value)); return *this;} private: Aws::String m_assetId; Aws::String m_assetName; Aws::String m_assetModelId; Property m_assetProperty; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws