AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateVirtualInterfaceAttributesResult.h
1
6#pragma once
7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/AddressFamily.h>
10#include <aws/directconnect/model/VirtualInterfaceState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/directconnect/model/RouteFilterPrefix.h>
13#include <aws/directconnect/model/BGPPeer.h>
14#include <aws/directconnect/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace DirectConnect
30{
31namespace Model
32{
39 {
40 public:
44
45
47
51 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
52 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccount = value; }
53 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccount = std::move(value); }
54 inline void SetOwnerAccount(const char* value) { m_ownerAccount.assign(value); }
56 inline UpdateVirtualInterfaceAttributesResult& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
57 inline UpdateVirtualInterfaceAttributesResult& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
59
61
64 inline const Aws::String& GetVirtualInterfaceId() const{ return m_virtualInterfaceId; }
65 inline void SetVirtualInterfaceId(const Aws::String& value) { m_virtualInterfaceId = value; }
66 inline void SetVirtualInterfaceId(Aws::String&& value) { m_virtualInterfaceId = std::move(value); }
67 inline void SetVirtualInterfaceId(const char* value) { m_virtualInterfaceId.assign(value); }
72
74
77 inline const Aws::String& GetLocation() const{ return m_location; }
78 inline void SetLocation(const Aws::String& value) { m_location = value; }
79 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
80 inline void SetLocation(const char* value) { m_location.assign(value); }
81 inline UpdateVirtualInterfaceAttributesResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
82 inline UpdateVirtualInterfaceAttributesResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
83 inline UpdateVirtualInterfaceAttributesResult& WithLocation(const char* value) { SetLocation(value); return *this;}
85
87
90 inline const Aws::String& GetConnectionId() const{ return m_connectionId; }
91 inline void SetConnectionId(const Aws::String& value) { m_connectionId = value; }
92 inline void SetConnectionId(Aws::String&& value) { m_connectionId = std::move(value); }
93 inline void SetConnectionId(const char* value) { m_connectionId.assign(value); }
95 inline UpdateVirtualInterfaceAttributesResult& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
96 inline UpdateVirtualInterfaceAttributesResult& WithConnectionId(const char* value) { SetConnectionId(value); return *this;}
98
100
104 inline const Aws::String& GetVirtualInterfaceType() const{ return m_virtualInterfaceType; }
105 inline void SetVirtualInterfaceType(const Aws::String& value) { m_virtualInterfaceType = value; }
106 inline void SetVirtualInterfaceType(Aws::String&& value) { m_virtualInterfaceType = std::move(value); }
107 inline void SetVirtualInterfaceType(const char* value) { m_virtualInterfaceType.assign(value); }
112
114
119 inline const Aws::String& GetVirtualInterfaceName() const{ return m_virtualInterfaceName; }
120 inline void SetVirtualInterfaceName(const Aws::String& value) { m_virtualInterfaceName = value; }
121 inline void SetVirtualInterfaceName(Aws::String&& value) { m_virtualInterfaceName = std::move(value); }
122 inline void SetVirtualInterfaceName(const char* value) { m_virtualInterfaceName.assign(value); }
127
129
132 inline int GetVlan() const{ return m_vlan; }
133 inline void SetVlan(int value) { m_vlan = value; }
134 inline UpdateVirtualInterfaceAttributesResult& WithVlan(int value) { SetVlan(value); return *this;}
136
138
142 inline int GetAsn() const{ return m_asn; }
143 inline void SetAsn(int value) { m_asn = value; }
144 inline UpdateVirtualInterfaceAttributesResult& WithAsn(int value) { SetAsn(value); return *this;}
146
148
151 inline long long GetAmazonSideAsn() const{ return m_amazonSideAsn; }
152 inline void SetAmazonSideAsn(long long value) { m_amazonSideAsn = value; }
153 inline UpdateVirtualInterfaceAttributesResult& WithAmazonSideAsn(long long value) { SetAmazonSideAsn(value); return *this;}
155
157
161 inline const Aws::String& GetAuthKey() const{ return m_authKey; }
162 inline void SetAuthKey(const Aws::String& value) { m_authKey = value; }
163 inline void SetAuthKey(Aws::String&& value) { m_authKey = std::move(value); }
164 inline void SetAuthKey(const char* value) { m_authKey.assign(value); }
165 inline UpdateVirtualInterfaceAttributesResult& WithAuthKey(const Aws::String& value) { SetAuthKey(value); return *this;}
166 inline UpdateVirtualInterfaceAttributesResult& WithAuthKey(Aws::String&& value) { SetAuthKey(std::move(value)); return *this;}
167 inline UpdateVirtualInterfaceAttributesResult& WithAuthKey(const char* value) { SetAuthKey(value); return *this;}
169
171
174 inline const Aws::String& GetAmazonAddress() const{ return m_amazonAddress; }
175 inline void SetAmazonAddress(const Aws::String& value) { m_amazonAddress = value; }
176 inline void SetAmazonAddress(Aws::String&& value) { m_amazonAddress = std::move(value); }
177 inline void SetAmazonAddress(const char* value) { m_amazonAddress.assign(value); }
180 inline UpdateVirtualInterfaceAttributesResult& WithAmazonAddress(const char* value) { SetAmazonAddress(value); return *this;}
182
184
187 inline const Aws::String& GetCustomerAddress() const{ return m_customerAddress; }
188 inline void SetCustomerAddress(const Aws::String& value) { m_customerAddress = value; }
189 inline void SetCustomerAddress(Aws::String&& value) { m_customerAddress = std::move(value); }
190 inline void SetCustomerAddress(const char* value) { m_customerAddress.assign(value); }
193 inline UpdateVirtualInterfaceAttributesResult& WithCustomerAddress(const char* value) { SetCustomerAddress(value); return *this;}
195
197
200 inline const AddressFamily& GetAddressFamily() const{ return m_addressFamily; }
201 inline void SetAddressFamily(const AddressFamily& value) { m_addressFamily = value; }
202 inline void SetAddressFamily(AddressFamily&& value) { m_addressFamily = std::move(value); }
206
208
232 inline const VirtualInterfaceState& GetVirtualInterfaceState() const{ return m_virtualInterfaceState; }
233 inline void SetVirtualInterfaceState(const VirtualInterfaceState& value) { m_virtualInterfaceState = value; }
234 inline void SetVirtualInterfaceState(VirtualInterfaceState&& value) { m_virtualInterfaceState = std::move(value); }
238
240
243 inline const Aws::String& GetCustomerRouterConfig() const{ return m_customerRouterConfig; }
244 inline void SetCustomerRouterConfig(const Aws::String& value) { m_customerRouterConfig = value; }
245 inline void SetCustomerRouterConfig(Aws::String&& value) { m_customerRouterConfig = std::move(value); }
246 inline void SetCustomerRouterConfig(const char* value) { m_customerRouterConfig.assign(value); }
251
253
257 inline int GetMtu() const{ return m_mtu; }
258 inline void SetMtu(int value) { m_mtu = value; }
259 inline UpdateVirtualInterfaceAttributesResult& WithMtu(int value) { SetMtu(value); return *this;}
261
263
266 inline bool GetJumboFrameCapable() const{ return m_jumboFrameCapable; }
267 inline void SetJumboFrameCapable(bool value) { m_jumboFrameCapable = value; }
270
272
276 inline const Aws::String& GetVirtualGatewayId() const{ return m_virtualGatewayId; }
277 inline void SetVirtualGatewayId(const Aws::String& value) { m_virtualGatewayId = value; }
278 inline void SetVirtualGatewayId(Aws::String&& value) { m_virtualGatewayId = std::move(value); }
279 inline void SetVirtualGatewayId(const char* value) { m_virtualGatewayId.assign(value); }
282 inline UpdateVirtualInterfaceAttributesResult& WithVirtualGatewayId(const char* value) { SetVirtualGatewayId(value); return *this;}
284
286
289 inline const Aws::String& GetDirectConnectGatewayId() const{ return m_directConnectGatewayId; }
290 inline void SetDirectConnectGatewayId(const Aws::String& value) { m_directConnectGatewayId = value; }
291 inline void SetDirectConnectGatewayId(Aws::String&& value) { m_directConnectGatewayId = std::move(value); }
292 inline void SetDirectConnectGatewayId(const char* value) { m_directConnectGatewayId.assign(value); }
297
299
303 inline const Aws::Vector<RouteFilterPrefix>& GetRouteFilterPrefixes() const{ return m_routeFilterPrefixes; }
304 inline void SetRouteFilterPrefixes(const Aws::Vector<RouteFilterPrefix>& value) { m_routeFilterPrefixes = value; }
305 inline void SetRouteFilterPrefixes(Aws::Vector<RouteFilterPrefix>&& value) { m_routeFilterPrefixes = std::move(value); }
308 inline UpdateVirtualInterfaceAttributesResult& AddRouteFilterPrefixes(const RouteFilterPrefix& value) { m_routeFilterPrefixes.push_back(value); return *this; }
309 inline UpdateVirtualInterfaceAttributesResult& AddRouteFilterPrefixes(RouteFilterPrefix&& value) { m_routeFilterPrefixes.push_back(std::move(value)); return *this; }
311
313
316 inline const Aws::Vector<BGPPeer>& GetBgpPeers() const{ return m_bgpPeers; }
317 inline void SetBgpPeers(const Aws::Vector<BGPPeer>& value) { m_bgpPeers = value; }
318 inline void SetBgpPeers(Aws::Vector<BGPPeer>&& value) { m_bgpPeers = std::move(value); }
320 inline UpdateVirtualInterfaceAttributesResult& WithBgpPeers(Aws::Vector<BGPPeer>&& value) { SetBgpPeers(std::move(value)); return *this;}
321 inline UpdateVirtualInterfaceAttributesResult& AddBgpPeers(const BGPPeer& value) { m_bgpPeers.push_back(value); return *this; }
322 inline UpdateVirtualInterfaceAttributesResult& AddBgpPeers(BGPPeer&& value) { m_bgpPeers.push_back(std::move(value)); return *this; }
324
326
329 inline const Aws::String& GetRegion() const{ return m_region; }
330 inline void SetRegion(const Aws::String& value) { m_region = value; }
331 inline void SetRegion(Aws::String&& value) { m_region = std::move(value); }
332 inline void SetRegion(const char* value) { m_region.assign(value); }
333 inline UpdateVirtualInterfaceAttributesResult& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
334 inline UpdateVirtualInterfaceAttributesResult& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
335 inline UpdateVirtualInterfaceAttributesResult& WithRegion(const char* value) { SetRegion(value); return *this;}
337
339
342 inline const Aws::String& GetAwsDeviceV2() const{ return m_awsDeviceV2; }
343 inline void SetAwsDeviceV2(const Aws::String& value) { m_awsDeviceV2 = value; }
344 inline void SetAwsDeviceV2(Aws::String&& value) { m_awsDeviceV2 = std::move(value); }
345 inline void SetAwsDeviceV2(const char* value) { m_awsDeviceV2.assign(value); }
347 inline UpdateVirtualInterfaceAttributesResult& WithAwsDeviceV2(Aws::String&& value) { SetAwsDeviceV2(std::move(value)); return *this;}
348 inline UpdateVirtualInterfaceAttributesResult& WithAwsDeviceV2(const char* value) { SetAwsDeviceV2(value); return *this;}
350
352
357 inline const Aws::String& GetAwsLogicalDeviceId() const{ return m_awsLogicalDeviceId; }
358 inline void SetAwsLogicalDeviceId(const Aws::String& value) { m_awsLogicalDeviceId = value; }
359 inline void SetAwsLogicalDeviceId(Aws::String&& value) { m_awsLogicalDeviceId = std::move(value); }
360 inline void SetAwsLogicalDeviceId(const char* value) { m_awsLogicalDeviceId.assign(value); }
365
367
370 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
371 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
372 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
373 inline UpdateVirtualInterfaceAttributesResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
374 inline UpdateVirtualInterfaceAttributesResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
375 inline UpdateVirtualInterfaceAttributesResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
376 inline UpdateVirtualInterfaceAttributesResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
378
380
383 inline bool GetSiteLinkEnabled() const{ return m_siteLinkEnabled; }
384 inline void SetSiteLinkEnabled(bool value) { m_siteLinkEnabled = value; }
387
389
390 inline const Aws::String& GetRequestId() const{ return m_requestId; }
391 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
392 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
393 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
395 inline UpdateVirtualInterfaceAttributesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
396 inline UpdateVirtualInterfaceAttributesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
398 private:
399
400 Aws::String m_ownerAccount;
401
402 Aws::String m_virtualInterfaceId;
403
404 Aws::String m_location;
405
406 Aws::String m_connectionId;
407
408 Aws::String m_virtualInterfaceType;
409
410 Aws::String m_virtualInterfaceName;
411
412 int m_vlan;
413
414 int m_asn;
415
416 long long m_amazonSideAsn;
417
418 Aws::String m_authKey;
419
420 Aws::String m_amazonAddress;
421
422 Aws::String m_customerAddress;
423
424 AddressFamily m_addressFamily;
425
426 VirtualInterfaceState m_virtualInterfaceState;
427
428 Aws::String m_customerRouterConfig;
429
430 int m_mtu;
431
432 bool m_jumboFrameCapable;
433
434 Aws::String m_virtualGatewayId;
435
436 Aws::String m_directConnectGatewayId;
437
438 Aws::Vector<RouteFilterPrefix> m_routeFilterPrefixes;
439
440 Aws::Vector<BGPPeer> m_bgpPeers;
441
442 Aws::String m_region;
443
444 Aws::String m_awsDeviceV2;
445
446 Aws::String m_awsLogicalDeviceId;
447
448 Aws::Vector<Tag> m_tags;
449
450 bool m_siteLinkEnabled;
451
452 Aws::String m_requestId;
453 };
454
455} // namespace Model
456} // namespace DirectConnect
457} // namespace Aws
UpdateVirtualInterfaceAttributesResult & WithRequestId(const char *value)
UpdateVirtualInterfaceAttributesResult & WithAwsLogicalDeviceId(const char *value)
UpdateVirtualInterfaceAttributesResult & WithCustomerRouterConfig(const char *value)
UpdateVirtualInterfaceAttributesResult & WithDirectConnectGatewayId(Aws::String &&value)
UpdateVirtualInterfaceAttributesResult & WithVirtualInterfaceName(const char *value)
UpdateVirtualInterfaceAttributesResult & WithAwsDeviceV2(Aws::String &&value)
UpdateVirtualInterfaceAttributesResult & WithVirtualInterfaceType(Aws::String &&value)
UpdateVirtualInterfaceAttributesResult & AddRouteFilterPrefixes(RouteFilterPrefix &&value)
UpdateVirtualInterfaceAttributesResult & WithBgpPeers(Aws::Vector< BGPPeer > &&value)
UpdateVirtualInterfaceAttributesResult & WithAmazonAddress(const Aws::String &value)
UpdateVirtualInterfaceAttributesResult & WithVirtualInterfaceId(Aws::String &&value)
UpdateVirtualInterfaceAttributesResult & AddBgpPeers(const BGPPeer &value)
UpdateVirtualInterfaceAttributesResult & WithAwsDeviceV2(const Aws::String &value)
UpdateVirtualInterfaceAttributesResult & WithCustomerAddress(const Aws::String &value)
UpdateVirtualInterfaceAttributesResult & WithAmazonAddress(const char *value)
UpdateVirtualInterfaceAttributesResult & WithDirectConnectGatewayId(const Aws::String &value)
UpdateVirtualInterfaceAttributesResult & WithVirtualGatewayId(const Aws::String &value)
UpdateVirtualInterfaceAttributesResult & WithAddressFamily(AddressFamily &&value)
UpdateVirtualInterfaceAttributesResult & WithAwsLogicalDeviceId(const Aws::String &value)
UpdateVirtualInterfaceAttributesResult & WithRegion(const Aws::String &value)
UpdateVirtualInterfaceAttributesResult & WithRouteFilterPrefixes(const Aws::Vector< RouteFilterPrefix > &value)
UpdateVirtualInterfaceAttributesResult & WithLocation(Aws::String &&value)
UpdateVirtualInterfaceAttributesResult & WithVirtualInterfaceType(const char *value)
UpdateVirtualInterfaceAttributesResult & WithOwnerAccount(const char *value)
UpdateVirtualInterfaceAttributesResult & AddRouteFilterPrefixes(const RouteFilterPrefix &value)
UpdateVirtualInterfaceAttributesResult & WithVirtualGatewayId(const char *value)
UpdateVirtualInterfaceAttributesResult & WithVirtualGatewayId(Aws::String &&value)
UpdateVirtualInterfaceAttributesResult & WithRouteFilterPrefixes(Aws::Vector< RouteFilterPrefix > &&value)
UpdateVirtualInterfaceAttributesResult & WithVirtualInterfaceName(const Aws::String &value)
UpdateVirtualInterfaceAttributesResult & WithAuthKey(const Aws::String &value)
UpdateVirtualInterfaceAttributesResult & WithCustomerRouterConfig(Aws::String &&value)
UpdateVirtualInterfaceAttributesResult & WithAmazonSideAsn(long long value)
UpdateVirtualInterfaceAttributesResult & WithVirtualInterfaceName(Aws::String &&value)
UpdateVirtualInterfaceAttributesResult & WithVirtualInterfaceState(const VirtualInterfaceState &value)
UpdateVirtualInterfaceAttributesResult & WithOwnerAccount(Aws::String &&value)
UpdateVirtualInterfaceAttributesResult & WithCustomerAddress(const char *value)
UpdateVirtualInterfaceAttributesResult & WithVirtualInterfaceId(const Aws::String &value)
UpdateVirtualInterfaceAttributesResult & WithVirtualInterfaceId(const char *value)
UpdateVirtualInterfaceAttributesResult & WithCustomerAddress(Aws::String &&value)
AWS_DIRECTCONNECT_API UpdateVirtualInterfaceAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateVirtualInterfaceAttributesResult & WithRequestId(Aws::String &&value)
UpdateVirtualInterfaceAttributesResult & WithRegion(Aws::String &&value)
UpdateVirtualInterfaceAttributesResult & WithConnectionId(const char *value)
AWS_DIRECTCONNECT_API UpdateVirtualInterfaceAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateVirtualInterfaceAttributesResult & WithVirtualInterfaceType(const Aws::String &value)
UpdateVirtualInterfaceAttributesResult & WithConnectionId(Aws::String &&value)
UpdateVirtualInterfaceAttributesResult & WithTags(Aws::Vector< Tag > &&value)
UpdateVirtualInterfaceAttributesResult & WithVirtualInterfaceState(VirtualInterfaceState &&value)
UpdateVirtualInterfaceAttributesResult & WithDirectConnectGatewayId(const char *value)
UpdateVirtualInterfaceAttributesResult & WithAuthKey(const char *value)
UpdateVirtualInterfaceAttributesResult & WithAwsDeviceV2(const char *value)
UpdateVirtualInterfaceAttributesResult & WithTags(const Aws::Vector< Tag > &value)
UpdateVirtualInterfaceAttributesResult & WithAwsLogicalDeviceId(Aws::String &&value)
UpdateVirtualInterfaceAttributesResult & WithOwnerAccount(const Aws::String &value)
UpdateVirtualInterfaceAttributesResult & WithAmazonAddress(Aws::String &&value)
UpdateVirtualInterfaceAttributesResult & WithLocation(const char *value)
UpdateVirtualInterfaceAttributesResult & WithLocation(const Aws::String &value)
UpdateVirtualInterfaceAttributesResult & WithCustomerRouterConfig(const Aws::String &value)
UpdateVirtualInterfaceAttributesResult & WithBgpPeers(const Aws::Vector< BGPPeer > &value)
UpdateVirtualInterfaceAttributesResult & WithRequestId(const Aws::String &value)
UpdateVirtualInterfaceAttributesResult & WithAuthKey(Aws::String &&value)
UpdateVirtualInterfaceAttributesResult & WithRegion(const char *value)
UpdateVirtualInterfaceAttributesResult & WithConnectionId(const Aws::String &value)
UpdateVirtualInterfaceAttributesResult & WithAddressFamily(const AddressFamily &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue