AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectPeerBgpConfiguration.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace NetworkManager
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_NETWORKMANAGER_API ConnectPeerBgpConfiguration();
37 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline long long GetCoreNetworkAsn() const{ return m_coreNetworkAsn; }
45 inline bool CoreNetworkAsnHasBeenSet() const { return m_coreNetworkAsnHasBeenSet; }
46 inline void SetCoreNetworkAsn(long long value) { m_coreNetworkAsnHasBeenSet = true; m_coreNetworkAsn = value; }
47 inline ConnectPeerBgpConfiguration& WithCoreNetworkAsn(long long value) { SetCoreNetworkAsn(value); return *this;}
49
51
54 inline long long GetPeerAsn() const{ return m_peerAsn; }
55 inline bool PeerAsnHasBeenSet() const { return m_peerAsnHasBeenSet; }
56 inline void SetPeerAsn(long long value) { m_peerAsnHasBeenSet = true; m_peerAsn = value; }
57 inline ConnectPeerBgpConfiguration& WithPeerAsn(long long value) { SetPeerAsn(value); return *this;}
59
61
64 inline const Aws::String& GetCoreNetworkAddress() const{ return m_coreNetworkAddress; }
65 inline bool CoreNetworkAddressHasBeenSet() const { return m_coreNetworkAddressHasBeenSet; }
66 inline void SetCoreNetworkAddress(const Aws::String& value) { m_coreNetworkAddressHasBeenSet = true; m_coreNetworkAddress = value; }
67 inline void SetCoreNetworkAddress(Aws::String&& value) { m_coreNetworkAddressHasBeenSet = true; m_coreNetworkAddress = std::move(value); }
68 inline void SetCoreNetworkAddress(const char* value) { m_coreNetworkAddressHasBeenSet = true; m_coreNetworkAddress.assign(value); }
70 inline ConnectPeerBgpConfiguration& WithCoreNetworkAddress(Aws::String&& value) { SetCoreNetworkAddress(std::move(value)); return *this;}
71 inline ConnectPeerBgpConfiguration& WithCoreNetworkAddress(const char* value) { SetCoreNetworkAddress(value); return *this;}
73
75
78 inline const Aws::String& GetPeerAddress() const{ return m_peerAddress; }
79 inline bool PeerAddressHasBeenSet() const { return m_peerAddressHasBeenSet; }
80 inline void SetPeerAddress(const Aws::String& value) { m_peerAddressHasBeenSet = true; m_peerAddress = value; }
81 inline void SetPeerAddress(Aws::String&& value) { m_peerAddressHasBeenSet = true; m_peerAddress = std::move(value); }
82 inline void SetPeerAddress(const char* value) { m_peerAddressHasBeenSet = true; m_peerAddress.assign(value); }
83 inline ConnectPeerBgpConfiguration& WithPeerAddress(const Aws::String& value) { SetPeerAddress(value); return *this;}
84 inline ConnectPeerBgpConfiguration& WithPeerAddress(Aws::String&& value) { SetPeerAddress(std::move(value)); return *this;}
85 inline ConnectPeerBgpConfiguration& WithPeerAddress(const char* value) { SetPeerAddress(value); return *this;}
87 private:
88
89 long long m_coreNetworkAsn;
90 bool m_coreNetworkAsnHasBeenSet = false;
91
92 long long m_peerAsn;
93 bool m_peerAsnHasBeenSet = false;
94
95 Aws::String m_coreNetworkAddress;
96 bool m_coreNetworkAddressHasBeenSet = false;
97
98 Aws::String m_peerAddress;
99 bool m_peerAddressHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace NetworkManager
104} // namespace Aws
AWS_NETWORKMANAGER_API ConnectPeerBgpConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectPeerBgpConfiguration & WithPeerAddress(Aws::String &&value)
ConnectPeerBgpConfiguration & WithCoreNetworkAsn(long long value)
ConnectPeerBgpConfiguration & WithCoreNetworkAddress(const char *value)
ConnectPeerBgpConfiguration & WithPeerAddress(const char *value)
ConnectPeerBgpConfiguration & WithCoreNetworkAddress(Aws::String &&value)
ConnectPeerBgpConfiguration & WithPeerAddress(const Aws::String &value)
AWS_NETWORKMANAGER_API ConnectPeerBgpConfiguration(Aws::Utils::Json::JsonView jsonValue)
ConnectPeerBgpConfiguration & WithPeerAsn(long long value)
ConnectPeerBgpConfiguration & WithCoreNetworkAddress(const Aws::String &value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue