AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBGPPeerRequest.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 <aws/directconnect/model/NewBGPPeer.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DirectConnect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DIRECTCONNECT_API CreateBGPPeerRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateBGPPeer"; }
32
33 AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override;
34
35 AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetVirtualInterfaceId() const{ return m_virtualInterfaceId; }
43 inline bool VirtualInterfaceIdHasBeenSet() const { return m_virtualInterfaceIdHasBeenSet; }
44 inline void SetVirtualInterfaceId(const Aws::String& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = value; }
45 inline void SetVirtualInterfaceId(Aws::String&& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = std::move(value); }
46 inline void SetVirtualInterfaceId(const char* value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId.assign(value); }
48 inline CreateBGPPeerRequest& WithVirtualInterfaceId(Aws::String&& value) { SetVirtualInterfaceId(std::move(value)); return *this;}
49 inline CreateBGPPeerRequest& WithVirtualInterfaceId(const char* value) { SetVirtualInterfaceId(value); return *this;}
51
53
56 inline const NewBGPPeer& GetNewBGPPeer() const{ return m_newBGPPeer; }
57 inline bool NewBGPPeerHasBeenSet() const { return m_newBGPPeerHasBeenSet; }
58 inline void SetNewBGPPeer(const NewBGPPeer& value) { m_newBGPPeerHasBeenSet = true; m_newBGPPeer = value; }
59 inline void SetNewBGPPeer(NewBGPPeer&& value) { m_newBGPPeerHasBeenSet = true; m_newBGPPeer = std::move(value); }
60 inline CreateBGPPeerRequest& WithNewBGPPeer(const NewBGPPeer& value) { SetNewBGPPeer(value); return *this;}
61 inline CreateBGPPeerRequest& WithNewBGPPeer(NewBGPPeer&& value) { SetNewBGPPeer(std::move(value)); return *this;}
63 private:
64
65 Aws::String m_virtualInterfaceId;
66 bool m_virtualInterfaceIdHasBeenSet = false;
67
68 NewBGPPeer m_newBGPPeer;
69 bool m_newBGPPeerHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace DirectConnect
74} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreateBGPPeerRequest & WithNewBGPPeer(NewBGPPeer &&value)
CreateBGPPeerRequest & WithVirtualInterfaceId(const char *value)
CreateBGPPeerRequest & WithNewBGPPeer(const NewBGPPeer &value)
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
CreateBGPPeerRequest & WithVirtualInterfaceId(Aws::String &&value)
CreateBGPPeerRequest & WithVirtualInterfaceId(const Aws::String &value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String