/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the specification of a virtual
* router.See Also:
AWS
* API Reference
The listeners that the virtual router is expected to receive inbound traffic * from. You can specify one listener.
*/ inline const Aws::VectorThe listeners that the virtual router is expected to receive inbound traffic * from. You can specify one listener.
*/ inline bool ListenersHasBeenSet() const { return m_listenersHasBeenSet; } /** *The listeners that the virtual router is expected to receive inbound traffic * from. You can specify one listener.
*/ inline void SetListeners(const Aws::VectorThe listeners that the virtual router is expected to receive inbound traffic * from. You can specify one listener.
*/ inline void SetListeners(Aws::VectorThe listeners that the virtual router is expected to receive inbound traffic * from. You can specify one listener.
*/ inline VirtualRouterSpec& WithListeners(const Aws::VectorThe listeners that the virtual router is expected to receive inbound traffic * from. You can specify one listener.
*/ inline VirtualRouterSpec& WithListeners(Aws::VectorThe listeners that the virtual router is expected to receive inbound traffic * from. You can specify one listener.
*/ inline VirtualRouterSpec& AddListeners(const VirtualRouterListener& value) { m_listenersHasBeenSet = true; m_listeners.push_back(value); return *this; } /** *The listeners that the virtual router is expected to receive inbound traffic * from. You can specify one listener.
*/ inline VirtualRouterSpec& AddListeners(VirtualRouterListener&& value) { m_listenersHasBeenSet = true; m_listeners.push_back(std::move(value)); return *this; } private: Aws::Vector