AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
InitialVlans.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/evs/EVS_EXPORTS.h>
9#include <aws/evs/model/InitialVlanInfo.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EVS {
21namespace Model {
22
32 public:
33 AWS_EVS_API InitialVlans() = default;
37
39
43 inline const InitialVlanInfo& GetVmkManagement() const { return m_vmkManagement; }
44 inline bool VmkManagementHasBeenSet() const { return m_vmkManagementHasBeenSet; }
45 template <typename VmkManagementT = InitialVlanInfo>
46 void SetVmkManagement(VmkManagementT&& value) {
47 m_vmkManagementHasBeenSet = true;
48 m_vmkManagement = std::forward<VmkManagementT>(value);
49 }
50 template <typename VmkManagementT = InitialVlanInfo>
51 InitialVlans& WithVmkManagement(VmkManagementT&& value) {
52 SetVmkManagement(std::forward<VmkManagementT>(value));
53 return *this;
54 }
56
58
62 inline const InitialVlanInfo& GetVmManagement() const { return m_vmManagement; }
63 inline bool VmManagementHasBeenSet() const { return m_vmManagementHasBeenSet; }
64 template <typename VmManagementT = InitialVlanInfo>
65 void SetVmManagement(VmManagementT&& value) {
66 m_vmManagementHasBeenSet = true;
67 m_vmManagement = std::forward<VmManagementT>(value);
68 }
69 template <typename VmManagementT = InitialVlanInfo>
70 InitialVlans& WithVmManagement(VmManagementT&& value) {
71 SetVmManagement(std::forward<VmManagementT>(value));
72 return *this;
73 }
75
77
81 inline const InitialVlanInfo& GetVMotion() const { return m_vMotion; }
82 inline bool VMotionHasBeenSet() const { return m_vMotionHasBeenSet; }
83 template <typename VMotionT = InitialVlanInfo>
84 void SetVMotion(VMotionT&& value) {
85 m_vMotionHasBeenSet = true;
86 m_vMotion = std::forward<VMotionT>(value);
87 }
88 template <typename VMotionT = InitialVlanInfo>
89 InitialVlans& WithVMotion(VMotionT&& value) {
90 SetVMotion(std::forward<VMotionT>(value));
91 return *this;
92 }
94
96
100 inline const InitialVlanInfo& GetVSan() const { return m_vSan; }
101 inline bool VSanHasBeenSet() const { return m_vSanHasBeenSet; }
102 template <typename VSanT = InitialVlanInfo>
103 void SetVSan(VSanT&& value) {
104 m_vSanHasBeenSet = true;
105 m_vSan = std::forward<VSanT>(value);
106 }
107 template <typename VSanT = InitialVlanInfo>
108 InitialVlans& WithVSan(VSanT&& value) {
109 SetVSan(std::forward<VSanT>(value));
110 return *this;
111 }
113
115
119 inline const InitialVlanInfo& GetVTep() const { return m_vTep; }
120 inline bool VTepHasBeenSet() const { return m_vTepHasBeenSet; }
121 template <typename VTepT = InitialVlanInfo>
122 void SetVTep(VTepT&& value) {
123 m_vTepHasBeenSet = true;
124 m_vTep = std::forward<VTepT>(value);
125 }
126 template <typename VTepT = InitialVlanInfo>
127 InitialVlans& WithVTep(VTepT&& value) {
128 SetVTep(std::forward<VTepT>(value));
129 return *this;
130 }
132
134
139 inline const InitialVlanInfo& GetEdgeVTep() const { return m_edgeVTep; }
140 inline bool EdgeVTepHasBeenSet() const { return m_edgeVTepHasBeenSet; }
141 template <typename EdgeVTepT = InitialVlanInfo>
142 void SetEdgeVTep(EdgeVTepT&& value) {
143 m_edgeVTepHasBeenSet = true;
144 m_edgeVTep = std::forward<EdgeVTepT>(value);
145 }
146 template <typename EdgeVTepT = InitialVlanInfo>
147 InitialVlans& WithEdgeVTep(EdgeVTepT&& value) {
148 SetEdgeVTep(std::forward<EdgeVTepT>(value));
149 return *this;
150 }
152
154
158 inline const InitialVlanInfo& GetNsxUplink() const { return m_nsxUplink; }
159 inline bool NsxUplinkHasBeenSet() const { return m_nsxUplinkHasBeenSet; }
160 template <typename NsxUplinkT = InitialVlanInfo>
161 void SetNsxUplink(NsxUplinkT&& value) {
162 m_nsxUplinkHasBeenSet = true;
163 m_nsxUplink = std::forward<NsxUplinkT>(value);
164 }
165 template <typename NsxUplinkT = InitialVlanInfo>
166 InitialVlans& WithNsxUplink(NsxUplinkT&& value) {
167 SetNsxUplink(std::forward<NsxUplinkT>(value));
168 return *this;
169 }
171
173
184 inline const InitialVlanInfo& GetHcx() const { return m_hcx; }
185 inline bool HcxHasBeenSet() const { return m_hcxHasBeenSet; }
186 template <typename HcxT = InitialVlanInfo>
187 void SetHcx(HcxT&& value) {
188 m_hcxHasBeenSet = true;
189 m_hcx = std::forward<HcxT>(value);
190 }
191 template <typename HcxT = InitialVlanInfo>
192 InitialVlans& WithHcx(HcxT&& value) {
193 SetHcx(std::forward<HcxT>(value));
194 return *this;
195 }
197
199
205 inline const InitialVlanInfo& GetExpansionVlan1() const { return m_expansionVlan1; }
206 inline bool ExpansionVlan1HasBeenSet() const { return m_expansionVlan1HasBeenSet; }
207 template <typename ExpansionVlan1T = InitialVlanInfo>
208 void SetExpansionVlan1(ExpansionVlan1T&& value) {
209 m_expansionVlan1HasBeenSet = true;
210 m_expansionVlan1 = std::forward<ExpansionVlan1T>(value);
211 }
212 template <typename ExpansionVlan1T = InitialVlanInfo>
213 InitialVlans& WithExpansionVlan1(ExpansionVlan1T&& value) {
214 SetExpansionVlan1(std::forward<ExpansionVlan1T>(value));
215 return *this;
216 }
218
220
226 inline const InitialVlanInfo& GetExpansionVlan2() const { return m_expansionVlan2; }
227 inline bool ExpansionVlan2HasBeenSet() const { return m_expansionVlan2HasBeenSet; }
228 template <typename ExpansionVlan2T = InitialVlanInfo>
229 void SetExpansionVlan2(ExpansionVlan2T&& value) {
230 m_expansionVlan2HasBeenSet = true;
231 m_expansionVlan2 = std::forward<ExpansionVlan2T>(value);
232 }
233 template <typename ExpansionVlan2T = InitialVlanInfo>
234 InitialVlans& WithExpansionVlan2(ExpansionVlan2T&& value) {
235 SetExpansionVlan2(std::forward<ExpansionVlan2T>(value));
236 return *this;
237 }
239
241
245 inline bool GetIsHcxPublic() const { return m_isHcxPublic; }
246 inline bool IsHcxPublicHasBeenSet() const { return m_isHcxPublicHasBeenSet; }
247 inline void SetIsHcxPublic(bool value) {
248 m_isHcxPublicHasBeenSet = true;
249 m_isHcxPublic = value;
250 }
251 inline InitialVlans& WithIsHcxPublic(bool value) {
252 SetIsHcxPublic(value);
253 return *this;
254 }
256
258
262 inline const Aws::String& GetHcxNetworkAclId() const { return m_hcxNetworkAclId; }
263 inline bool HcxNetworkAclIdHasBeenSet() const { return m_hcxNetworkAclIdHasBeenSet; }
264 template <typename HcxNetworkAclIdT = Aws::String>
265 void SetHcxNetworkAclId(HcxNetworkAclIdT&& value) {
266 m_hcxNetworkAclIdHasBeenSet = true;
267 m_hcxNetworkAclId = std::forward<HcxNetworkAclIdT>(value);
268 }
269 template <typename HcxNetworkAclIdT = Aws::String>
270 InitialVlans& WithHcxNetworkAclId(HcxNetworkAclIdT&& value) {
271 SetHcxNetworkAclId(std::forward<HcxNetworkAclIdT>(value));
272 return *this;
273 }
275 private:
276 InitialVlanInfo m_vmkManagement;
277
278 InitialVlanInfo m_vmManagement;
279
280 InitialVlanInfo m_vMotion;
281
282 InitialVlanInfo m_vSan;
283
284 InitialVlanInfo m_vTep;
285
286 InitialVlanInfo m_edgeVTep;
287
288 InitialVlanInfo m_nsxUplink;
289
290 InitialVlanInfo m_hcx;
291
292 InitialVlanInfo m_expansionVlan1;
293
294 InitialVlanInfo m_expansionVlan2;
295
296 bool m_isHcxPublic{false};
297
298 Aws::String m_hcxNetworkAclId;
299 bool m_vmkManagementHasBeenSet = false;
300 bool m_vmManagementHasBeenSet = false;
301 bool m_vMotionHasBeenSet = false;
302 bool m_vSanHasBeenSet = false;
303 bool m_vTepHasBeenSet = false;
304 bool m_edgeVTepHasBeenSet = false;
305 bool m_nsxUplinkHasBeenSet = false;
306 bool m_hcxHasBeenSet = false;
307 bool m_expansionVlan1HasBeenSet = false;
308 bool m_expansionVlan2HasBeenSet = false;
309 bool m_isHcxPublicHasBeenSet = false;
310 bool m_hcxNetworkAclIdHasBeenSet = false;
311};
312
313} // namespace Model
314} // namespace EVS
315} // namespace Aws
void SetExpansionVlan2(ExpansionVlan2T &&value)
AWS_EVS_API InitialVlans()=default
InitialVlans & WithExpansionVlan1(ExpansionVlan1T &&value)
const InitialVlanInfo & GetEdgeVTep() const
InitialVlans & WithHcx(HcxT &&value)
InitialVlans & WithIsHcxPublic(bool value)
const InitialVlanInfo & GetVmkManagement() const
void SetVmManagement(VmManagementT &&value)
void SetVTep(VTepT &&value)
const InitialVlanInfo & GetVMotion() const
InitialVlans & WithExpansionVlan2(ExpansionVlan2T &&value)
const InitialVlanInfo & GetExpansionVlan1() const
void SetVmkManagement(VmkManagementT &&value)
AWS_EVS_API Aws::Utils::Json::JsonValue Jsonize() const
InitialVlans & WithVTep(VTepT &&value)
const Aws::String & GetHcxNetworkAclId() const
InitialVlans & WithNsxUplink(NsxUplinkT &&value)
void SetNsxUplink(NsxUplinkT &&value)
const InitialVlanInfo & GetVTep() const
const InitialVlanInfo & GetHcx() const
void SetVSan(VSanT &&value)
InitialVlans & WithVMotion(VMotionT &&value)
InitialVlans & WithVmManagement(VmManagementT &&value)
InitialVlans & WithVSan(VSanT &&value)
AWS_EVS_API InitialVlans(Aws::Utils::Json::JsonView jsonValue)
void SetHcxNetworkAclId(HcxNetworkAclIdT &&value)
void SetVMotion(VMotionT &&value)
const InitialVlanInfo & GetExpansionVlan2() const
void SetEdgeVTep(EdgeVTepT &&value)
AWS_EVS_API InitialVlans & operator=(Aws::Utils::Json::JsonView jsonValue)
InitialVlans & WithHcxNetworkAclId(HcxNetworkAclIdT &&value)
void SetExpansionVlan1(ExpansionVlan1T &&value)
const InitialVlanInfo & GetVmManagement() const
const InitialVlanInfo & GetNsxUplink() const
const InitialVlanInfo & GetVSan() const
InitialVlans & WithEdgeVTep(EdgeVTepT &&value)
InitialVlans & WithVmkManagement(VmkManagementT &&value)
void SetIsHcxPublic(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue