/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 DescribeVpcEndpointsResult { public: AWS_OPENSEARCHSERVICE_API DescribeVpcEndpointsResult(); AWS_OPENSEARCHSERVICE_API DescribeVpcEndpointsResult(const Aws::AmazonWebServiceResult& result); AWS_OPENSEARCHSERVICE_API DescribeVpcEndpointsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about each requested VPC endpoint.

*/ inline const Aws::Vector& GetVpcEndpoints() const{ return m_vpcEndpoints; } /** *

Information about each requested VPC endpoint.

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

Information about each requested VPC endpoint.

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

Information about each requested VPC endpoint.

*/ inline DescribeVpcEndpointsResult& WithVpcEndpoints(const Aws::Vector& value) { SetVpcEndpoints(value); return *this;} /** *

Information about each requested VPC endpoint.

*/ inline DescribeVpcEndpointsResult& WithVpcEndpoints(Aws::Vector&& value) { SetVpcEndpoints(std::move(value)); return *this;} /** *

Information about each requested VPC endpoint.

*/ inline DescribeVpcEndpointsResult& AddVpcEndpoints(const VpcEndpoint& value) { m_vpcEndpoints.push_back(value); return *this; } /** *

Information about each requested VPC endpoint.

*/ inline DescribeVpcEndpointsResult& AddVpcEndpoints(VpcEndpoint&& value) { m_vpcEndpoints.push_back(std::move(value)); return *this; } /** *

Any errors associated with the request.

*/ inline const Aws::Vector& GetVpcEndpointErrors() const{ return m_vpcEndpointErrors; } /** *

Any errors associated with the request.

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

Any errors associated with the request.

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

Any errors associated with the request.

*/ inline DescribeVpcEndpointsResult& WithVpcEndpointErrors(const Aws::Vector& value) { SetVpcEndpointErrors(value); return *this;} /** *

Any errors associated with the request.

*/ inline DescribeVpcEndpointsResult& WithVpcEndpointErrors(Aws::Vector&& value) { SetVpcEndpointErrors(std::move(value)); return *this;} /** *

Any errors associated with the request.

*/ inline DescribeVpcEndpointsResult& AddVpcEndpointErrors(const VpcEndpointError& value) { m_vpcEndpointErrors.push_back(value); return *this; } /** *

Any errors associated with the request.

*/ inline DescribeVpcEndpointsResult& AddVpcEndpointErrors(VpcEndpointError&& value) { m_vpcEndpointErrors.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 DescribeVpcEndpointsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeVpcEndpointsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeVpcEndpointsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_vpcEndpoints; Aws::Vector m_vpcEndpointErrors; Aws::String m_requestId; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws