/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 * CreateVpcEndpoint operation. Contains the configuration and * status of the VPC Endpoint being created.

See Also:

AWS * API Reference

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

Information about the newly created VPC endpoint.

*/ inline const VpcEndpoint& GetVpcEndpoint() const{ return m_vpcEndpoint; } /** *

Information about the newly created VPC endpoint.

*/ inline void SetVpcEndpoint(const VpcEndpoint& value) { m_vpcEndpoint = value; } /** *

Information about the newly created VPC endpoint.

*/ inline void SetVpcEndpoint(VpcEndpoint&& value) { m_vpcEndpoint = std::move(value); } /** *

Information about the newly created VPC endpoint.

*/ inline CreateVpcEndpointResult& WithVpcEndpoint(const VpcEndpoint& value) { SetVpcEndpoint(value); return *this;} /** *

Information about the newly created VPC endpoint.

*/ inline CreateVpcEndpointResult& WithVpcEndpoint(VpcEndpoint&& value) { SetVpcEndpoint(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 CreateVpcEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateVpcEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateVpcEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: VpcEndpoint m_vpcEndpoint; Aws::String m_requestId; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws