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

The next item following a partial list of returned items. For example, if a * request is made to return maxResults number of items, * NextToken allows you to return more items in your list starting at * the location pointed to by the next token.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The next item following a partial list of returned items. For example, if a * request is made to return maxResults number of items, * NextToken allows you to return more items in your list starting at * the location pointed to by the next token.

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

The next item following a partial list of returned items. For example, if a * request is made to return maxResults number of items, * NextToken allows you to return more items in your list starting at * the location pointed to by the next token.

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

The next item following a partial list of returned items. For example, if a * request is made to return maxResults number of items, * NextToken allows you to return more items in your list starting at * the location pointed to by the next token.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The next item following a partial list of returned items. For example, if a * request is made to return maxResults number of items, * NextToken allows you to return more items in your list starting at * the location pointed to by the next token.

*/ inline ListBackupSelectionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The next item following a partial list of returned items. For example, if a * request is made to return maxResults number of items, * NextToken allows you to return more items in your list starting at * the location pointed to by the next token.

*/ inline ListBackupSelectionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The next item following a partial list of returned items. For example, if a * request is made to return maxResults number of items, * NextToken allows you to return more items in your list starting at * the location pointed to by the next token.

*/ inline ListBackupSelectionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

An array of backup selection list items containing metadata about each * resource in the list.

*/ inline const Aws::Vector& GetBackupSelectionsList() const{ return m_backupSelectionsList; } /** *

An array of backup selection list items containing metadata about each * resource in the list.

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

An array of backup selection list items containing metadata about each * resource in the list.

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

An array of backup selection list items containing metadata about each * resource in the list.

*/ inline ListBackupSelectionsResult& WithBackupSelectionsList(const Aws::Vector& value) { SetBackupSelectionsList(value); return *this;} /** *

An array of backup selection list items containing metadata about each * resource in the list.

*/ inline ListBackupSelectionsResult& WithBackupSelectionsList(Aws::Vector&& value) { SetBackupSelectionsList(std::move(value)); return *this;} /** *

An array of backup selection list items containing metadata about each * resource in the list.

*/ inline ListBackupSelectionsResult& AddBackupSelectionsList(const BackupSelectionsListMember& value) { m_backupSelectionsList.push_back(value); return *this; } /** *

An array of backup selection list items containing metadata about each * resource in the list.

*/ inline ListBackupSelectionsResult& AddBackupSelectionsList(BackupSelectionsListMember&& value) { m_backupSelectionsList.push_back(std::move(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 ListBackupSelectionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListBackupSelectionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListBackupSelectionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_backupSelectionsList; Aws::String m_requestId; }; } // namespace Model } // namespace Backup } // namespace Aws