/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a VPC endpoint connection to a service.See Also:
* AWS
* API Reference
The ID of the service to which the endpoint is connected.
*/ inline const Aws::String& GetServiceId() const{ return m_serviceId; } /** *The ID of the service to which the endpoint is connected.
*/ inline bool ServiceIdHasBeenSet() const { return m_serviceIdHasBeenSet; } /** *The ID of the service to which the endpoint is connected.
*/ inline void SetServiceId(const Aws::String& value) { m_serviceIdHasBeenSet = true; m_serviceId = value; } /** *The ID of the service to which the endpoint is connected.
*/ inline void SetServiceId(Aws::String&& value) { m_serviceIdHasBeenSet = true; m_serviceId = std::move(value); } /** *The ID of the service to which the endpoint is connected.
*/ inline void SetServiceId(const char* value) { m_serviceIdHasBeenSet = true; m_serviceId.assign(value); } /** *The ID of the service to which the endpoint is connected.
*/ inline VpcEndpointConnection& WithServiceId(const Aws::String& value) { SetServiceId(value); return *this;} /** *The ID of the service to which the endpoint is connected.
*/ inline VpcEndpointConnection& WithServiceId(Aws::String&& value) { SetServiceId(std::move(value)); return *this;} /** *The ID of the service to which the endpoint is connected.
*/ inline VpcEndpointConnection& WithServiceId(const char* value) { SetServiceId(value); return *this;} /** *The ID of the VPC endpoint.
*/ inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; } /** *The ID of the VPC endpoint.
*/ inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; } /** *The ID of the VPC endpoint.
*/ inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; } /** *The ID of the VPC endpoint.
*/ inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); } /** *The ID of the VPC endpoint.
*/ inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); } /** *The ID of the VPC endpoint.
*/ inline VpcEndpointConnection& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;} /** *The ID of the VPC endpoint.
*/ inline VpcEndpointConnection& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;} /** *The ID of the VPC endpoint.
*/ inline VpcEndpointConnection& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;} /** *The ID of the Amazon Web Services account that owns the VPC endpoint.
*/ inline const Aws::String& GetVpcEndpointOwner() const{ return m_vpcEndpointOwner; } /** *The ID of the Amazon Web Services account that owns the VPC endpoint.
*/ inline bool VpcEndpointOwnerHasBeenSet() const { return m_vpcEndpointOwnerHasBeenSet; } /** *The ID of the Amazon Web Services account that owns the VPC endpoint.
*/ inline void SetVpcEndpointOwner(const Aws::String& value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner = value; } /** *The ID of the Amazon Web Services account that owns the VPC endpoint.
*/ inline void SetVpcEndpointOwner(Aws::String&& value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner = std::move(value); } /** *The ID of the Amazon Web Services account that owns the VPC endpoint.
*/ inline void SetVpcEndpointOwner(const char* value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner.assign(value); } /** *The ID of the Amazon Web Services account that owns the VPC endpoint.
*/ inline VpcEndpointConnection& WithVpcEndpointOwner(const Aws::String& value) { SetVpcEndpointOwner(value); return *this;} /** *The ID of the Amazon Web Services account that owns the VPC endpoint.
*/ inline VpcEndpointConnection& WithVpcEndpointOwner(Aws::String&& value) { SetVpcEndpointOwner(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the VPC endpoint.
*/ inline VpcEndpointConnection& WithVpcEndpointOwner(const char* value) { SetVpcEndpointOwner(value); return *this;} /** *The state of the VPC endpoint.
*/ inline const State& GetVpcEndpointState() const{ return m_vpcEndpointState; } /** *The state of the VPC endpoint.
*/ inline bool VpcEndpointStateHasBeenSet() const { return m_vpcEndpointStateHasBeenSet; } /** *The state of the VPC endpoint.
*/ inline void SetVpcEndpointState(const State& value) { m_vpcEndpointStateHasBeenSet = true; m_vpcEndpointState = value; } /** *The state of the VPC endpoint.
*/ inline void SetVpcEndpointState(State&& value) { m_vpcEndpointStateHasBeenSet = true; m_vpcEndpointState = std::move(value); } /** *The state of the VPC endpoint.
*/ inline VpcEndpointConnection& WithVpcEndpointState(const State& value) { SetVpcEndpointState(value); return *this;} /** *The state of the VPC endpoint.
*/ inline VpcEndpointConnection& WithVpcEndpointState(State&& value) { SetVpcEndpointState(std::move(value)); return *this;} /** *The date and time that the VPC endpoint was created.
*/ inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; } /** *The date and time that the VPC endpoint was created.
*/ inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; } /** *The date and time that the VPC endpoint was created.
*/ inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; } /** *The date and time that the VPC endpoint was created.
*/ inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); } /** *The date and time that the VPC endpoint was created.
*/ inline VpcEndpointConnection& WithCreationTimestamp(const Aws::Utils::DateTime& value) { SetCreationTimestamp(value); return *this;} /** *The date and time that the VPC endpoint was created.
*/ inline VpcEndpointConnection& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;} /** *The DNS entries for the VPC endpoint.
*/ inline const Aws::VectorThe DNS entries for the VPC endpoint.
*/ inline bool DnsEntriesHasBeenSet() const { return m_dnsEntriesHasBeenSet; } /** *The DNS entries for the VPC endpoint.
*/ inline void SetDnsEntries(const Aws::VectorThe DNS entries for the VPC endpoint.
*/ inline void SetDnsEntries(Aws::VectorThe DNS entries for the VPC endpoint.
*/ inline VpcEndpointConnection& WithDnsEntries(const Aws::VectorThe DNS entries for the VPC endpoint.
*/ inline VpcEndpointConnection& WithDnsEntries(Aws::VectorThe DNS entries for the VPC endpoint.
*/ inline VpcEndpointConnection& AddDnsEntries(const DnsEntry& value) { m_dnsEntriesHasBeenSet = true; m_dnsEntries.push_back(value); return *this; } /** *The DNS entries for the VPC endpoint.
*/ inline VpcEndpointConnection& AddDnsEntries(DnsEntry&& value) { m_dnsEntriesHasBeenSet = true; m_dnsEntries.push_back(std::move(value)); return *this; } /** *The Amazon Resource Names (ARNs) of the network load balancers for the * service.
*/ inline const Aws::VectorThe Amazon Resource Names (ARNs) of the network load balancers for the * service.
*/ inline bool NetworkLoadBalancerArnsHasBeenSet() const { return m_networkLoadBalancerArnsHasBeenSet; } /** *The Amazon Resource Names (ARNs) of the network load balancers for the * service.
*/ inline void SetNetworkLoadBalancerArns(const Aws::VectorThe Amazon Resource Names (ARNs) of the network load balancers for the * service.
*/ inline void SetNetworkLoadBalancerArns(Aws::VectorThe Amazon Resource Names (ARNs) of the network load balancers for the * service.
*/ inline VpcEndpointConnection& WithNetworkLoadBalancerArns(const Aws::VectorThe Amazon Resource Names (ARNs) of the network load balancers for the * service.
*/ inline VpcEndpointConnection& WithNetworkLoadBalancerArns(Aws::VectorThe Amazon Resource Names (ARNs) of the network load balancers for the * service.
*/ inline VpcEndpointConnection& AddNetworkLoadBalancerArns(const Aws::String& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns.push_back(value); return *this; } /** *The Amazon Resource Names (ARNs) of the network load balancers for the * service.
*/ inline VpcEndpointConnection& AddNetworkLoadBalancerArns(Aws::String&& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns.push_back(std::move(value)); return *this; } /** *The Amazon Resource Names (ARNs) of the network load balancers for the * service.
*/ inline VpcEndpointConnection& AddNetworkLoadBalancerArns(const char* value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns.push_back(value); return *this; } /** *The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the * service.
*/ inline const Aws::VectorThe Amazon Resource Names (ARNs) of the Gateway Load Balancers for the * service.
*/ inline bool GatewayLoadBalancerArnsHasBeenSet() const { return m_gatewayLoadBalancerArnsHasBeenSet; } /** *The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the * service.
*/ inline void SetGatewayLoadBalancerArns(const Aws::VectorThe Amazon Resource Names (ARNs) of the Gateway Load Balancers for the * service.
*/ inline void SetGatewayLoadBalancerArns(Aws::VectorThe Amazon Resource Names (ARNs) of the Gateway Load Balancers for the * service.
*/ inline VpcEndpointConnection& WithGatewayLoadBalancerArns(const Aws::VectorThe Amazon Resource Names (ARNs) of the Gateway Load Balancers for the * service.
*/ inline VpcEndpointConnection& WithGatewayLoadBalancerArns(Aws::VectorThe Amazon Resource Names (ARNs) of the Gateway Load Balancers for the * service.
*/ inline VpcEndpointConnection& AddGatewayLoadBalancerArns(const Aws::String& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns.push_back(value); return *this; } /** *The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the * service.
*/ inline VpcEndpointConnection& AddGatewayLoadBalancerArns(Aws::String&& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns.push_back(std::move(value)); return *this; } /** *The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the * service.
*/ inline VpcEndpointConnection& AddGatewayLoadBalancerArns(const char* value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns.push_back(value); return *this; } /** *The IP address type for the endpoint.
*/ inline const IpAddressType& GetIpAddressType() const{ return m_ipAddressType; } /** *The IP address type for the endpoint.
*/ inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; } /** *The IP address type for the endpoint.
*/ inline void SetIpAddressType(const IpAddressType& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; } /** *The IP address type for the endpoint.
*/ inline void SetIpAddressType(IpAddressType&& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = std::move(value); } /** *The IP address type for the endpoint.
*/ inline VpcEndpointConnection& WithIpAddressType(const IpAddressType& value) { SetIpAddressType(value); return *this;} /** *The IP address type for the endpoint.
*/ inline VpcEndpointConnection& WithIpAddressType(IpAddressType&& value) { SetIpAddressType(std::move(value)); return *this;} /** *The ID of the VPC endpoint connection.
*/ inline const Aws::String& GetVpcEndpointConnectionId() const{ return m_vpcEndpointConnectionId; } /** *The ID of the VPC endpoint connection.
*/ inline bool VpcEndpointConnectionIdHasBeenSet() const { return m_vpcEndpointConnectionIdHasBeenSet; } /** *The ID of the VPC endpoint connection.
*/ inline void SetVpcEndpointConnectionId(const Aws::String& value) { m_vpcEndpointConnectionIdHasBeenSet = true; m_vpcEndpointConnectionId = value; } /** *The ID of the VPC endpoint connection.
*/ inline void SetVpcEndpointConnectionId(Aws::String&& value) { m_vpcEndpointConnectionIdHasBeenSet = true; m_vpcEndpointConnectionId = std::move(value); } /** *The ID of the VPC endpoint connection.
*/ inline void SetVpcEndpointConnectionId(const char* value) { m_vpcEndpointConnectionIdHasBeenSet = true; m_vpcEndpointConnectionId.assign(value); } /** *The ID of the VPC endpoint connection.
*/ inline VpcEndpointConnection& WithVpcEndpointConnectionId(const Aws::String& value) { SetVpcEndpointConnectionId(value); return *this;} /** *The ID of the VPC endpoint connection.
*/ inline VpcEndpointConnection& WithVpcEndpointConnectionId(Aws::String&& value) { SetVpcEndpointConnectionId(std::move(value)); return *this;} /** *The ID of the VPC endpoint connection.
*/ inline VpcEndpointConnection& WithVpcEndpointConnectionId(const char* value) { SetVpcEndpointConnectionId(value); return *this;} /** *The tags.
*/ inline const Aws::VectorThe tags.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags.
*/ inline void SetTags(const Aws::VectorThe tags.
*/ inline void SetTags(Aws::VectorThe tags.
*/ inline VpcEndpointConnection& WithTags(const Aws::VectorThe tags.
*/ inline VpcEndpointConnection& WithTags(Aws::VectorThe tags.
*/ inline VpcEndpointConnection& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The tags.
*/ inline VpcEndpointConnection& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_serviceId; bool m_serviceIdHasBeenSet = false; Aws::String m_vpcEndpointId; bool m_vpcEndpointIdHasBeenSet = false; Aws::String m_vpcEndpointOwner; bool m_vpcEndpointOwnerHasBeenSet = false; State m_vpcEndpointState; bool m_vpcEndpointStateHasBeenSet = false; Aws::Utils::DateTime m_creationTimestamp; bool m_creationTimestampHasBeenSet = false; Aws::Vector