/** * 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 DeleteAssetResult { public: AWS_IOTSITEWISE_API DeleteAssetResult(); AWS_IOTSITEWISE_API DeleteAssetResult(const Aws::AmazonWebServiceResult& result); AWS_IOTSITEWISE_API DeleteAssetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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

*/ inline const AssetStatus& GetAssetStatus() const{ return m_assetStatus; } /** *

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

*/ inline void SetAssetStatus(const AssetStatus& value) { m_assetStatus = value; } /** *

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

*/ inline void SetAssetStatus(AssetStatus&& value) { m_assetStatus = std::move(value); } /** *

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

*/ inline DeleteAssetResult& WithAssetStatus(const AssetStatus& value) { SetAssetStatus(value); return *this;} /** *

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

*/ inline DeleteAssetResult& WithAssetStatus(AssetStatus&& value) { SetAssetStatus(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 DeleteAssetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteAssetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteAssetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AssetStatus m_assetStatus; Aws::String m_requestId; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws