/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a service configuration for a VPC endpoint service.See
* Also:
AWS
* API Reference
The type of service.
*/ inline const Aws::VectorThe type of service.
*/ inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; } /** *The type of service.
*/ inline void SetServiceType(const Aws::VectorThe type of service.
*/ inline void SetServiceType(Aws::VectorThe type of service.
*/ inline ServiceConfiguration& WithServiceType(const Aws::VectorThe type of service.
*/ inline ServiceConfiguration& WithServiceType(Aws::VectorThe type of service.
*/ inline ServiceConfiguration& AddServiceType(const ServiceTypeDetail& value) { m_serviceTypeHasBeenSet = true; m_serviceType.push_back(value); return *this; } /** *The type of service.
*/ inline ServiceConfiguration& AddServiceType(ServiceTypeDetail&& value) { m_serviceTypeHasBeenSet = true; m_serviceType.push_back(std::move(value)); return *this; } /** *The ID of the service.
*/ inline const Aws::String& GetServiceId() const{ return m_serviceId; } /** *The ID of the service.
*/ inline bool ServiceIdHasBeenSet() const { return m_serviceIdHasBeenSet; } /** *The ID of the service.
*/ inline void SetServiceId(const Aws::String& value) { m_serviceIdHasBeenSet = true; m_serviceId = value; } /** *The ID of the service.
*/ inline void SetServiceId(Aws::String&& value) { m_serviceIdHasBeenSet = true; m_serviceId = std::move(value); } /** *The ID of the service.
*/ inline void SetServiceId(const char* value) { m_serviceIdHasBeenSet = true; m_serviceId.assign(value); } /** *The ID of the service.
*/ inline ServiceConfiguration& WithServiceId(const Aws::String& value) { SetServiceId(value); return *this;} /** *The ID of the service.
*/ inline ServiceConfiguration& WithServiceId(Aws::String&& value) { SetServiceId(std::move(value)); return *this;} /** *The ID of the service.
*/ inline ServiceConfiguration& 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 ServiceConfiguration& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *The name of the service.
*/ inline ServiceConfiguration& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *The name of the service.
*/ inline ServiceConfiguration& WithServiceName(const char* value) { SetServiceName(value); return *this;} /** *The service state.
*/ inline const ServiceState& GetServiceState() const{ return m_serviceState; } /** *The service state.
*/ inline bool ServiceStateHasBeenSet() const { return m_serviceStateHasBeenSet; } /** *The service state.
*/ inline void SetServiceState(const ServiceState& value) { m_serviceStateHasBeenSet = true; m_serviceState = value; } /** *The service state.
*/ inline void SetServiceState(ServiceState&& value) { m_serviceStateHasBeenSet = true; m_serviceState = std::move(value); } /** *The service state.
*/ inline ServiceConfiguration& WithServiceState(const ServiceState& value) { SetServiceState(value); return *this;} /** *The service state.
*/ inline ServiceConfiguration& WithServiceState(ServiceState&& value) { SetServiceState(std::move(value)); return *this;} /** *The Availability Zones in which the service is available.
*/ inline const Aws::VectorThe Availability Zones in which the service is available.
*/ inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; } /** *The Availability Zones in which the service is available.
*/ inline void SetAvailabilityZones(const Aws::VectorThe Availability Zones in which the service is available.
*/ inline void SetAvailabilityZones(Aws::VectorThe Availability Zones in which the service is available.
*/ inline ServiceConfiguration& WithAvailabilityZones(const Aws::VectorThe Availability Zones in which the service is available.
*/ inline ServiceConfiguration& WithAvailabilityZones(Aws::VectorThe Availability Zones in which the service is available.
*/ inline ServiceConfiguration& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *The Availability Zones in which the service is available.
*/ inline ServiceConfiguration& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; } /** *The Availability Zones in which the service is available.
*/ inline ServiceConfiguration& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *Indicates 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; } /** *Indicates 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; } /** *Indicates 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; } /** *Indicates whether requests from other Amazon Web Services accounts to create * an endpoint to the service must first be accepted.
*/ inline ServiceConfiguration& WithAcceptanceRequired(bool value) { SetAcceptanceRequired(value); return *this;} /** *Indicates whether the service manages its VPC endpoints. Management of the * service VPC endpoints using the VPC endpoint API is restricted.
*/ inline bool GetManagesVpcEndpoints() const{ return m_managesVpcEndpoints; } /** *Indicates whether the service manages its VPC endpoints. Management of the * service VPC endpoints using the VPC endpoint API is restricted.
*/ inline bool ManagesVpcEndpointsHasBeenSet() const { return m_managesVpcEndpointsHasBeenSet; } /** *Indicates whether the service manages its VPC endpoints. Management of the * service VPC endpoints using the VPC endpoint API is restricted.
*/ inline void SetManagesVpcEndpoints(bool value) { m_managesVpcEndpointsHasBeenSet = true; m_managesVpcEndpoints = value; } /** *Indicates whether the service manages its VPC endpoints. Management of the * service VPC endpoints using the VPC endpoint API is restricted.
*/ inline ServiceConfiguration& WithManagesVpcEndpoints(bool value) { SetManagesVpcEndpoints(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 ServiceConfiguration& WithNetworkLoadBalancerArns(const Aws::VectorThe Amazon Resource Names (ARNs) of the Network Load Balancers for the * service.
*/ inline ServiceConfiguration& WithNetworkLoadBalancerArns(Aws::VectorThe Amazon Resource Names (ARNs) of the Network Load Balancers for the * service.
*/ inline ServiceConfiguration& 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 ServiceConfiguration& 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 ServiceConfiguration& 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 ServiceConfiguration& WithGatewayLoadBalancerArns(const Aws::VectorThe Amazon Resource Names (ARNs) of the Gateway Load Balancers for the * service.
*/ inline ServiceConfiguration& WithGatewayLoadBalancerArns(Aws::VectorThe Amazon Resource Names (ARNs) of the Gateway Load Balancers for the * service.
*/ inline ServiceConfiguration& 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 ServiceConfiguration& 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 ServiceConfiguration& AddGatewayLoadBalancerArns(const char* value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns.push_back(value); return *this; } /** *The supported IP address types.
*/ inline const Aws::VectorThe supported IP address types.
*/ inline bool SupportedIpAddressTypesHasBeenSet() const { return m_supportedIpAddressTypesHasBeenSet; } /** *The supported IP address types.
*/ inline void SetSupportedIpAddressTypes(const Aws::VectorThe supported IP address types.
*/ inline void SetSupportedIpAddressTypes(Aws::VectorThe supported IP address types.
*/ inline ServiceConfiguration& WithSupportedIpAddressTypes(const Aws::VectorThe supported IP address types.
*/ inline ServiceConfiguration& WithSupportedIpAddressTypes(Aws::VectorThe supported IP address types.
*/ inline ServiceConfiguration& AddSupportedIpAddressTypes(const ServiceConnectivityType& value) { m_supportedIpAddressTypesHasBeenSet = true; m_supportedIpAddressTypes.push_back(value); return *this; } /** *The supported IP address types.
*/ inline ServiceConfiguration& AddSupportedIpAddressTypes(ServiceConnectivityType&& value) { m_supportedIpAddressTypesHasBeenSet = true; m_supportedIpAddressTypes.push_back(std::move(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 ServiceConfiguration& WithBaseEndpointDnsNames(const Aws::VectorThe DNS names for the service.
*/ inline ServiceConfiguration& WithBaseEndpointDnsNames(Aws::VectorThe DNS names for the service.
*/ inline ServiceConfiguration& AddBaseEndpointDnsNames(const Aws::String& value) { m_baseEndpointDnsNamesHasBeenSet = true; m_baseEndpointDnsNames.push_back(value); return *this; } /** *The DNS names for the service.
*/ inline ServiceConfiguration& AddBaseEndpointDnsNames(Aws::String&& value) { m_baseEndpointDnsNamesHasBeenSet = true; m_baseEndpointDnsNames.push_back(std::move(value)); return *this; } /** *The DNS names for the service.
*/ inline ServiceConfiguration& AddBaseEndpointDnsNames(const char* value) { m_baseEndpointDnsNamesHasBeenSet = true; m_baseEndpointDnsNames.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 ServiceConfiguration& WithPrivateDnsName(const Aws::String& value) { SetPrivateDnsName(value); return *this;} /** *The private DNS name for the service.
*/ inline ServiceConfiguration& WithPrivateDnsName(Aws::String&& value) { SetPrivateDnsName(std::move(value)); return *this;} /** *The private DNS name for the service.
*/ inline ServiceConfiguration& WithPrivateDnsName(const char* value) { SetPrivateDnsName(value); return *this;} /** *Information about the endpoint service private DNS name configuration.
*/ inline const PrivateDnsNameConfiguration& GetPrivateDnsNameConfiguration() const{ return m_privateDnsNameConfiguration; } /** *Information about the endpoint service private DNS name configuration.
*/ inline bool PrivateDnsNameConfigurationHasBeenSet() const { return m_privateDnsNameConfigurationHasBeenSet; } /** *Information about the endpoint service private DNS name configuration.
*/ inline void SetPrivateDnsNameConfiguration(const PrivateDnsNameConfiguration& value) { m_privateDnsNameConfigurationHasBeenSet = true; m_privateDnsNameConfiguration = value; } /** *Information about the endpoint service private DNS name configuration.
*/ inline void SetPrivateDnsNameConfiguration(PrivateDnsNameConfiguration&& value) { m_privateDnsNameConfigurationHasBeenSet = true; m_privateDnsNameConfiguration = std::move(value); } /** *Information about the endpoint service private DNS name configuration.
*/ inline ServiceConfiguration& WithPrivateDnsNameConfiguration(const PrivateDnsNameConfiguration& value) { SetPrivateDnsNameConfiguration(value); return *this;} /** *Information about the endpoint service private DNS name configuration.
*/ inline ServiceConfiguration& WithPrivateDnsNameConfiguration(PrivateDnsNameConfiguration&& value) { SetPrivateDnsNameConfiguration(std::move(value)); return *this;} /** *The payer responsibility.
*/ inline const PayerResponsibility& GetPayerResponsibility() const{ return m_payerResponsibility; } /** *The payer responsibility.
*/ inline bool PayerResponsibilityHasBeenSet() const { return m_payerResponsibilityHasBeenSet; } /** *The payer responsibility.
*/ inline void SetPayerResponsibility(const PayerResponsibility& value) { m_payerResponsibilityHasBeenSet = true; m_payerResponsibility = value; } /** *The payer responsibility.
*/ inline void SetPayerResponsibility(PayerResponsibility&& value) { m_payerResponsibilityHasBeenSet = true; m_payerResponsibility = std::move(value); } /** *The payer responsibility.
*/ inline ServiceConfiguration& WithPayerResponsibility(const PayerResponsibility& value) { SetPayerResponsibility(value); return *this;} /** *The payer responsibility.
*/ inline ServiceConfiguration& WithPayerResponsibility(PayerResponsibility&& value) { SetPayerResponsibility(std::move(value)); return *this;} /** *The tags assigned to the service.
*/ inline const Aws::VectorThe tags assigned to the service.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags assigned to the service.
*/ inline void SetTags(const Aws::VectorThe tags assigned to the service.
*/ inline void SetTags(Aws::VectorThe tags assigned to the service.
*/ inline ServiceConfiguration& WithTags(const Aws::VectorThe tags assigned to the service.
*/ inline ServiceConfiguration& WithTags(Aws::VectorThe tags assigned to the service.
*/ inline ServiceConfiguration& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The tags assigned to the service.
*/ inline ServiceConfiguration& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::Vector