/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for response parameters to the
* CreateVpcEndpoint
operation. Contains the configuration and
* status of the VPC Endpoint being created.See Also:
AWS
* API Reference
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