/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace LexModelsV2 { namespace Model { /** */ class DeleteExportRequest : public LexModelsV2Request { public: AWS_LEXMODELSV2_API DeleteExportRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteExport"; } AWS_LEXMODELSV2_API Aws::String SerializePayload() const override; /** *

The unique identifier of the export to delete.

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

The unique identifier of the export to delete.

*/ inline bool ExportIdHasBeenSet() const { return m_exportIdHasBeenSet; } /** *

The unique identifier of the export to delete.

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

The unique identifier of the export to delete.

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

The unique identifier of the export to delete.

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

The unique identifier of the export to delete.

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

The unique identifier of the export to delete.

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

The unique identifier of the export to delete.

*/ inline DeleteExportRequest& WithExportId(const char* value) { SetExportId(value); return *this;} private: Aws::String m_exportId; bool m_exportIdHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws