/** * 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 EC2 { namespace Model { /** */ class DescribeExportTasksRequest : public EC2Request { public: AWS_EC2_API DescribeExportTasksRequest(); // 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 "DescribeExportTasks"; } AWS_EC2_API Aws::String SerializePayload() const override; protected: AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The export task IDs.

*/ inline const Aws::Vector& GetExportTaskIds() const{ return m_exportTaskIds; } /** *

The export task IDs.

*/ inline bool ExportTaskIdsHasBeenSet() const { return m_exportTaskIdsHasBeenSet; } /** *

The export task IDs.

*/ inline void SetExportTaskIds(const Aws::Vector& value) { m_exportTaskIdsHasBeenSet = true; m_exportTaskIds = value; } /** *

The export task IDs.

*/ inline void SetExportTaskIds(Aws::Vector&& value) { m_exportTaskIdsHasBeenSet = true; m_exportTaskIds = std::move(value); } /** *

The export task IDs.

*/ inline DescribeExportTasksRequest& WithExportTaskIds(const Aws::Vector& value) { SetExportTaskIds(value); return *this;} /** *

The export task IDs.

*/ inline DescribeExportTasksRequest& WithExportTaskIds(Aws::Vector&& value) { SetExportTaskIds(std::move(value)); return *this;} /** *

The export task IDs.

*/ inline DescribeExportTasksRequest& AddExportTaskIds(const Aws::String& value) { m_exportTaskIdsHasBeenSet = true; m_exportTaskIds.push_back(value); return *this; } /** *

The export task IDs.

*/ inline DescribeExportTasksRequest& AddExportTaskIds(Aws::String&& value) { m_exportTaskIdsHasBeenSet = true; m_exportTaskIds.push_back(std::move(value)); return *this; } /** *

The export task IDs.

*/ inline DescribeExportTasksRequest& AddExportTaskIds(const char* value) { m_exportTaskIdsHasBeenSet = true; m_exportTaskIds.push_back(value); return *this; } /** *

the filters for the export tasks.

*/ inline const Aws::Vector& GetFilters() const{ return m_filters; } /** *

the filters for the export tasks.

*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

the filters for the export tasks.

*/ inline void SetFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

the filters for the export tasks.

*/ inline void SetFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

the filters for the export tasks.

*/ inline DescribeExportTasksRequest& WithFilters(const Aws::Vector& value) { SetFilters(value); return *this;} /** *

the filters for the export tasks.

*/ inline DescribeExportTasksRequest& WithFilters(Aws::Vector&& value) { SetFilters(std::move(value)); return *this;} /** *

the filters for the export tasks.

*/ inline DescribeExportTasksRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } /** *

the filters for the export tasks.

*/ inline DescribeExportTasksRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } private: Aws::Vector m_exportTaskIds; bool m_exportTaskIdsHasBeenSet = false; Aws::Vector m_filters; bool m_filtersHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws