/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex type for the endpoint group for a custom routing accelerator. An
* Amazon Web Services Region can have only one endpoint group for a specific
* listener. See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the endpoint group.
*/ inline const Aws::String& GetEndpointGroupArn() const{ return m_endpointGroupArn; } /** *The Amazon Resource Name (ARN) of the endpoint group.
*/ inline bool EndpointGroupArnHasBeenSet() const { return m_endpointGroupArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the endpoint group.
*/ inline void SetEndpointGroupArn(const Aws::String& value) { m_endpointGroupArnHasBeenSet = true; m_endpointGroupArn = value; } /** *The Amazon Resource Name (ARN) of the endpoint group.
*/ inline void SetEndpointGroupArn(Aws::String&& value) { m_endpointGroupArnHasBeenSet = true; m_endpointGroupArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the endpoint group.
*/ inline void SetEndpointGroupArn(const char* value) { m_endpointGroupArnHasBeenSet = true; m_endpointGroupArn.assign(value); } /** *The Amazon Resource Name (ARN) of the endpoint group.
*/ inline CustomRoutingEndpointGroup& WithEndpointGroupArn(const Aws::String& value) { SetEndpointGroupArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the endpoint group.
*/ inline CustomRoutingEndpointGroup& WithEndpointGroupArn(Aws::String&& value) { SetEndpointGroupArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the endpoint group.
*/ inline CustomRoutingEndpointGroup& WithEndpointGroupArn(const char* value) { SetEndpointGroupArn(value); return *this;} /** *The Amazon Web Services Region where the endpoint group is located.
*/ inline const Aws::String& GetEndpointGroupRegion() const{ return m_endpointGroupRegion; } /** *The Amazon Web Services Region where the endpoint group is located.
*/ inline bool EndpointGroupRegionHasBeenSet() const { return m_endpointGroupRegionHasBeenSet; } /** *The Amazon Web Services Region where the endpoint group is located.
*/ inline void SetEndpointGroupRegion(const Aws::String& value) { m_endpointGroupRegionHasBeenSet = true; m_endpointGroupRegion = value; } /** *The Amazon Web Services Region where the endpoint group is located.
*/ inline void SetEndpointGroupRegion(Aws::String&& value) { m_endpointGroupRegionHasBeenSet = true; m_endpointGroupRegion = std::move(value); } /** *The Amazon Web Services Region where the endpoint group is located.
*/ inline void SetEndpointGroupRegion(const char* value) { m_endpointGroupRegionHasBeenSet = true; m_endpointGroupRegion.assign(value); } /** *The Amazon Web Services Region where the endpoint group is located.
*/ inline CustomRoutingEndpointGroup& WithEndpointGroupRegion(const Aws::String& value) { SetEndpointGroupRegion(value); return *this;} /** *The Amazon Web Services Region where the endpoint group is located.
*/ inline CustomRoutingEndpointGroup& WithEndpointGroupRegion(Aws::String&& value) { SetEndpointGroupRegion(std::move(value)); return *this;} /** *The Amazon Web Services Region where the endpoint group is located.
*/ inline CustomRoutingEndpointGroup& WithEndpointGroupRegion(const char* value) { SetEndpointGroupRegion(value); return *this;} /** *For a custom routing accelerator, describes the port range and protocol for * all endpoints (virtual private cloud subnets) in an endpoint group to accept * client traffic on.
*/ inline const Aws::VectorFor a custom routing accelerator, describes the port range and protocol for * all endpoints (virtual private cloud subnets) in an endpoint group to accept * client traffic on.
*/ inline bool DestinationDescriptionsHasBeenSet() const { return m_destinationDescriptionsHasBeenSet; } /** *For a custom routing accelerator, describes the port range and protocol for * all endpoints (virtual private cloud subnets) in an endpoint group to accept * client traffic on.
*/ inline void SetDestinationDescriptions(const Aws::VectorFor a custom routing accelerator, describes the port range and protocol for * all endpoints (virtual private cloud subnets) in an endpoint group to accept * client traffic on.
*/ inline void SetDestinationDescriptions(Aws::VectorFor a custom routing accelerator, describes the port range and protocol for * all endpoints (virtual private cloud subnets) in an endpoint group to accept * client traffic on.
*/ inline CustomRoutingEndpointGroup& WithDestinationDescriptions(const Aws::VectorFor a custom routing accelerator, describes the port range and protocol for * all endpoints (virtual private cloud subnets) in an endpoint group to accept * client traffic on.
*/ inline CustomRoutingEndpointGroup& WithDestinationDescriptions(Aws::VectorFor a custom routing accelerator, describes the port range and protocol for * all endpoints (virtual private cloud subnets) in an endpoint group to accept * client traffic on.
*/ inline CustomRoutingEndpointGroup& AddDestinationDescriptions(const CustomRoutingDestinationDescription& value) { m_destinationDescriptionsHasBeenSet = true; m_destinationDescriptions.push_back(value); return *this; } /** *For a custom routing accelerator, describes the port range and protocol for * all endpoints (virtual private cloud subnets) in an endpoint group to accept * client traffic on.
*/ inline CustomRoutingEndpointGroup& AddDestinationDescriptions(CustomRoutingDestinationDescription&& value) { m_destinationDescriptionsHasBeenSet = true; m_destinationDescriptions.push_back(std::move(value)); return *this; } /** *For a custom routing accelerator, describes the endpoints (virtual private * cloud subnets) in an endpoint group to accept client traffic on.
*/ inline const Aws::VectorFor a custom routing accelerator, describes the endpoints (virtual private * cloud subnets) in an endpoint group to accept client traffic on.
*/ inline bool EndpointDescriptionsHasBeenSet() const { return m_endpointDescriptionsHasBeenSet; } /** *For a custom routing accelerator, describes the endpoints (virtual private * cloud subnets) in an endpoint group to accept client traffic on.
*/ inline void SetEndpointDescriptions(const Aws::VectorFor a custom routing accelerator, describes the endpoints (virtual private * cloud subnets) in an endpoint group to accept client traffic on.
*/ inline void SetEndpointDescriptions(Aws::VectorFor a custom routing accelerator, describes the endpoints (virtual private * cloud subnets) in an endpoint group to accept client traffic on.
*/ inline CustomRoutingEndpointGroup& WithEndpointDescriptions(const Aws::VectorFor a custom routing accelerator, describes the endpoints (virtual private * cloud subnets) in an endpoint group to accept client traffic on.
*/ inline CustomRoutingEndpointGroup& WithEndpointDescriptions(Aws::VectorFor a custom routing accelerator, describes the endpoints (virtual private * cloud subnets) in an endpoint group to accept client traffic on.
*/ inline CustomRoutingEndpointGroup& AddEndpointDescriptions(const CustomRoutingEndpointDescription& value) { m_endpointDescriptionsHasBeenSet = true; m_endpointDescriptions.push_back(value); return *this; } /** *For a custom routing accelerator, describes the endpoints (virtual private * cloud subnets) in an endpoint group to accept client traffic on.
*/ inline CustomRoutingEndpointGroup& AddEndpointDescriptions(CustomRoutingEndpointDescription&& value) { m_endpointDescriptionsHasBeenSet = true; m_endpointDescriptions.push_back(std::move(value)); return *this; } private: Aws::String m_endpointGroupArn; bool m_endpointGroupArnHasBeenSet = false; Aws::String m_endpointGroupRegion; bool m_endpointGroupRegionHasBeenSet = false; Aws::Vector