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

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

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

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

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

A list of recovery groups.

*/ inline const Aws::Vector& GetRecoveryGroups() const{ return m_recoveryGroups; } /** *

A list of recovery groups.

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

A list of recovery groups.

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

A list of recovery groups.

*/ inline ListRecoveryGroupsResult& WithRecoveryGroups(const Aws::Vector& value) { SetRecoveryGroups(value); return *this;} /** *

A list of recovery groups.

*/ inline ListRecoveryGroupsResult& WithRecoveryGroups(Aws::Vector&& value) { SetRecoveryGroups(std::move(value)); return *this;} /** *

A list of recovery groups.

*/ inline ListRecoveryGroupsResult& AddRecoveryGroups(const RecoveryGroupOutput& value) { m_recoveryGroups.push_back(value); return *this; } /** *

A list of recovery groups.

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