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

Information about each endpoint associated with the domain.

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

Information about each endpoint associated with the domain.

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

Information about each endpoint associated with the domain.

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

Information about each endpoint associated with the domain.

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

Information about each endpoint associated with the domain.

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

Information about each endpoint associated with the domain.

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

Information about each endpoint associated with the domain.

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

When nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. * Make the call again using the returned token to retrieve the next page.

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

When nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. * Make the call again using the returned token to retrieve the next page.

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

When nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. * Make the call again using the returned token to retrieve the next page.

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

When nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. * Make the call again using the returned token to retrieve the next page.

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

When nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. * Make the call again using the returned token to retrieve the next page.

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

When nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. * Make the call again using the returned token to retrieve the next page.

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

When nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. * Make the call again using the returned token to retrieve the next page.

*/ 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 OpenSearchService } // namespace Aws