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

The token that identifies which batch of results you want to see.

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

The token that identifies which batch of results you want to see.

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

The token that identifies which batch of results you want to see.

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

The token that identifies which batch of results you want to see.

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

The token that identifies which batch of results you want to see.

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

The token that identifies which batch of results you want to see.

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

The token that identifies which batch of results you want to see.

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

A list of resource sets associated with the account.

*/ inline const Aws::Vector& GetResourceSets() const{ return m_resourceSets; } /** *

A list of resource sets associated with the account.

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

A list of resource sets associated with the account.

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

A list of resource sets associated with the account.

*/ inline ListResourceSetsResult& WithResourceSets(const Aws::Vector& value) { SetResourceSets(value); return *this;} /** *

A list of resource sets associated with the account.

*/ inline ListResourceSetsResult& WithResourceSets(Aws::Vector&& value) { SetResourceSets(std::move(value)); return *this;} /** *

A list of resource sets associated with the account.

*/ inline ListResourceSetsResult& AddResourceSets(const ResourceSetOutput& value) { m_resourceSets.push_back(value); return *this; } /** *

A list of resource sets associated with the account.

*/ inline ListResourceSetsResult& AddResourceSets(ResourceSetOutput&& value) { m_resourceSets.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 ListResourceSetsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListResourceSetsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListResourceSetsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_resourceSets; Aws::String m_requestId; }; } // namespace Model } // namespace Route53RecoveryReadiness } // namespace Aws