/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The connection endpoint for connecting to an Amazon OpenSearch Service domain
* through a proxy.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 creator of the endpoint.
*/ inline const Aws::String& GetVpcEndpointOwner() const{ return m_vpcEndpointOwner; } /** *The creator of the endpoint.
*/ inline bool VpcEndpointOwnerHasBeenSet() const { return m_vpcEndpointOwnerHasBeenSet; } /** *The creator of the endpoint.
*/ inline void SetVpcEndpointOwner(const Aws::String& value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner = value; } /** *The creator of the endpoint.
*/ inline void SetVpcEndpointOwner(Aws::String&& value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner = std::move(value); } /** *The creator of the endpoint.
*/ inline void SetVpcEndpointOwner(const char* value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner.assign(value); } /** *The creator of the endpoint.
*/ inline VpcEndpoint& WithVpcEndpointOwner(const Aws::String& value) { SetVpcEndpointOwner(value); return *this;} /** *The creator of the endpoint.
*/ inline VpcEndpoint& WithVpcEndpointOwner(Aws::String&& value) { SetVpcEndpointOwner(std::move(value)); return *this;} /** *The creator of the endpoint.
*/ inline VpcEndpoint& WithVpcEndpointOwner(const char* value) { SetVpcEndpointOwner(value); return *this;} /** *The Amazon Resource Name (ARN) of the domain associated with the * endpoint.
*/ inline const Aws::String& GetDomainArn() const{ return m_domainArn; } /** *The Amazon Resource Name (ARN) of the domain associated with the * endpoint.
*/ inline bool DomainArnHasBeenSet() const { return m_domainArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the domain associated with the * endpoint.
*/ inline void SetDomainArn(const Aws::String& value) { m_domainArnHasBeenSet = true; m_domainArn = value; } /** *The Amazon Resource Name (ARN) of the domain associated with the * endpoint.
*/ inline void SetDomainArn(Aws::String&& value) { m_domainArnHasBeenSet = true; m_domainArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the domain associated with the * endpoint.
*/ inline void SetDomainArn(const char* value) { m_domainArnHasBeenSet = true; m_domainArn.assign(value); } /** *The Amazon Resource Name (ARN) of the domain associated with the * endpoint.
*/ inline VpcEndpoint& WithDomainArn(const Aws::String& value) { SetDomainArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the domain associated with the * endpoint.
*/ inline VpcEndpoint& WithDomainArn(Aws::String&& value) { SetDomainArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the domain associated with the * endpoint.
*/ inline VpcEndpoint& WithDomainArn(const char* value) { SetDomainArn(value); return *this;} /** *Options to specify the subnets and security groups for an Amazon OpenSearch * Service VPC endpoint.
*/ inline const VPCDerivedInfo& GetVpcOptions() const{ return m_vpcOptions; } /** *Options to specify the subnets and security groups for an Amazon OpenSearch * Service VPC endpoint.
*/ inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; } /** *Options to specify the subnets and security groups for an Amazon OpenSearch * Service VPC endpoint.
*/ inline void SetVpcOptions(const VPCDerivedInfo& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = value; } /** *Options to specify the subnets and security groups for an Amazon OpenSearch * Service VPC endpoint.
*/ inline void SetVpcOptions(VPCDerivedInfo&& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = std::move(value); } /** *Options to specify the subnets and security groups for an Amazon OpenSearch * Service VPC endpoint.
*/ inline VpcEndpoint& WithVpcOptions(const VPCDerivedInfo& value) { SetVpcOptions(value); return *this;} /** *Options to specify the subnets and security groups for an Amazon OpenSearch * Service VPC endpoint.
*/ inline VpcEndpoint& WithVpcOptions(VPCDerivedInfo&& value) { SetVpcOptions(std::move(value)); return *this;} /** *The current status of the endpoint.
*/ inline const VpcEndpointStatus& GetStatus() const{ return m_status; } /** *The current status of the endpoint.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current status of the endpoint.
*/ inline void SetStatus(const VpcEndpointStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current status of the endpoint.
*/ inline void SetStatus(VpcEndpointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current status of the endpoint.
*/ inline VpcEndpoint& WithStatus(const VpcEndpointStatus& value) { SetStatus(value); return *this;} /** *The current status of the endpoint.
*/ inline VpcEndpoint& WithStatus(VpcEndpointStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The connection endpoint ID for connecting to the domain.
*/ inline const Aws::String& GetEndpoint() const{ return m_endpoint; } /** *The connection endpoint ID for connecting to the domain.
*/ inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; } /** *The connection endpoint ID for connecting to the domain.
*/ inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; } /** *The connection endpoint ID for connecting to the domain.
*/ inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); } /** *The connection endpoint ID for connecting to the domain.
*/ inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); } /** *The connection endpoint ID for connecting to the domain.
*/ inline VpcEndpoint& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;} /** *The connection endpoint ID for connecting to the domain.
*/ inline VpcEndpoint& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;} /** *The connection endpoint ID for connecting to the domain.
*/ inline VpcEndpoint& WithEndpoint(const char* value) { SetEndpoint(value); return *this;} private: Aws::String m_vpcEndpointId; bool m_vpcEndpointIdHasBeenSet = false; Aws::String m_vpcEndpointOwner; bool m_vpcEndpointOwnerHasBeenSet = false; Aws::String m_domainArn; bool m_domainArnHasBeenSet = false; VPCDerivedInfo m_vpcOptions; bool m_vpcOptionsHasBeenSet = false; VpcEndpointStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_endpoint; bool m_endpointHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws