/** * 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 { /** *

Provides a list of DB cluster snapshots for the user as the result of a call * to the DescribeDBClusterSnapshots action.

See Also:

* AWS * API Reference

*/ class DescribeDBClusterSnapshotsResult { public: AWS_RDS_API DescribeDBClusterSnapshotsResult(); AWS_RDS_API DescribeDBClusterSnapshotsResult(const Aws::AmazonWebServiceResult& result); AWS_RDS_API DescribeDBClusterSnapshotsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An optional pagination token provided by a previous * DescribeDBClusterSnapshots request. If this parameter is specified, * the response includes only records beyond the marker, up to the value specified * by MaxRecords.

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

An optional pagination token provided by a previous * DescribeDBClusterSnapshots request. If this parameter is specified, * the response includes only records beyond the marker, up to the value specified * by MaxRecords.

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

An optional pagination token provided by a previous * DescribeDBClusterSnapshots request. If this parameter is specified, * the response includes only records beyond the marker, up to the value specified * by MaxRecords.

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

An optional pagination token provided by a previous * DescribeDBClusterSnapshots request. If this parameter is specified, * the response includes only records beyond the marker, up to the value specified * by MaxRecords.

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

An optional pagination token provided by a previous * DescribeDBClusterSnapshots request. If this parameter is specified, * the response includes only records beyond the marker, up to the value specified * by MaxRecords.

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

An optional pagination token provided by a previous * DescribeDBClusterSnapshots request. If this parameter is specified, * the response includes only records beyond the marker, up to the value specified * by MaxRecords.

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

An optional pagination token provided by a previous * DescribeDBClusterSnapshots request. If this parameter is specified, * the response includes only records beyond the marker, up to the value specified * by MaxRecords.

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

Provides a list of DB cluster snapshots for the user.

*/ inline const Aws::Vector& GetDBClusterSnapshots() const{ return m_dBClusterSnapshots; } /** *

Provides a list of DB cluster snapshots for the user.

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

Provides a list of DB cluster snapshots for the user.

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

Provides a list of DB cluster snapshots for the user.

*/ inline DescribeDBClusterSnapshotsResult& WithDBClusterSnapshots(const Aws::Vector& value) { SetDBClusterSnapshots(value); return *this;} /** *

Provides a list of DB cluster snapshots for the user.

*/ inline DescribeDBClusterSnapshotsResult& WithDBClusterSnapshots(Aws::Vector&& value) { SetDBClusterSnapshots(std::move(value)); return *this;} /** *

Provides a list of DB cluster snapshots for the user.

*/ inline DescribeDBClusterSnapshotsResult& AddDBClusterSnapshots(const DBClusterSnapshot& value) { m_dBClusterSnapshots.push_back(value); return *this; } /** *

Provides a list of DB cluster snapshots for the user.

*/ inline DescribeDBClusterSnapshotsResult& AddDBClusterSnapshots(DBClusterSnapshot&& value) { m_dBClusterSnapshots.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 DescribeDBClusterSnapshotsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeDBClusterSnapshotsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_marker; Aws::Vector m_dBClusterSnapshots; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace RDS } // namespace Aws