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

The unique identifier of the deleted import.

*/ inline const Aws::String& GetImportId() const{ return m_importId; } /** *

The unique identifier of the deleted import.

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

The unique identifier of the deleted import.

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

The unique identifier of the deleted import.

*/ inline void SetImportId(const char* value) { m_importId.assign(value); } /** *

The unique identifier of the deleted import.

*/ inline DeleteImportResult& WithImportId(const Aws::String& value) { SetImportId(value); return *this;} /** *

The unique identifier of the deleted import.

*/ inline DeleteImportResult& WithImportId(Aws::String&& value) { SetImportId(std::move(value)); return *this;} /** *

The unique identifier of the deleted import.

*/ inline DeleteImportResult& WithImportId(const char* value) { SetImportId(value); return *this;} /** *

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

*/ inline const ImportStatus& GetImportStatus() const{ return m_importStatus; } /** *

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

*/ inline void SetImportStatus(const ImportStatus& value) { m_importStatus = value; } /** *

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

*/ inline void SetImportStatus(ImportStatus&& value) { m_importStatus = std::move(value); } /** *

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

*/ inline DeleteImportResult& WithImportStatus(const ImportStatus& value) { SetImportStatus(value); return *this;} /** *

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

*/ inline DeleteImportResult& WithImportStatus(ImportStatus&& value) { SetImportStatus(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 DeleteImportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteImportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteImportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_importId; ImportStatus m_importStatus; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws