/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace LexModelBuildingService { namespace Model { /** */ class GetExportRequest : public LexModelBuildingServiceRequest { public: AWS_LEXMODELBUILDINGSERVICE_API GetExportRequest(); // 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 "GetExport"; } AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override; AWS_LEXMODELBUILDINGSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The name of the bot to export.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the bot to export.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the bot to export.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the bot to export.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the bot to export.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the bot to export.

*/ inline GetExportRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the bot to export.

*/ inline GetExportRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the bot to export.

*/ inline GetExportRequest& WithName(const char* value) { SetName(value); return *this;} /** *

The version of the bot to export.

*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *

The version of the bot to export.

*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *

The version of the bot to export.

*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *

The version of the bot to export.

*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *

The version of the bot to export.

*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *

The version of the bot to export.

*/ inline GetExportRequest& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *

The version of the bot to export.

*/ inline GetExportRequest& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *

The version of the bot to export.

*/ inline GetExportRequest& WithVersion(const char* value) { SetVersion(value); return *this;} /** *

The type of resource to export.

*/ inline const ResourceType& GetResourceType() const{ return m_resourceType; } /** *

The type of resource to export.

*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *

The type of resource to export.

*/ inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *

The type of resource to export.

*/ inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *

The type of resource to export.

*/ inline GetExportRequest& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} /** *

The type of resource to export.

*/ inline GetExportRequest& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *

The format of the exported data.

*/ inline const ExportType& GetExportType() const{ return m_exportType; } /** *

The format of the exported data.

*/ inline bool ExportTypeHasBeenSet() const { return m_exportTypeHasBeenSet; } /** *

The format of the exported data.

*/ inline void SetExportType(const ExportType& value) { m_exportTypeHasBeenSet = true; m_exportType = value; } /** *

The format of the exported data.

*/ inline void SetExportType(ExportType&& value) { m_exportTypeHasBeenSet = true; m_exportType = std::move(value); } /** *

The format of the exported data.

*/ inline GetExportRequest& WithExportType(const ExportType& value) { SetExportType(value); return *this;} /** *

The format of the exported data.

*/ inline GetExportRequest& WithExportType(ExportType&& value) { SetExportType(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_version; bool m_versionHasBeenSet = false; ResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; ExportType m_exportType; bool m_exportTypeHasBeenSet = false; }; } // namespace Model } // namespace LexModelBuildingService } // namespace Aws