/**
* 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 AWS account ID of the owner of the VPC endpoint.
*/ inline const Aws::String& GetVpcEndpointOwner() const{ return m_vpcEndpointOwner; } /** *The AWS account ID of the owner of the VPC endpoint.
*/ inline bool VpcEndpointOwnerHasBeenSet() const { return m_vpcEndpointOwnerHasBeenSet; } /** *The AWS account ID of the owner of the VPC endpoint.
*/ inline void SetVpcEndpointOwner(const Aws::String& value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner = value; } /** *The AWS account ID of the owner of the VPC endpoint.
*/ inline void SetVpcEndpointOwner(Aws::String&& value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner = std::move(value); } /** *The AWS account ID of the owner of the VPC endpoint.
*/ inline void SetVpcEndpointOwner(const char* value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner.assign(value); } /** *The AWS account ID of the owner of the VPC endpoint.
*/ inline VpcEndpointConnection& WithVpcEndpointOwner(const Aws::String& value) { SetVpcEndpointOwner(value); return *this;} /** *The AWS account ID of the owner of the VPC endpoint.
*/ inline VpcEndpointConnection& WithVpcEndpointOwner(Aws::String&& value) { SetVpcEndpointOwner(std::move(value)); return *this;} /** *The AWS account ID of the owner of 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; } private: Aws::String m_serviceId; bool m_serviceIdHasBeenSet; Aws::String m_vpcEndpointId; bool m_vpcEndpointIdHasBeenSet; Aws::String m_vpcEndpointOwner; bool m_vpcEndpointOwnerHasBeenSet; State m_vpcEndpointState; bool m_vpcEndpointStateHasBeenSet; Aws::Utils::DateTime m_creationTimestamp; bool m_creationTimestampHasBeenSet; Aws::Vector