/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the configuration and status of the VPC endpoint being
* updated.See Also:
AWS
* API Reference
The endpoint to be updated.
*/ inline const VpcEndpoint& GetVpcEndpoint() const{ return m_vpcEndpoint; } /** *The endpoint to be updated.
*/ inline void SetVpcEndpoint(const VpcEndpoint& value) { m_vpcEndpoint = value; } /** *The endpoint to be updated.
*/ inline void SetVpcEndpoint(VpcEndpoint&& value) { m_vpcEndpoint = std::move(value); } /** *The endpoint to be updated.
*/ inline UpdateVpcEndpointResult& WithVpcEndpoint(const VpcEndpoint& value) { SetVpcEndpoint(value); return *this;} /** *The endpoint to be updated.
*/ inline UpdateVpcEndpointResult& 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 UpdateVpcEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateVpcEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateVpcEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: VpcEndpoint m_vpcEndpoint; Aws::String m_requestId; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws