/** * 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 Redshift { namespace Model { class DescribeClusterDbRevisionsResult { public: AWS_REDSHIFT_API DescribeClusterDbRevisionsResult(); AWS_REDSHIFT_API DescribeClusterDbRevisionsResult(const Aws::AmazonWebServiceResult& result); AWS_REDSHIFT_API DescribeClusterDbRevisionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A string representing the starting point for the next set of revisions. If a * value is returned in a response, you can retrieve the next set of revisions by * providing the value in the marker parameter and retrying the * command. If the marker field is empty, all revisions have already * been returned.

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

A string representing the starting point for the next set of revisions. If a * value is returned in a response, you can retrieve the next set of revisions by * providing the value in the marker parameter and retrying the * command. If the marker field is empty, all revisions have already * been returned.

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

A string representing the starting point for the next set of revisions. If a * value is returned in a response, you can retrieve the next set of revisions by * providing the value in the marker parameter and retrying the * command. If the marker field is empty, all revisions have already * been returned.

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

A string representing the starting point for the next set of revisions. If a * value is returned in a response, you can retrieve the next set of revisions by * providing the value in the marker parameter and retrying the * command. If the marker field is empty, all revisions have already * been returned.

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

A string representing the starting point for the next set of revisions. If a * value is returned in a response, you can retrieve the next set of revisions by * providing the value in the marker parameter and retrying the * command. If the marker field is empty, all revisions have already * been returned.

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

A string representing the starting point for the next set of revisions. If a * value is returned in a response, you can retrieve the next set of revisions by * providing the value in the marker parameter and retrying the * command. If the marker field is empty, all revisions have already * been returned.

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

A string representing the starting point for the next set of revisions. If a * value is returned in a response, you can retrieve the next set of revisions by * providing the value in the marker parameter and retrying the * command. If the marker field is empty, all revisions have already * been returned.

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

A list of revisions.

*/ inline const Aws::Vector& GetClusterDbRevisions() const{ return m_clusterDbRevisions; } /** *

A list of revisions.

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

A list of revisions.

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

A list of revisions.

*/ inline DescribeClusterDbRevisionsResult& WithClusterDbRevisions(const Aws::Vector& value) { SetClusterDbRevisions(value); return *this;} /** *

A list of revisions.

*/ inline DescribeClusterDbRevisionsResult& WithClusterDbRevisions(Aws::Vector&& value) { SetClusterDbRevisions(std::move(value)); return *this;} /** *

A list of revisions.

*/ inline DescribeClusterDbRevisionsResult& AddClusterDbRevisions(const ClusterDbRevision& value) { m_clusterDbRevisions.push_back(value); return *this; } /** *

A list of revisions.

*/ inline DescribeClusterDbRevisionsResult& AddClusterDbRevisions(ClusterDbRevision&& value) { m_clusterDbRevisions.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 DescribeClusterDbRevisionsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeClusterDbRevisionsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_marker; Aws::Vector m_clusterDbRevisions; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace Redshift } // namespace Aws