/** * 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 Route53RecoveryControlConfig { namespace Model { class ListRoutingControlsResult { public: AWS_ROUTE53RECOVERYCONTROLCONFIG_API ListRoutingControlsResult(); AWS_ROUTE53RECOVERYCONTROLCONFIG_API ListRoutingControlsResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53RECOVERYCONTROLCONFIG_API ListRoutingControlsResult& 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 ListRoutingControlsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

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

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

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

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

An array of routing controls.

*/ inline const Aws::Vector& GetRoutingControls() const{ return m_routingControls; } /** *

An array of routing controls.

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

An array of routing controls.

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

An array of routing controls.

*/ inline ListRoutingControlsResult& WithRoutingControls(const Aws::Vector& value) { SetRoutingControls(value); return *this;} /** *

An array of routing controls.

*/ inline ListRoutingControlsResult& WithRoutingControls(Aws::Vector&& value) { SetRoutingControls(std::move(value)); return *this;} /** *

An array of routing controls.

*/ inline ListRoutingControlsResult& AddRoutingControls(const RoutingControl& value) { m_routingControls.push_back(value); return *this; } /** *

An array of routing controls.

*/ inline ListRoutingControlsResult& AddRoutingControls(RoutingControl&& value) { m_routingControls.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 ListRoutingControlsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListRoutingControlsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListRoutingControlsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_routingControls; Aws::String m_requestId; }; } // namespace Model } // namespace Route53RecoveryControlConfig } // namespace Aws