/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace RDS { namespace Model { class DescribeExportTasksResult { public: AWS_RDS_API DescribeExportTasksResult(); AWS_RDS_API DescribeExportTasksResult(const Aws::AmazonWebServiceResult& result); AWS_RDS_API DescribeExportTasksResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A pagination token that can be used in a later * DescribeExportTasks request. A marker is used for pagination to * identify the location to begin output for the next response of * DescribeExportTasks.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

A pagination token that can be used in a later * DescribeExportTasks request. A marker is used for pagination to * identify the location to begin output for the next response of * DescribeExportTasks.

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

A pagination token that can be used in a later * DescribeExportTasks request. A marker is used for pagination to * identify the location to begin output for the next response of * DescribeExportTasks.

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

A pagination token that can be used in a later * DescribeExportTasks request. A marker is used for pagination to * identify the location to begin output for the next response of * DescribeExportTasks.

*/ inline void SetMarker(const char* value) { m_marker.assign(value); } /** *

A pagination token that can be used in a later * DescribeExportTasks request. A marker is used for pagination to * identify the location to begin output for the next response of * DescribeExportTasks.

*/ inline DescribeExportTasksResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

A pagination token that can be used in a later * DescribeExportTasks request. A marker is used for pagination to * identify the location to begin output for the next response of * DescribeExportTasks.

*/ inline DescribeExportTasksResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

A pagination token that can be used in a later * DescribeExportTasks request. A marker is used for pagination to * identify the location to begin output for the next response of * DescribeExportTasks.

*/ inline DescribeExportTasksResult& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

Information about an export of a snapshot or cluster to Amazon S3.

*/ inline const Aws::Vector& GetExportTasks() const{ return m_exportTasks; } /** *

Information about an export of a snapshot or cluster to Amazon S3.

*/ inline void SetExportTasks(const Aws::Vector& value) { m_exportTasks = value; } /** *

Information about an export of a snapshot or cluster to Amazon S3.

*/ inline void SetExportTasks(Aws::Vector&& value) { m_exportTasks = std::move(value); } /** *

Information about an export of a snapshot or cluster to Amazon S3.

*/ inline DescribeExportTasksResult& WithExportTasks(const Aws::Vector& value) { SetExportTasks(value); return *this;} /** *

Information about an export of a snapshot or cluster to Amazon S3.

*/ inline DescribeExportTasksResult& WithExportTasks(Aws::Vector&& value) { SetExportTasks(std::move(value)); return *this;} /** *

Information about an export of a snapshot or cluster to Amazon S3.

*/ inline DescribeExportTasksResult& AddExportTasks(const ExportTask& value) { m_exportTasks.push_back(value); return *this; } /** *

Information about an export of a snapshot or cluster to Amazon S3.

*/ inline DescribeExportTasksResult& AddExportTasks(ExportTask&& value) { m_exportTasks.push_back(std::move(value)); return *this; } inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeExportTasksResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeExportTasksResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_marker; Aws::Vector m_exportTasks; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace RDS } // namespace Aws