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

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 ListVpcEndpointsResult& 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 ListVpcEndpointsResult& 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 ListVpcEndpointsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Details about each VPC endpoint, including the name and current status.

*/ inline const Aws::Vector& GetVpcEndpointSummaries() const{ return m_vpcEndpointSummaries; } /** *

Details about each VPC endpoint, including the name and current status.

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

Details about each VPC endpoint, including the name and current status.

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

Details about each VPC endpoint, including the name and current status.

*/ inline ListVpcEndpointsResult& WithVpcEndpointSummaries(const Aws::Vector& value) { SetVpcEndpointSummaries(value); return *this;} /** *

Details about each VPC endpoint, including the name and current status.

*/ inline ListVpcEndpointsResult& WithVpcEndpointSummaries(Aws::Vector&& value) { SetVpcEndpointSummaries(std::move(value)); return *this;} /** *

Details about each VPC endpoint, including the name and current status.

*/ inline ListVpcEndpointsResult& AddVpcEndpointSummaries(const VpcEndpointSummary& value) { m_vpcEndpointSummaries.push_back(value); return *this; } /** *

Details about each VPC endpoint, including the name and current status.

*/ inline ListVpcEndpointsResult& AddVpcEndpointSummaries(VpcEndpointSummary&& value) { m_vpcEndpointSummaries.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 ListVpcEndpointsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListVpcEndpointsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListVpcEndpointsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_vpcEndpointSummaries; Aws::String m_requestId; }; } // namespace Model } // namespace OpenSearchServerless } // namespace Aws