7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/BackendDefaults.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/appmesh/model/Logging.h>
11#include <aws/appmesh/model/ServiceDiscovery.h>
12#include <aws/appmesh/model/Backend.h>
13#include <aws/appmesh/model/Listener.h>
94 inline void SetLogging(
const Logging& value) { m_loggingHasBeenSet =
true; m_logging = value; }
95 inline void SetLogging(
Logging&& value) { m_loggingHasBeenSet =
true; m_logging = std::move(value); }
116 bool m_backendDefaultsHasBeenSet =
false;
119 bool m_backendsHasBeenSet =
false;
122 bool m_listenersHasBeenSet =
false;
125 bool m_loggingHasBeenSet =
false;
128 bool m_serviceDiscoveryHasBeenSet =
false;
VirtualNodeSpec & WithLogging(const Logging &value)
VirtualNodeSpec & WithServiceDiscovery(const ServiceDiscovery &value)
VirtualNodeSpec & WithBackendDefaults(BackendDefaults &&value)
void SetListeners(const Aws::Vector< Listener > &value)
AWS_APPMESH_API VirtualNodeSpec()
const BackendDefaults & GetBackendDefaults() const
void SetListeners(Aws::Vector< Listener > &&value)
VirtualNodeSpec & WithBackendDefaults(const BackendDefaults &value)
const ServiceDiscovery & GetServiceDiscovery() const
void SetLogging(const Logging &value)
bool ServiceDiscoveryHasBeenSet() const
VirtualNodeSpec & WithListeners(const Aws::Vector< Listener > &value)
void SetBackends(const Aws::Vector< Backend > &value)
const Logging & GetLogging() const
VirtualNodeSpec & WithBackends(Aws::Vector< Backend > &&value)
VirtualNodeSpec & WithListeners(Aws::Vector< Listener > &&value)
void SetLogging(Logging &&value)
VirtualNodeSpec & WithBackends(const Aws::Vector< Backend > &value)
VirtualNodeSpec & AddBackends(const Backend &value)
const Aws::Vector< Listener > & GetListeners() const
VirtualNodeSpec & WithServiceDiscovery(ServiceDiscovery &&value)
bool ListenersHasBeenSet() const
AWS_APPMESH_API VirtualNodeSpec & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API VirtualNodeSpec(Aws::Utils::Json::JsonView jsonValue)
bool BackendsHasBeenSet() const
void SetBackendDefaults(BackendDefaults &&value)
const Aws::Vector< Backend > & GetBackends() const
VirtualNodeSpec & AddListeners(const Listener &value)
bool BackendDefaultsHasBeenSet() const
VirtualNodeSpec & AddBackends(Backend &&value)
void SetServiceDiscovery(const ServiceDiscovery &value)
void SetServiceDiscovery(ServiceDiscovery &&value)
void SetBackendDefaults(const BackendDefaults &value)
VirtualNodeSpec & WithLogging(Logging &&value)
VirtualNodeSpec & AddListeners(Listener &&value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
bool LoggingHasBeenSet() const
void SetBackends(Aws::Vector< Backend > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue