/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains details about the service configuration for a VPC endpoint
* service.See Also:
AWS
* API Reference
Whether requests from other Amazon Web Services accounts to create an * endpoint to the service must first be accepted.
*/ inline bool GetAcceptanceRequired() const{ return m_acceptanceRequired; } /** *Whether requests from other Amazon Web Services accounts to create an * endpoint to the service must first be accepted.
*/ inline bool AcceptanceRequiredHasBeenSet() const { return m_acceptanceRequiredHasBeenSet; } /** *Whether requests from other Amazon Web Services accounts to create an * endpoint to the service must first be accepted.
*/ inline void SetAcceptanceRequired(bool value) { m_acceptanceRequiredHasBeenSet = true; m_acceptanceRequired = value; } /** *Whether requests from other Amazon Web Services accounts to create an * endpoint to the service must first be accepted.
*/ inline AwsEc2VpcEndpointServiceDetails& WithAcceptanceRequired(bool value) { SetAcceptanceRequired(value); return *this;} /** *The Availability Zones where the service is available.
*/ inline const Aws::VectorThe Availability Zones where the service is available.
*/ inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; } /** *The Availability Zones where the service is available.
*/ inline void SetAvailabilityZones(const Aws::VectorThe Availability Zones where the service is available.
*/ inline void SetAvailabilityZones(Aws::VectorThe Availability Zones where the service is available.
*/ inline AwsEc2VpcEndpointServiceDetails& WithAvailabilityZones(const Aws::VectorThe Availability Zones where the service is available.
*/ inline AwsEc2VpcEndpointServiceDetails& WithAvailabilityZones(Aws::VectorThe Availability Zones where the service is available.
*/ inline AwsEc2VpcEndpointServiceDetails& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *The Availability Zones where the service is available.
*/ inline AwsEc2VpcEndpointServiceDetails& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; } /** *The Availability Zones where the service is available.
*/ inline AwsEc2VpcEndpointServiceDetails& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *The DNS names for the service.
*/ inline const Aws::VectorThe DNS names for the service.
*/ inline bool BaseEndpointDnsNamesHasBeenSet() const { return m_baseEndpointDnsNamesHasBeenSet; } /** *The DNS names for the service.
*/ inline void SetBaseEndpointDnsNames(const Aws::VectorThe DNS names for the service.
*/ inline void SetBaseEndpointDnsNames(Aws::VectorThe DNS names for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& WithBaseEndpointDnsNames(const Aws::VectorThe DNS names for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& WithBaseEndpointDnsNames(Aws::VectorThe DNS names for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& AddBaseEndpointDnsNames(const Aws::String& value) { m_baseEndpointDnsNamesHasBeenSet = true; m_baseEndpointDnsNames.push_back(value); return *this; } /** *The DNS names for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& AddBaseEndpointDnsNames(Aws::String&& value) { m_baseEndpointDnsNamesHasBeenSet = true; m_baseEndpointDnsNames.push_back(std::move(value)); return *this; } /** *The DNS names for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& AddBaseEndpointDnsNames(const char* value) { m_baseEndpointDnsNamesHasBeenSet = true; m_baseEndpointDnsNames.push_back(value); return *this; } /** *Whether the service manages its VPC endpoints.
*/ inline bool GetManagesVpcEndpoints() const{ return m_managesVpcEndpoints; } /** *Whether the service manages its VPC endpoints.
*/ inline bool ManagesVpcEndpointsHasBeenSet() const { return m_managesVpcEndpointsHasBeenSet; } /** *Whether the service manages its VPC endpoints.
*/ inline void SetManagesVpcEndpoints(bool value) { m_managesVpcEndpointsHasBeenSet = true; m_managesVpcEndpoints = value; } /** *Whether the service manages its VPC endpoints.
*/ inline AwsEc2VpcEndpointServiceDetails& WithManagesVpcEndpoints(bool value) { SetManagesVpcEndpoints(value); return *this;} /** *The ARNs of the Gateway Load Balancers for the service.
*/ inline const Aws::VectorThe ARNs of the Gateway Load Balancers for the service.
*/ inline bool GatewayLoadBalancerArnsHasBeenSet() const { return m_gatewayLoadBalancerArnsHasBeenSet; } /** *The ARNs of the Gateway Load Balancers for the service.
*/ inline void SetGatewayLoadBalancerArns(const Aws::VectorThe ARNs of the Gateway Load Balancers for the service.
*/ inline void SetGatewayLoadBalancerArns(Aws::VectorThe ARNs of the Gateway Load Balancers for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& WithGatewayLoadBalancerArns(const Aws::VectorThe ARNs of the Gateway Load Balancers for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& WithGatewayLoadBalancerArns(Aws::VectorThe ARNs of the Gateway Load Balancers for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& AddGatewayLoadBalancerArns(const Aws::String& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns.push_back(value); return *this; } /** *The ARNs of the Gateway Load Balancers for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& AddGatewayLoadBalancerArns(Aws::String&& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns.push_back(std::move(value)); return *this; } /** *The ARNs of the Gateway Load Balancers for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& AddGatewayLoadBalancerArns(const char* value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns.push_back(value); return *this; } /** *The ARNs of the Network Load Balancers for the service.
*/ inline const Aws::VectorThe ARNs of the Network Load Balancers for the service.
*/ inline bool NetworkLoadBalancerArnsHasBeenSet() const { return m_networkLoadBalancerArnsHasBeenSet; } /** *The ARNs of the Network Load Balancers for the service.
*/ inline void SetNetworkLoadBalancerArns(const Aws::VectorThe ARNs of the Network Load Balancers for the service.
*/ inline void SetNetworkLoadBalancerArns(Aws::VectorThe ARNs of the Network Load Balancers for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& WithNetworkLoadBalancerArns(const Aws::VectorThe ARNs of the Network Load Balancers for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& WithNetworkLoadBalancerArns(Aws::VectorThe ARNs of the Network Load Balancers for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& AddNetworkLoadBalancerArns(const Aws::String& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns.push_back(value); return *this; } /** *The ARNs of the Network Load Balancers for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& AddNetworkLoadBalancerArns(Aws::String&& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns.push_back(std::move(value)); return *this; } /** *The ARNs of the Network Load Balancers for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& AddNetworkLoadBalancerArns(const char* value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns.push_back(value); return *this; } /** *The private DNS name for the service.
*/ inline const Aws::String& GetPrivateDnsName() const{ return m_privateDnsName; } /** *The private DNS name for the service.
*/ inline bool PrivateDnsNameHasBeenSet() const { return m_privateDnsNameHasBeenSet; } /** *The private DNS name for the service.
*/ inline void SetPrivateDnsName(const Aws::String& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = value; } /** *The private DNS name for the service.
*/ inline void SetPrivateDnsName(Aws::String&& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = std::move(value); } /** *The private DNS name for the service.
*/ inline void SetPrivateDnsName(const char* value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName.assign(value); } /** *The private DNS name for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& WithPrivateDnsName(const Aws::String& value) { SetPrivateDnsName(value); return *this;} /** *The private DNS name for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& WithPrivateDnsName(Aws::String&& value) { SetPrivateDnsName(std::move(value)); return *this;} /** *The private DNS name for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& WithPrivateDnsName(const char* value) { SetPrivateDnsName(value); return *this;} /** *The identifier of the service.
*/ inline const Aws::String& GetServiceId() const{ return m_serviceId; } /** *The identifier of the service.
*/ inline bool ServiceIdHasBeenSet() const { return m_serviceIdHasBeenSet; } /** *The identifier of the service.
*/ inline void SetServiceId(const Aws::String& value) { m_serviceIdHasBeenSet = true; m_serviceId = value; } /** *The identifier of the service.
*/ inline void SetServiceId(Aws::String&& value) { m_serviceIdHasBeenSet = true; m_serviceId = std::move(value); } /** *The identifier of the service.
*/ inline void SetServiceId(const char* value) { m_serviceIdHasBeenSet = true; m_serviceId.assign(value); } /** *The identifier of the service.
*/ inline AwsEc2VpcEndpointServiceDetails& WithServiceId(const Aws::String& value) { SetServiceId(value); return *this;} /** *The identifier of the service.
*/ inline AwsEc2VpcEndpointServiceDetails& WithServiceId(Aws::String&& value) { SetServiceId(std::move(value)); return *this;} /** *The identifier of the service.
*/ inline AwsEc2VpcEndpointServiceDetails& WithServiceId(const char* value) { SetServiceId(value); return *this;} /** *The name of the service.
*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *The name of the service.
*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *The name of the service.
*/ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *The name of the service.
*/ inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *The name of the service.
*/ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** *The name of the service.
*/ inline AwsEc2VpcEndpointServiceDetails& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *The name of the service.
*/ inline AwsEc2VpcEndpointServiceDetails& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *The name of the service.
*/ inline AwsEc2VpcEndpointServiceDetails& WithServiceName(const char* value) { SetServiceName(value); return *this;} /** *The current state of the service. Valid values are as follows:
Available
Deleted
Deleting
Failed
Pending
The current state of the service. Valid values are as follows:
Available
Deleted
Deleting
Failed
Pending
The current state of the service. Valid values are as follows:
Available
Deleted
Deleting
Failed
Pending
The current state of the service. Valid values are as follows:
Available
Deleted
Deleting
Failed
Pending
The current state of the service. Valid values are as follows:
Available
Deleted
Deleting
Failed
Pending
The current state of the service. Valid values are as follows:
Available
Deleted
Deleting
Failed
Pending
The current state of the service. Valid values are as follows:
Available
Deleted
Deleting
Failed
Pending
The current state of the service. Valid values are as follows:
Available
Deleted
Deleting
Failed
Pending
The types for the service.
*/ inline const Aws::VectorThe types for the service.
*/ inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; } /** *The types for the service.
*/ inline void SetServiceType(const Aws::VectorThe types for the service.
*/ inline void SetServiceType(Aws::VectorThe types for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& WithServiceType(const Aws::VectorThe types for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& WithServiceType(Aws::VectorThe types for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& AddServiceType(const AwsEc2VpcEndpointServiceServiceTypeDetails& value) { m_serviceTypeHasBeenSet = true; m_serviceType.push_back(value); return *this; } /** *The types for the service.
*/ inline AwsEc2VpcEndpointServiceDetails& AddServiceType(AwsEc2VpcEndpointServiceServiceTypeDetails&& value) { m_serviceTypeHasBeenSet = true; m_serviceType.push_back(std::move(value)); return *this; } private: bool m_acceptanceRequired; bool m_acceptanceRequiredHasBeenSet = false; Aws::Vector