/** * 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 ElasticsearchService { namespace Model { /** *

Container for response parameters to the * ListVpcEndpointsForDomain operation. Returns a list * containing summarized details of the VPC endpoints.

See Also:

* AWS * API Reference

*/ class ListVpcEndpointsForDomainResult { public: AWS_ELASTICSEARCHSERVICE_API ListVpcEndpointsForDomainResult(); AWS_ELASTICSEARCHSERVICE_API ListVpcEndpointsForDomainResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICSEARCHSERVICE_API ListVpcEndpointsForDomainResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Provides list of VpcEndpointSummary summarizing details of the * VPC endpoints.

*/ inline const Aws::Vector& GetVpcEndpointSummaryList() const{ return m_vpcEndpointSummaryList; } /** *

Provides list of VpcEndpointSummary summarizing details of the * VPC endpoints.

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

Provides list of VpcEndpointSummary summarizing details of the * VPC endpoints.

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

Provides list of VpcEndpointSummary summarizing details of the * VPC endpoints.

*/ inline ListVpcEndpointsForDomainResult& WithVpcEndpointSummaryList(const Aws::Vector& value) { SetVpcEndpointSummaryList(value); return *this;} /** *

Provides list of VpcEndpointSummary summarizing details of the * VPC endpoints.

*/ inline ListVpcEndpointsForDomainResult& WithVpcEndpointSummaryList(Aws::Vector&& value) { SetVpcEndpointSummaryList(std::move(value)); return *this;} /** *

Provides list of VpcEndpointSummary summarizing details of the * VPC endpoints.

*/ inline ListVpcEndpointsForDomainResult& AddVpcEndpointSummaryList(const VpcEndpointSummary& value) { m_vpcEndpointSummaryList.push_back(value); return *this; } /** *

Provides list of VpcEndpointSummary summarizing details of the * VPC endpoints.

*/ inline ListVpcEndpointsForDomainResult& AddVpcEndpointSummaryList(VpcEndpointSummary&& value) { m_vpcEndpointSummaryList.push_back(std::move(value)); return *this; } /** *

Information about each endpoint associated with the domain.

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

Information about each endpoint associated with the domain.

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

Information about each endpoint associated with the domain.

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

Information about each endpoint associated with the domain.

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

Information about each endpoint associated with the domain.

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

Information about each endpoint associated with the domain.

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

Information about each endpoint associated with the domain.

*/ inline ListVpcEndpointsForDomainResult& WithNextToken(const char* value) { SetNextToken(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 ListVpcEndpointsForDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListVpcEndpointsForDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListVpcEndpointsForDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_vpcEndpointSummaryList; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws