/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a load balancer when creating an Amazon Web Services Verified
* Access endpoint using the load-balancer
type.See
* Also:
AWS
* API Reference
The IP protocol.
*/ inline const VerifiedAccessEndpointProtocol& GetProtocol() const{ return m_protocol; } /** *The IP protocol.
*/ inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; } /** *The IP protocol.
*/ inline void SetProtocol(const VerifiedAccessEndpointProtocol& value) { m_protocolHasBeenSet = true; m_protocol = value; } /** *The IP protocol.
*/ inline void SetProtocol(VerifiedAccessEndpointProtocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); } /** *The IP protocol.
*/ inline VerifiedAccessEndpointLoadBalancerOptions& WithProtocol(const VerifiedAccessEndpointProtocol& value) { SetProtocol(value); return *this;} /** *The IP protocol.
*/ inline VerifiedAccessEndpointLoadBalancerOptions& WithProtocol(VerifiedAccessEndpointProtocol&& value) { SetProtocol(std::move(value)); return *this;} /** *The IP port number.
*/ inline int GetPort() const{ return m_port; } /** *The IP port number.
*/ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** *The IP port number.
*/ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** *The IP port number.
*/ inline VerifiedAccessEndpointLoadBalancerOptions& WithPort(int value) { SetPort(value); return *this;} /** *The ARN of the load balancer.
*/ inline const Aws::String& GetLoadBalancerArn() const{ return m_loadBalancerArn; } /** *The ARN of the load balancer.
*/ inline bool LoadBalancerArnHasBeenSet() const { return m_loadBalancerArnHasBeenSet; } /** *The ARN of the load balancer.
*/ inline void SetLoadBalancerArn(const Aws::String& value) { m_loadBalancerArnHasBeenSet = true; m_loadBalancerArn = value; } /** *The ARN of the load balancer.
*/ inline void SetLoadBalancerArn(Aws::String&& value) { m_loadBalancerArnHasBeenSet = true; m_loadBalancerArn = std::move(value); } /** *The ARN of the load balancer.
*/ inline void SetLoadBalancerArn(const char* value) { m_loadBalancerArnHasBeenSet = true; m_loadBalancerArn.assign(value); } /** *The ARN of the load balancer.
*/ inline VerifiedAccessEndpointLoadBalancerOptions& WithLoadBalancerArn(const Aws::String& value) { SetLoadBalancerArn(value); return *this;} /** *The ARN of the load balancer.
*/ inline VerifiedAccessEndpointLoadBalancerOptions& WithLoadBalancerArn(Aws::String&& value) { SetLoadBalancerArn(std::move(value)); return *this;} /** *The ARN of the load balancer.
*/ inline VerifiedAccessEndpointLoadBalancerOptions& WithLoadBalancerArn(const char* value) { SetLoadBalancerArn(value); return *this;} /** *The IDs of the subnets.
*/ inline const Aws::VectorThe IDs of the subnets.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *The IDs of the subnets.
*/ inline void SetSubnetIds(const Aws::VectorThe IDs of the subnets.
*/ inline void SetSubnetIds(Aws::VectorThe IDs of the subnets.
*/ inline VerifiedAccessEndpointLoadBalancerOptions& WithSubnetIds(const Aws::VectorThe IDs of the subnets.
*/ inline VerifiedAccessEndpointLoadBalancerOptions& WithSubnetIds(Aws::VectorThe IDs of the subnets.
*/ inline VerifiedAccessEndpointLoadBalancerOptions& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The IDs of the subnets.
*/ inline VerifiedAccessEndpointLoadBalancerOptions& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *The IDs of the subnets.
*/ inline VerifiedAccessEndpointLoadBalancerOptions& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } private: VerifiedAccessEndpointProtocol m_protocol; bool m_protocolHasBeenSet = false; int m_port; bool m_portHasBeenSet = false; Aws::String m_loadBalancerArn; bool m_loadBalancerArnHasBeenSet = false; Aws::Vector