AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteBGPPeerRequest.h
1
6#pragma once
7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/directconnect/DirectConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace DirectConnect
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_DIRECTCONNECT_API DeleteBGPPeerRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteBGPPeer"; }
31
32 AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override;
33
34 AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
41 inline const Aws::String& GetVirtualInterfaceId() const{ return m_virtualInterfaceId; }
42 inline bool VirtualInterfaceIdHasBeenSet() const { return m_virtualInterfaceIdHasBeenSet; }
43 inline void SetVirtualInterfaceId(const Aws::String& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = value; }
44 inline void SetVirtualInterfaceId(Aws::String&& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = std::move(value); }
45 inline void SetVirtualInterfaceId(const char* value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId.assign(value); }
47 inline DeleteBGPPeerRequest& WithVirtualInterfaceId(Aws::String&& value) { SetVirtualInterfaceId(std::move(value)); return *this;}
48 inline DeleteBGPPeerRequest& WithVirtualInterfaceId(const char* value) { SetVirtualInterfaceId(value); return *this;}
50
52
56 inline int GetAsn() const{ return m_asn; }
57 inline bool AsnHasBeenSet() const { return m_asnHasBeenSet; }
58 inline void SetAsn(int value) { m_asnHasBeenSet = true; m_asn = value; }
59 inline DeleteBGPPeerRequest& WithAsn(int value) { SetAsn(value); return *this;}
61
63
66 inline const Aws::String& GetCustomerAddress() const{ return m_customerAddress; }
67 inline bool CustomerAddressHasBeenSet() const { return m_customerAddressHasBeenSet; }
68 inline void SetCustomerAddress(const Aws::String& value) { m_customerAddressHasBeenSet = true; m_customerAddress = value; }
69 inline void SetCustomerAddress(Aws::String&& value) { m_customerAddressHasBeenSet = true; m_customerAddress = std::move(value); }
70 inline void SetCustomerAddress(const char* value) { m_customerAddressHasBeenSet = true; m_customerAddress.assign(value); }
71 inline DeleteBGPPeerRequest& WithCustomerAddress(const Aws::String& value) { SetCustomerAddress(value); return *this;}
72 inline DeleteBGPPeerRequest& WithCustomerAddress(Aws::String&& value) { SetCustomerAddress(std::move(value)); return *this;}
73 inline DeleteBGPPeerRequest& WithCustomerAddress(const char* value) { SetCustomerAddress(value); return *this;}
75
77
80 inline const Aws::String& GetBgpPeerId() const{ return m_bgpPeerId; }
81 inline bool BgpPeerIdHasBeenSet() const { return m_bgpPeerIdHasBeenSet; }
82 inline void SetBgpPeerId(const Aws::String& value) { m_bgpPeerIdHasBeenSet = true; m_bgpPeerId = value; }
83 inline void SetBgpPeerId(Aws::String&& value) { m_bgpPeerIdHasBeenSet = true; m_bgpPeerId = std::move(value); }
84 inline void SetBgpPeerId(const char* value) { m_bgpPeerIdHasBeenSet = true; m_bgpPeerId.assign(value); }
85 inline DeleteBGPPeerRequest& WithBgpPeerId(const Aws::String& value) { SetBgpPeerId(value); return *this;}
86 inline DeleteBGPPeerRequest& WithBgpPeerId(Aws::String&& value) { SetBgpPeerId(std::move(value)); return *this;}
87 inline DeleteBGPPeerRequest& WithBgpPeerId(const char* value) { SetBgpPeerId(value); return *this;}
89 private:
90
91 Aws::String m_virtualInterfaceId;
92 bool m_virtualInterfaceIdHasBeenSet = false;
93
94 int m_asn;
95 bool m_asnHasBeenSet = false;
96
97 Aws::String m_customerAddress;
98 bool m_customerAddressHasBeenSet = false;
99
100 Aws::String m_bgpPeerId;
101 bool m_bgpPeerIdHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace DirectConnect
106} // namespace Aws
DeleteBGPPeerRequest & WithBgpPeerId(const Aws::String &value)
DeleteBGPPeerRequest & WithBgpPeerId(Aws::String &&value)
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
DeleteBGPPeerRequest & WithVirtualInterfaceId(Aws::String &&value)
DeleteBGPPeerRequest & WithBgpPeerId(const char *value)
DeleteBGPPeerRequest & WithCustomerAddress(Aws::String &&value)
DeleteBGPPeerRequest & WithCustomerAddress(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteBGPPeerRequest & WithCustomerAddress(const Aws::String &value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteBGPPeerRequest & WithVirtualInterfaceId(const Aws::String &value)
DeleteBGPPeerRequest & WithVirtualInterfaceId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String