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

The Direct Connect gateways.

*/ inline const Aws::Vector& GetDirectConnectGateways() const{ return m_directConnectGateways; } /** *

The Direct Connect gateways.

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

The Direct Connect gateways.

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

The Direct Connect gateways.

*/ inline DescribeDirectConnectGatewaysResult& WithDirectConnectGateways(const Aws::Vector& value) { SetDirectConnectGateways(value); return *this;} /** *

The Direct Connect gateways.

*/ inline DescribeDirectConnectGatewaysResult& WithDirectConnectGateways(Aws::Vector&& value) { SetDirectConnectGateways(std::move(value)); return *this;} /** *

The Direct Connect gateways.

*/ inline DescribeDirectConnectGatewaysResult& AddDirectConnectGateways(const DirectConnectGateway& value) { m_directConnectGateways.push_back(value); return *this; } /** *

The Direct Connect gateways.

*/ inline DescribeDirectConnectGatewaysResult& AddDirectConnectGateways(DirectConnectGateway&& value) { m_directConnectGateways.push_back(std::move(value)); return *this; } /** *

The token to retrieve the next page.

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

The token to retrieve the next page.

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

The token to retrieve the next page.

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

The token to retrieve the next page.

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

The token to retrieve the next page.

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

The token to retrieve the next page.

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

The token to retrieve the next page.

*/ inline DescribeDirectConnectGatewaysResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_directConnectGateways; Aws::String m_nextToken; }; } // namespace Model } // namespace DirectConnect } // namespace Aws