/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An OpenSearch Ingestion-managed VPC endpoint that will access one or more
* pipelines.See Also:
AWS
* API Reference
The unique identifier of the endpoint.
*/ inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; } /** *The unique identifier of the endpoint.
*/ inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; } /** *The unique identifier of the endpoint.
*/ inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; } /** *The unique identifier of the endpoint.
*/ inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); } /** *The unique identifier of the endpoint.
*/ inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); } /** *The unique identifier of the endpoint.
*/ inline VpcEndpoint& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;} /** *The unique identifier of the endpoint.
*/ inline VpcEndpoint& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;} /** *The unique identifier of the endpoint.
*/ inline VpcEndpoint& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;} /** *The ID for your VPC. Amazon Web Services PrivateLink generates this value * when you create a VPC.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The ID for your VPC. Amazon Web Services PrivateLink generates this value * when you create a VPC.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The ID for your VPC. Amazon Web Services PrivateLink generates this value * when you create a VPC.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The ID for your VPC. Amazon Web Services PrivateLink generates this value * when you create a VPC.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The ID for your VPC. Amazon Web Services PrivateLink generates this value * when you create a VPC.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The ID for your VPC. Amazon Web Services PrivateLink generates this value * when you create a VPC.
*/ inline VpcEndpoint& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The ID for your VPC. Amazon Web Services PrivateLink generates this value * when you create a VPC.
*/ inline VpcEndpoint& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The ID for your VPC. Amazon Web Services PrivateLink generates this value * when you create a VPC.
*/ inline VpcEndpoint& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *Information about the VPC, including associated subnets and security * groups.
*/ inline const VpcOptions& GetVpcOptions() const{ return m_vpcOptions; } /** *Information about the VPC, including associated subnets and security * groups.
*/ inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; } /** *Information about the VPC, including associated subnets and security * groups.
*/ inline void SetVpcOptions(const VpcOptions& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = value; } /** *Information about the VPC, including associated subnets and security * groups.
*/ inline void SetVpcOptions(VpcOptions&& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = std::move(value); } /** *Information about the VPC, including associated subnets and security * groups.
*/ inline VpcEndpoint& WithVpcOptions(const VpcOptions& value) { SetVpcOptions(value); return *this;} /** *Information about the VPC, including associated subnets and security * groups.
*/ inline VpcEndpoint& WithVpcOptions(VpcOptions&& value) { SetVpcOptions(std::move(value)); return *this;} private: Aws::String m_vpcEndpointId; bool m_vpcEndpointIdHasBeenSet = false; Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; VpcOptions m_vpcOptions; bool m_vpcOptionsHasBeenSet = false; }; } // namespace Model } // namespace OSIS } // namespace Aws