AWS SDK for C++  1.9.15
AWS SDK for C++
VirtualGatewaySpec.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace AppMesh
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const VirtualGatewayBackendDefaults& GetBackendDefaults() const{ return m_backendDefaults; }
48 
52  inline bool BackendDefaultsHasBeenSet() const { return m_backendDefaultsHasBeenSet; }
53 
57  inline void SetBackendDefaults(const VirtualGatewayBackendDefaults& value) { m_backendDefaultsHasBeenSet = true; m_backendDefaults = value; }
58 
62  inline void SetBackendDefaults(VirtualGatewayBackendDefaults&& value) { m_backendDefaultsHasBeenSet = true; m_backendDefaults = std::move(value); }
63 
67  inline VirtualGatewaySpec& WithBackendDefaults(const VirtualGatewayBackendDefaults& value) { SetBackendDefaults(value); return *this;}
68 
72  inline VirtualGatewaySpec& WithBackendDefaults(VirtualGatewayBackendDefaults&& value) { SetBackendDefaults(std::move(value)); return *this;}
73 
74 
79  inline const Aws::Vector<VirtualGatewayListener>& GetListeners() const{ return m_listeners; }
80 
85  inline bool ListenersHasBeenSet() const { return m_listenersHasBeenSet; }
86 
91  inline void SetListeners(const Aws::Vector<VirtualGatewayListener>& value) { m_listenersHasBeenSet = true; m_listeners = value; }
92 
97  inline void SetListeners(Aws::Vector<VirtualGatewayListener>&& value) { m_listenersHasBeenSet = true; m_listeners = std::move(value); }
98 
103  inline VirtualGatewaySpec& WithListeners(const Aws::Vector<VirtualGatewayListener>& value) { SetListeners(value); return *this;}
104 
109  inline VirtualGatewaySpec& WithListeners(Aws::Vector<VirtualGatewayListener>&& value) { SetListeners(std::move(value)); return *this;}
110 
115  inline VirtualGatewaySpec& AddListeners(const VirtualGatewayListener& value) { m_listenersHasBeenSet = true; m_listeners.push_back(value); return *this; }
116 
121  inline VirtualGatewaySpec& AddListeners(VirtualGatewayListener&& value) { m_listenersHasBeenSet = true; m_listeners.push_back(std::move(value)); return *this; }
122 
123 
124 
125  inline const VirtualGatewayLogging& GetLogging() const{ return m_logging; }
126 
127 
128  inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
129 
130 
131  inline void SetLogging(const VirtualGatewayLogging& value) { m_loggingHasBeenSet = true; m_logging = value; }
132 
133 
134  inline void SetLogging(VirtualGatewayLogging&& value) { m_loggingHasBeenSet = true; m_logging = std::move(value); }
135 
136 
137  inline VirtualGatewaySpec& WithLogging(const VirtualGatewayLogging& value) { SetLogging(value); return *this;}
138 
139 
140  inline VirtualGatewaySpec& WithLogging(VirtualGatewayLogging&& value) { SetLogging(std::move(value)); return *this;}
141 
142  private:
143 
144  VirtualGatewayBackendDefaults m_backendDefaults;
145  bool m_backendDefaultsHasBeenSet;
146 
148  bool m_listenersHasBeenSet;
149 
150  VirtualGatewayLogging m_logging;
151  bool m_loggingHasBeenSet;
152  };
153 
154 } // namespace Model
155 } // namespace AppMesh
156 } // namespace Aws
Aws::AppMesh::Model::VirtualGatewaySpec::GetListeners
const Aws::Vector< VirtualGatewayListener > & GetListeners() const
Definition: VirtualGatewaySpec.h:79
Aws::AppMesh::Model::VirtualGatewaySpec::VirtualGatewaySpec
VirtualGatewaySpec()
Aws::AppMesh::Model::VirtualGatewaySpec::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::VirtualGatewaySpec::WithLogging
VirtualGatewaySpec & WithLogging(VirtualGatewayLogging &&value)
Definition: VirtualGatewaySpec.h:140
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AppMesh::Model::VirtualGatewaySpec::operator=
VirtualGatewaySpec & operator=(Aws::Utils::Json::JsonView jsonValue)
AppMesh_EXPORTS.h
AWSVector.h
Aws::AppMesh::Model::VirtualGatewaySpec::GetBackendDefaults
const VirtualGatewayBackendDefaults & GetBackendDefaults() const
Definition: VirtualGatewaySpec.h:47
Aws::AppMesh::Model::VirtualGatewaySpec::AddListeners
VirtualGatewaySpec & AddListeners(VirtualGatewayListener &&value)
Definition: VirtualGatewaySpec.h:121
Aws::AppMesh::Model::VirtualGatewaySpec::SetLogging
void SetLogging(const VirtualGatewayLogging &value)
Definition: VirtualGatewaySpec.h:131
Aws::AppMesh::Model::VirtualGatewayBackendDefaults
Definition: VirtualGatewayBackendDefaults.h:33
Aws::AppMesh::Model::VirtualGatewayLogging
Definition: VirtualGatewayLogging.h:32
Aws::AppMesh::Model::VirtualGatewaySpec::SetBackendDefaults
void SetBackendDefaults(const VirtualGatewayBackendDefaults &value)
Definition: VirtualGatewaySpec.h:57
Aws::AppMesh::Model::VirtualGatewaySpec::WithListeners
VirtualGatewaySpec & WithListeners(const Aws::Vector< VirtualGatewayListener > &value)
Definition: VirtualGatewaySpec.h:103
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::VirtualGatewaySpec::VirtualGatewaySpec
VirtualGatewaySpec(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewaySpec::LoggingHasBeenSet
bool LoggingHasBeenSet() const
Definition: VirtualGatewaySpec.h:128
VirtualGatewayListener.h
Aws::AppMesh::Model::VirtualGatewaySpec::AddListeners
VirtualGatewaySpec & AddListeners(const VirtualGatewayListener &value)
Definition: VirtualGatewaySpec.h:115
Aws::AppMesh::Model::VirtualGatewaySpec::SetListeners
void SetListeners(Aws::Vector< VirtualGatewayListener > &&value)
Definition: VirtualGatewaySpec.h:97
Aws::AppMesh::Model::VirtualGatewaySpec::SetListeners
void SetListeners(const Aws::Vector< VirtualGatewayListener > &value)
Definition: VirtualGatewaySpec.h:91
Aws::AppMesh::Model::VirtualGatewaySpec::WithBackendDefaults
VirtualGatewaySpec & WithBackendDefaults(VirtualGatewayBackendDefaults &&value)
Definition: VirtualGatewaySpec.h:72
Aws::AppMesh::Model::VirtualGatewaySpec::WithBackendDefaults
VirtualGatewaySpec & WithBackendDefaults(const VirtualGatewayBackendDefaults &value)
Definition: VirtualGatewaySpec.h:67
Aws::AppMesh::Model::VirtualGatewayListener
Definition: VirtualGatewayListener.h:36
Aws::AppMesh::Model::VirtualGatewaySpec::ListenersHasBeenSet
bool ListenersHasBeenSet() const
Definition: VirtualGatewaySpec.h:85
VirtualGatewayLogging.h
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualGatewaySpec::BackendDefaultsHasBeenSet
bool BackendDefaultsHasBeenSet() const
Definition: VirtualGatewaySpec.h:52
Aws::AppMesh::Model::VirtualGatewaySpec
Definition: VirtualGatewaySpec.h:36
Aws::AppMesh::Model::VirtualGatewaySpec::GetLogging
const VirtualGatewayLogging & GetLogging() const
Definition: VirtualGatewaySpec.h:125
Aws::AppMesh::Model::VirtualGatewaySpec::WithListeners
VirtualGatewaySpec & WithListeners(Aws::Vector< VirtualGatewayListener > &&value)
Definition: VirtualGatewaySpec.h:109
Aws::AppMesh::Model::VirtualGatewaySpec::SetBackendDefaults
void SetBackendDefaults(VirtualGatewayBackendDefaults &&value)
Definition: VirtualGatewaySpec.h:62
VirtualGatewayBackendDefaults.h
Aws::AppMesh::Model::VirtualGatewaySpec::WithLogging
VirtualGatewaySpec & WithLogging(const VirtualGatewayLogging &value)
Definition: VirtualGatewaySpec.h:137
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::VirtualGatewaySpec::SetLogging
void SetLogging(VirtualGatewayLogging &&value)
Definition: VirtualGatewaySpec.h:134