/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a listener. The listener contains the path used to route
* traffic that is received from the load balancer to a target group.
* See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of one listener. The listener identifies the * route between a target group and a load balancer. This is an array of strings * with a maximum size of one.
*/ inline const Aws::VectorThe Amazon Resource Name (ARN) of one listener. The listener identifies the * route between a target group and a load balancer. This is an array of strings * with a maximum size of one.
*/ inline bool ListenerArnsHasBeenSet() const { return m_listenerArnsHasBeenSet; } /** *The Amazon Resource Name (ARN) of one listener. The listener identifies the * route between a target group and a load balancer. This is an array of strings * with a maximum size of one.
*/ inline void SetListenerArns(const Aws::VectorThe Amazon Resource Name (ARN) of one listener. The listener identifies the * route between a target group and a load balancer. This is an array of strings * with a maximum size of one.
*/ inline void SetListenerArns(Aws::VectorThe Amazon Resource Name (ARN) of one listener. The listener identifies the * route between a target group and a load balancer. This is an array of strings * with a maximum size of one.
*/ inline TrafficRoute& WithListenerArns(const Aws::VectorThe Amazon Resource Name (ARN) of one listener. The listener identifies the * route between a target group and a load balancer. This is an array of strings * with a maximum size of one.
*/ inline TrafficRoute& WithListenerArns(Aws::VectorThe Amazon Resource Name (ARN) of one listener. The listener identifies the * route between a target group and a load balancer. This is an array of strings * with a maximum size of one.
*/ inline TrafficRoute& AddListenerArns(const Aws::String& value) { m_listenerArnsHasBeenSet = true; m_listenerArns.push_back(value); return *this; } /** *The Amazon Resource Name (ARN) of one listener. The listener identifies the * route between a target group and a load balancer. This is an array of strings * with a maximum size of one.
*/ inline TrafficRoute& AddListenerArns(Aws::String&& value) { m_listenerArnsHasBeenSet = true; m_listenerArns.push_back(std::move(value)); return *this; } /** *The Amazon Resource Name (ARN) of one listener. The listener identifies the * route between a target group and a load balancer. This is an array of strings * with a maximum size of one.
*/ inline TrafficRoute& AddListenerArns(const char* value) { m_listenerArnsHasBeenSet = true; m_listenerArns.push_back(value); return *this; } private: Aws::Vector