/**
* 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 node.See
* Also:
AWS
* API Reference
A reference to an object that represents the defaults for backends.
*/ inline const BackendDefaults& GetBackendDefaults() const{ return m_backendDefaults; } /** *A reference to an object that represents the defaults for backends.
*/ inline bool BackendDefaultsHasBeenSet() const { return m_backendDefaultsHasBeenSet; } /** *A reference to an object that represents the defaults for backends.
*/ inline void SetBackendDefaults(const BackendDefaults& value) { m_backendDefaultsHasBeenSet = true; m_backendDefaults = value; } /** *A reference to an object that represents the defaults for backends.
*/ inline void SetBackendDefaults(BackendDefaults&& value) { m_backendDefaultsHasBeenSet = true; m_backendDefaults = std::move(value); } /** *A reference to an object that represents the defaults for backends.
*/ inline VirtualNodeSpec& WithBackendDefaults(const BackendDefaults& value) { SetBackendDefaults(value); return *this;} /** *A reference to an object that represents the defaults for backends.
*/ inline VirtualNodeSpec& WithBackendDefaults(BackendDefaults&& value) { SetBackendDefaults(std::move(value)); return *this;} /** *The backends that the virtual node is expected to send outbound traffic * to.
*/ inline const Aws::VectorThe backends that the virtual node is expected to send outbound traffic * to.
*/ inline bool BackendsHasBeenSet() const { return m_backendsHasBeenSet; } /** *The backends that the virtual node is expected to send outbound traffic * to.
*/ inline void SetBackends(const Aws::VectorThe backends that the virtual node is expected to send outbound traffic * to.
*/ inline void SetBackends(Aws::VectorThe backends that the virtual node is expected to send outbound traffic * to.
*/ inline VirtualNodeSpec& WithBackends(const Aws::VectorThe backends that the virtual node is expected to send outbound traffic * to.
*/ inline VirtualNodeSpec& WithBackends(Aws::VectorThe backends that the virtual node is expected to send outbound traffic * to.
*/ inline VirtualNodeSpec& AddBackends(const Backend& value) { m_backendsHasBeenSet = true; m_backends.push_back(value); return *this; } /** *The backends that the virtual node is expected to send outbound traffic * to.
*/ inline VirtualNodeSpec& AddBackends(Backend&& value) { m_backendsHasBeenSet = true; m_backends.push_back(std::move(value)); return *this; } /** *The listener that the virtual node is expected to receive inbound traffic * from. You can specify one listener.
*/ inline const Aws::VectorThe listener that the virtual node is expected to receive inbound traffic * from. You can specify one listener.
*/ inline bool ListenersHasBeenSet() const { return m_listenersHasBeenSet; } /** *The listener that the virtual node is expected to receive inbound traffic * from. You can specify one listener.
*/ inline void SetListeners(const Aws::VectorThe listener that the virtual node is expected to receive inbound traffic * from. You can specify one listener.
*/ inline void SetListeners(Aws::VectorThe listener that the virtual node is expected to receive inbound traffic * from. You can specify one listener.
*/ inline VirtualNodeSpec& WithListeners(const Aws::VectorThe listener that the virtual node is expected to receive inbound traffic * from. You can specify one listener.
*/ inline VirtualNodeSpec& WithListeners(Aws::VectorThe listener that the virtual node is expected to receive inbound traffic * from. You can specify one listener.
*/ inline VirtualNodeSpec& AddListeners(const Listener& value) { m_listenersHasBeenSet = true; m_listeners.push_back(value); return *this; } /** *The listener that the virtual node is expected to receive inbound traffic * from. You can specify one listener.
*/ inline VirtualNodeSpec& AddListeners(Listener&& value) { m_listenersHasBeenSet = true; m_listeners.push_back(std::move(value)); return *this; } /** *The inbound and outbound access logging information for the virtual node.
*/ inline const Logging& GetLogging() const{ return m_logging; } /** *The inbound and outbound access logging information for the virtual node.
*/ inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; } /** *The inbound and outbound access logging information for the virtual node.
*/ inline void SetLogging(const Logging& value) { m_loggingHasBeenSet = true; m_logging = value; } /** *The inbound and outbound access logging information for the virtual node.
*/ inline void SetLogging(Logging&& value) { m_loggingHasBeenSet = true; m_logging = std::move(value); } /** *The inbound and outbound access logging information for the virtual node.
*/ inline VirtualNodeSpec& WithLogging(const Logging& value) { SetLogging(value); return *this;} /** *The inbound and outbound access logging information for the virtual node.
*/ inline VirtualNodeSpec& WithLogging(Logging&& value) { SetLogging(std::move(value)); return *this;} /** *The service discovery information for the virtual node. If your virtual node
* does not expect ingress traffic, you can omit this parameter. If you specify a
* listener
, then you must specify service discovery information.
The service discovery information for the virtual node. If your virtual node
* does not expect ingress traffic, you can omit this parameter. If you specify a
* listener
, then you must specify service discovery information.
The service discovery information for the virtual node. If your virtual node
* does not expect ingress traffic, you can omit this parameter. If you specify a
* listener
, then you must specify service discovery information.
The service discovery information for the virtual node. If your virtual node
* does not expect ingress traffic, you can omit this parameter. If you specify a
* listener
, then you must specify service discovery information.
The service discovery information for the virtual node. If your virtual node
* does not expect ingress traffic, you can omit this parameter. If you specify a
* listener
, then you must specify service discovery information.
The service discovery information for the virtual node. If your virtual node
* does not expect ingress traffic, you can omit this parameter. If you specify a
* listener
, then you must specify service discovery information.