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

List of BackupSummary objects.

*/ inline const Aws::Vector& GetBackupSummaries() const{ return m_backupSummaries; } /** *

List of BackupSummary objects.

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

List of BackupSummary objects.

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

List of BackupSummary objects.

*/ inline ListBackupsResult& WithBackupSummaries(const Aws::Vector& value) { SetBackupSummaries(value); return *this;} /** *

List of BackupSummary objects.

*/ inline ListBackupsResult& WithBackupSummaries(Aws::Vector&& value) { SetBackupSummaries(std::move(value)); return *this;} /** *

List of BackupSummary objects.

*/ inline ListBackupsResult& AddBackupSummaries(const BackupSummary& value) { m_backupSummaries.push_back(value); return *this; } /** *

List of BackupSummary objects.

*/ inline ListBackupsResult& AddBackupSummaries(BackupSummary&& value) { m_backupSummaries.push_back(std::move(value)); return *this; } /** *

The ARN of the backup last evaluated when the current page of results was * returned, inclusive of the current page of results. This value may be specified * as the ExclusiveStartBackupArn of a new ListBackups * operation in order to fetch the next page of results.

If * LastEvaluatedBackupArn is empty, then the last page of results has * been processed and there are no more results to be retrieved.

If * LastEvaluatedBackupArn is not empty, this may or may not indicate * that there is more data to be returned. All results are guaranteed to have been * returned if and only if no value for LastEvaluatedBackupArn is * returned.

*/ inline const Aws::String& GetLastEvaluatedBackupArn() const{ return m_lastEvaluatedBackupArn; } /** *

The ARN of the backup last evaluated when the current page of results was * returned, inclusive of the current page of results. This value may be specified * as the ExclusiveStartBackupArn of a new ListBackups * operation in order to fetch the next page of results.

If * LastEvaluatedBackupArn is empty, then the last page of results has * been processed and there are no more results to be retrieved.

If * LastEvaluatedBackupArn is not empty, this may or may not indicate * that there is more data to be returned. All results are guaranteed to have been * returned if and only if no value for LastEvaluatedBackupArn is * returned.

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

The ARN of the backup last evaluated when the current page of results was * returned, inclusive of the current page of results. This value may be specified * as the ExclusiveStartBackupArn of a new ListBackups * operation in order to fetch the next page of results.

If * LastEvaluatedBackupArn is empty, then the last page of results has * been processed and there are no more results to be retrieved.

If * LastEvaluatedBackupArn is not empty, this may or may not indicate * that there is more data to be returned. All results are guaranteed to have been * returned if and only if no value for LastEvaluatedBackupArn is * returned.

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

The ARN of the backup last evaluated when the current page of results was * returned, inclusive of the current page of results. This value may be specified * as the ExclusiveStartBackupArn of a new ListBackups * operation in order to fetch the next page of results.

If * LastEvaluatedBackupArn is empty, then the last page of results has * been processed and there are no more results to be retrieved.

If * LastEvaluatedBackupArn is not empty, this may or may not indicate * that there is more data to be returned. All results are guaranteed to have been * returned if and only if no value for LastEvaluatedBackupArn is * returned.

*/ inline void SetLastEvaluatedBackupArn(const char* value) { m_lastEvaluatedBackupArn.assign(value); } /** *

The ARN of the backup last evaluated when the current page of results was * returned, inclusive of the current page of results. This value may be specified * as the ExclusiveStartBackupArn of a new ListBackups * operation in order to fetch the next page of results.

If * LastEvaluatedBackupArn is empty, then the last page of results has * been processed and there are no more results to be retrieved.

If * LastEvaluatedBackupArn is not empty, this may or may not indicate * that there is more data to be returned. All results are guaranteed to have been * returned if and only if no value for LastEvaluatedBackupArn is * returned.

*/ inline ListBackupsResult& WithLastEvaluatedBackupArn(const Aws::String& value) { SetLastEvaluatedBackupArn(value); return *this;} /** *

The ARN of the backup last evaluated when the current page of results was * returned, inclusive of the current page of results. This value may be specified * as the ExclusiveStartBackupArn of a new ListBackups * operation in order to fetch the next page of results.

If * LastEvaluatedBackupArn is empty, then the last page of results has * been processed and there are no more results to be retrieved.

If * LastEvaluatedBackupArn is not empty, this may or may not indicate * that there is more data to be returned. All results are guaranteed to have been * returned if and only if no value for LastEvaluatedBackupArn is * returned.

*/ inline ListBackupsResult& WithLastEvaluatedBackupArn(Aws::String&& value) { SetLastEvaluatedBackupArn(std::move(value)); return *this;} /** *

The ARN of the backup last evaluated when the current page of results was * returned, inclusive of the current page of results. This value may be specified * as the ExclusiveStartBackupArn of a new ListBackups * operation in order to fetch the next page of results.

If * LastEvaluatedBackupArn is empty, then the last page of results has * been processed and there are no more results to be retrieved.

If * LastEvaluatedBackupArn is not empty, this may or may not indicate * that there is more data to be returned. All results are guaranteed to have been * returned if and only if no value for LastEvaluatedBackupArn is * returned.

*/ inline ListBackupsResult& WithLastEvaluatedBackupArn(const char* value) { SetLastEvaluatedBackupArn(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 ListBackupsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListBackupsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListBackupsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_backupSummaries; Aws::String m_lastEvaluatedBackupArn; Aws::String m_requestId; }; } // namespace Model } // namespace DynamoDB } // namespace Aws