/** * 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 ListBackupPlanTemplatesResult { public: AWS_BACKUP_API ListBackupPlanTemplatesResult(); AWS_BACKUP_API ListBackupPlanTemplatesResult(const Aws::AmazonWebServiceResult& result); AWS_BACKUP_API ListBackupPlanTemplatesResult& 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 ListBackupPlanTemplatesResult& 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 ListBackupPlanTemplatesResult& 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 ListBackupPlanTemplatesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

An array of template list items containing metadata about your saved * templates.

*/ inline const Aws::Vector& GetBackupPlanTemplatesList() const{ return m_backupPlanTemplatesList; } /** *

An array of template list items containing metadata about your saved * templates.

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

An array of template list items containing metadata about your saved * templates.

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

An array of template list items containing metadata about your saved * templates.

*/ inline ListBackupPlanTemplatesResult& WithBackupPlanTemplatesList(const Aws::Vector& value) { SetBackupPlanTemplatesList(value); return *this;} /** *

An array of template list items containing metadata about your saved * templates.

*/ inline ListBackupPlanTemplatesResult& WithBackupPlanTemplatesList(Aws::Vector&& value) { SetBackupPlanTemplatesList(std::move(value)); return *this;} /** *

An array of template list items containing metadata about your saved * templates.

*/ inline ListBackupPlanTemplatesResult& AddBackupPlanTemplatesList(const BackupPlanTemplatesListMember& value) { m_backupPlanTemplatesList.push_back(value); return *this; } /** *

An array of template list items containing metadata about your saved * templates.

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