AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VirtualGatewaySpec.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/VirtualGatewayBackendDefaults.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/appmesh/model/VirtualGatewayLogging.h>
11#include <aws/appmesh/model/VirtualGatewayListener.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AppMesh
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_APPMESH_API VirtualGatewaySpec();
41 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const VirtualGatewayBackendDefaults& GetBackendDefaults() const{ return m_backendDefaults; }
49 inline bool BackendDefaultsHasBeenSet() const { return m_backendDefaultsHasBeenSet; }
50 inline void SetBackendDefaults(const VirtualGatewayBackendDefaults& value) { m_backendDefaultsHasBeenSet = true; m_backendDefaults = value; }
51 inline void SetBackendDefaults(VirtualGatewayBackendDefaults&& value) { m_backendDefaultsHasBeenSet = true; m_backendDefaults = std::move(value); }
55
57
61 inline const Aws::Vector<VirtualGatewayListener>& GetListeners() const{ return m_listeners; }
62 inline bool ListenersHasBeenSet() const { return m_listenersHasBeenSet; }
63 inline void SetListeners(const Aws::Vector<VirtualGatewayListener>& value) { m_listenersHasBeenSet = true; m_listeners = value; }
64 inline void SetListeners(Aws::Vector<VirtualGatewayListener>&& value) { m_listenersHasBeenSet = true; m_listeners = std::move(value); }
66 inline VirtualGatewaySpec& WithListeners(Aws::Vector<VirtualGatewayListener>&& value) { SetListeners(std::move(value)); return *this;}
67 inline VirtualGatewaySpec& AddListeners(const VirtualGatewayListener& value) { m_listenersHasBeenSet = true; m_listeners.push_back(value); return *this; }
68 inline VirtualGatewaySpec& AddListeners(VirtualGatewayListener&& value) { m_listenersHasBeenSet = true; m_listeners.push_back(std::move(value)); return *this; }
70
72
73 inline const VirtualGatewayLogging& GetLogging() const{ return m_logging; }
74 inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
75 inline void SetLogging(const VirtualGatewayLogging& value) { m_loggingHasBeenSet = true; m_logging = value; }
76 inline void SetLogging(VirtualGatewayLogging&& value) { m_loggingHasBeenSet = true; m_logging = std::move(value); }
77 inline VirtualGatewaySpec& WithLogging(const VirtualGatewayLogging& value) { SetLogging(value); return *this;}
78 inline VirtualGatewaySpec& WithLogging(VirtualGatewayLogging&& value) { SetLogging(std::move(value)); return *this;}
80 private:
81
82 VirtualGatewayBackendDefaults m_backendDefaults;
83 bool m_backendDefaultsHasBeenSet = false;
84
86 bool m_listenersHasBeenSet = false;
87
88 VirtualGatewayLogging m_logging;
89 bool m_loggingHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace AppMesh
94} // namespace Aws
const VirtualGatewayLogging & GetLogging() const
VirtualGatewaySpec & WithListeners(const Aws::Vector< VirtualGatewayListener > &value)
VirtualGatewaySpec & WithLogging(VirtualGatewayLogging &&value)
VirtualGatewaySpec & WithBackendDefaults(VirtualGatewayBackendDefaults &&value)
VirtualGatewaySpec & AddListeners(VirtualGatewayListener &&value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
VirtualGatewaySpec & AddListeners(const VirtualGatewayListener &value)
AWS_APPMESH_API VirtualGatewaySpec & operator=(Aws::Utils::Json::JsonView jsonValue)
const VirtualGatewayBackendDefaults & GetBackendDefaults() const
VirtualGatewaySpec & WithLogging(const VirtualGatewayLogging &value)
void SetBackendDefaults(VirtualGatewayBackendDefaults &&value)
VirtualGatewaySpec & WithBackendDefaults(const VirtualGatewayBackendDefaults &value)
void SetLogging(VirtualGatewayLogging &&value)
void SetBackendDefaults(const VirtualGatewayBackendDefaults &value)
VirtualGatewaySpec & WithListeners(Aws::Vector< VirtualGatewayListener > &&value)
const Aws::Vector< VirtualGatewayListener > & GetListeners() const
void SetLogging(const VirtualGatewayLogging &value)
void SetListeners(const Aws::Vector< VirtualGatewayListener > &value)
AWS_APPMESH_API VirtualGatewaySpec(Aws::Utils::Json::JsonView jsonValue)
void SetListeners(Aws::Vector< VirtualGatewayListener > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue