/** * 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 LexModelsV2 { namespace Model { class DeleteExportResult { public: AWS_LEXMODELSV2_API DeleteExportResult(); AWS_LEXMODELSV2_API DeleteExportResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELSV2_API DeleteExportResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier of the deleted export.

*/ inline const Aws::String& GetExportId() const{ return m_exportId; } /** *

The unique identifier of the deleted export.

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

The unique identifier of the deleted export.

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

The unique identifier of the deleted export.

*/ inline void SetExportId(const char* value) { m_exportId.assign(value); } /** *

The unique identifier of the deleted export.

*/ inline DeleteExportResult& WithExportId(const Aws::String& value) { SetExportId(value); return *this;} /** *

The unique identifier of the deleted export.

*/ inline DeleteExportResult& WithExportId(Aws::String&& value) { SetExportId(std::move(value)); return *this;} /** *

The unique identifier of the deleted export.

*/ inline DeleteExportResult& WithExportId(const char* value) { SetExportId(value); return *this;} /** *

The current status of the deletion. When the deletion is complete, the export * will no longer be returned by the ListExports * operation and calls to the * DescribeExport operation with the export identifier will fail.

*/ inline const ExportStatus& GetExportStatus() const{ return m_exportStatus; } /** *

The current status of the deletion. When the deletion is complete, the export * will no longer be returned by the ListExports * operation and calls to the * DescribeExport operation with the export identifier will fail.

*/ inline void SetExportStatus(const ExportStatus& value) { m_exportStatus = value; } /** *

The current status of the deletion. When the deletion is complete, the export * will no longer be returned by the ListExports * operation and calls to the * DescribeExport operation with the export identifier will fail.

*/ inline void SetExportStatus(ExportStatus&& value) { m_exportStatus = std::move(value); } /** *

The current status of the deletion. When the deletion is complete, the export * will no longer be returned by the ListExports * operation and calls to the * DescribeExport operation with the export identifier will fail.

*/ inline DeleteExportResult& WithExportStatus(const ExportStatus& value) { SetExportStatus(value); return *this;} /** *

The current status of the deletion. When the deletion is complete, the export * will no longer be returned by the ListExports * operation and calls to the * DescribeExport operation with the export identifier will fail.

*/ inline DeleteExportResult& WithExportStatus(ExportStatus&& value) { SetExportStatus(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 DeleteExportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteExportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteExportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_exportId; ExportStatus m_exportStatus; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws