/**
* 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 service mesh
* resource.See Also:
AWS
* API Reference
A reference to an object that represents the defaults for backends.
*/ inline const VirtualGatewayBackendDefaults& 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 VirtualGatewayBackendDefaults& value) { m_backendDefaultsHasBeenSet = true; m_backendDefaults = value; } /** *A reference to an object that represents the defaults for backends.
*/ inline void SetBackendDefaults(VirtualGatewayBackendDefaults&& value) { m_backendDefaultsHasBeenSet = true; m_backendDefaults = std::move(value); } /** *A reference to an object that represents the defaults for backends.
*/ inline VirtualGatewaySpec& WithBackendDefaults(const VirtualGatewayBackendDefaults& value) { SetBackendDefaults(value); return *this;} /** *A reference to an object that represents the defaults for backends.
*/ inline VirtualGatewaySpec& WithBackendDefaults(VirtualGatewayBackendDefaults&& value) { SetBackendDefaults(std::move(value)); return *this;} /** *The listeners that the mesh endpoint is expected to receive inbound traffic * from. You can specify one listener.
*/ inline const Aws::VectorThe listeners that the mesh endpoint is expected to receive inbound traffic * from. You can specify one listener.
*/ inline bool ListenersHasBeenSet() const { return m_listenersHasBeenSet; } /** *The listeners that the mesh endpoint is expected to receive inbound traffic * from. You can specify one listener.
*/ inline void SetListeners(const Aws::VectorThe listeners that the mesh endpoint is expected to receive inbound traffic * from. You can specify one listener.
*/ inline void SetListeners(Aws::VectorThe listeners that the mesh endpoint is expected to receive inbound traffic * from. You can specify one listener.
*/ inline VirtualGatewaySpec& WithListeners(const Aws::VectorThe listeners that the mesh endpoint is expected to receive inbound traffic * from. You can specify one listener.
*/ inline VirtualGatewaySpec& WithListeners(Aws::VectorThe listeners that the mesh endpoint is expected to receive inbound traffic * from. You can specify one listener.
*/ inline VirtualGatewaySpec& AddListeners(const VirtualGatewayListener& value) { m_listenersHasBeenSet = true; m_listeners.push_back(value); return *this; } /** *The listeners that the mesh endpoint is expected to receive inbound traffic * from. You can specify one listener.
*/ inline VirtualGatewaySpec& AddListeners(VirtualGatewayListener&& value) { m_listenersHasBeenSet = true; m_listeners.push_back(std::move(value)); return *this; } inline const VirtualGatewayLogging& GetLogging() const{ return m_logging; } inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; } inline void SetLogging(const VirtualGatewayLogging& value) { m_loggingHasBeenSet = true; m_logging = value; } inline void SetLogging(VirtualGatewayLogging&& value) { m_loggingHasBeenSet = true; m_logging = std::move(value); } inline VirtualGatewaySpec& WithLogging(const VirtualGatewayLogging& value) { SetLogging(value); return *this;} inline VirtualGatewaySpec& WithLogging(VirtualGatewayLogging&& value) { SetLogging(std::move(value)); return *this;} private: VirtualGatewayBackendDefaults m_backendDefaults; bool m_backendDefaultsHasBeenSet = false; Aws::Vector