/** * 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 DescribeDirectConnectGatewayAttachmentsResult { public: DescribeDirectConnectGatewayAttachmentsResult(); DescribeDirectConnectGatewayAttachmentsResult(const Aws::AmazonWebServiceResult& result); DescribeDirectConnectGatewayAttachmentsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The attachments.

*/ inline const Aws::Vector& GetDirectConnectGatewayAttachments() const{ return m_directConnectGatewayAttachments; } /** *

The attachments.

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

The attachments.

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

The attachments.

*/ inline DescribeDirectConnectGatewayAttachmentsResult& WithDirectConnectGatewayAttachments(const Aws::Vector& value) { SetDirectConnectGatewayAttachments(value); return *this;} /** *

The attachments.

*/ inline DescribeDirectConnectGatewayAttachmentsResult& WithDirectConnectGatewayAttachments(Aws::Vector&& value) { SetDirectConnectGatewayAttachments(std::move(value)); return *this;} /** *

The attachments.

*/ inline DescribeDirectConnectGatewayAttachmentsResult& AddDirectConnectGatewayAttachments(const DirectConnectGatewayAttachment& value) { m_directConnectGatewayAttachments.push_back(value); return *this; } /** *

The attachments.

*/ inline DescribeDirectConnectGatewayAttachmentsResult& AddDirectConnectGatewayAttachments(DirectConnectGatewayAttachment&& value) { m_directConnectGatewayAttachments.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 DescribeDirectConnectGatewayAttachmentsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token to retrieve the next page.

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

The token to retrieve the next page.

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