/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 DeleteAssetModelResult { public: DeleteAssetModelResult(); DeleteAssetModelResult(const Aws::AmazonWebServiceResult& result); DeleteAssetModelResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The status of the asset model, which contains a state (DELETING * after successfully calling this operation) and any error message.

*/ inline const AssetModelStatus& GetAssetModelStatus() const{ return m_assetModelStatus; } /** *

The status of the asset model, which contains a state (DELETING * after successfully calling this operation) and any error message.

*/ inline void SetAssetModelStatus(const AssetModelStatus& value) { m_assetModelStatus = value; } /** *

The status of the asset model, which contains a state (DELETING * after successfully calling this operation) and any error message.

*/ inline void SetAssetModelStatus(AssetModelStatus&& value) { m_assetModelStatus = std::move(value); } /** *

The status of the asset model, which contains a state (DELETING * after successfully calling this operation) and any error message.

*/ inline DeleteAssetModelResult& WithAssetModelStatus(const AssetModelStatus& value) { SetAssetModelStatus(value); return *this;} /** *

The status of the asset model, which contains a state (DELETING * after successfully calling this operation) and any error message.

*/ inline DeleteAssetModelResult& WithAssetModelStatus(AssetModelStatus&& value) { SetAssetModelStatus(std::move(value)); return *this;} private: AssetModelStatus m_assetModelStatus; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws