/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Lightsail { namespace Model { class GetRelationalDatabaseSnapshotsResult { public: AWS_LIGHTSAIL_API GetRelationalDatabaseSnapshotsResult(); AWS_LIGHTSAIL_API GetRelationalDatabaseSnapshotsResult(const Aws::AmazonWebServiceResult& result); AWS_LIGHTSAIL_API GetRelationalDatabaseSnapshotsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An object describing the result of your get relational database snapshots * request.

*/ inline const Aws::Vector& GetRelationalDatabaseSnapshots() const{ return m_relationalDatabaseSnapshots; } /** *

An object describing the result of your get relational database snapshots * request.

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

An object describing the result of your get relational database snapshots * request.

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

An object describing the result of your get relational database snapshots * request.

*/ inline GetRelationalDatabaseSnapshotsResult& WithRelationalDatabaseSnapshots(const Aws::Vector& value) { SetRelationalDatabaseSnapshots(value); return *this;} /** *

An object describing the result of your get relational database snapshots * request.

*/ inline GetRelationalDatabaseSnapshotsResult& WithRelationalDatabaseSnapshots(Aws::Vector&& value) { SetRelationalDatabaseSnapshots(std::move(value)); return *this;} /** *

An object describing the result of your get relational database snapshots * request.

*/ inline GetRelationalDatabaseSnapshotsResult& AddRelationalDatabaseSnapshots(const RelationalDatabaseSnapshot& value) { m_relationalDatabaseSnapshots.push_back(value); return *this; } /** *

An object describing the result of your get relational database snapshots * request.

*/ inline GetRelationalDatabaseSnapshotsResult& AddRelationalDatabaseSnapshots(RelationalDatabaseSnapshot&& value) { m_relationalDatabaseSnapshots.push_back(std::move(value)); return *this; } /** *

The token to advance to the next page of results from your request.

A * next page token is not returned if there are no more results to display.

*

To get the next page of results, perform another * GetRelationalDatabaseSnapshots request and specify the next page * token using the pageToken parameter.

*/ inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; } /** *

The token to advance to the next page of results from your request.

A * next page token is not returned if there are no more results to display.

*

To get the next page of results, perform another * GetRelationalDatabaseSnapshots request and specify the next page * token using the pageToken parameter.

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

The token to advance to the next page of results from your request.

A * next page token is not returned if there are no more results to display.

*

To get the next page of results, perform another * GetRelationalDatabaseSnapshots request and specify the next page * token using the pageToken parameter.

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

The token to advance to the next page of results from your request.

A * next page token is not returned if there are no more results to display.

*

To get the next page of results, perform another * GetRelationalDatabaseSnapshots request and specify the next page * token using the pageToken parameter.

*/ inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); } /** *

The token to advance to the next page of results from your request.

A * next page token is not returned if there are no more results to display.

*

To get the next page of results, perform another * GetRelationalDatabaseSnapshots request and specify the next page * token using the pageToken parameter.

*/ inline GetRelationalDatabaseSnapshotsResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;} /** *

The token to advance to the next page of results from your request.

A * next page token is not returned if there are no more results to display.

*

To get the next page of results, perform another * GetRelationalDatabaseSnapshots request and specify the next page * token using the pageToken parameter.

*/ inline GetRelationalDatabaseSnapshotsResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;} /** *

The token to advance to the next page of results from your request.

A * next page token is not returned if there are no more results to display.

*

To get the next page of results, perform another * GetRelationalDatabaseSnapshots request and specify the next page * token using the pageToken parameter.

*/ inline GetRelationalDatabaseSnapshotsResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetRelationalDatabaseSnapshotsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetRelationalDatabaseSnapshotsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetRelationalDatabaseSnapshotsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_relationalDatabaseSnapshots; Aws::String m_nextPageToken; Aws::String m_requestId; }; } // namespace Model } // namespace Lightsail } // namespace Aws