AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BgpOptions.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace NetworkManager
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_NETWORKMANAGER_API BgpOptions();
33 AWS_NETWORKMANAGER_API BgpOptions(Aws::Utils::Json::JsonView jsonValue);
34 AWS_NETWORKMANAGER_API BgpOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline long long GetPeerAsn() const{ return m_peerAsn; }
43 inline bool PeerAsnHasBeenSet() const { return m_peerAsnHasBeenSet; }
44 inline void SetPeerAsn(long long value) { m_peerAsnHasBeenSet = true; m_peerAsn = value; }
45 inline BgpOptions& WithPeerAsn(long long value) { SetPeerAsn(value); return *this;}
47 private:
48
49 long long m_peerAsn;
50 bool m_peerAsnHasBeenSet = false;
51 };
52
53} // namespace Model
54} // namespace NetworkManager
55} // namespace Aws
AWS_NETWORKMANAGER_API BgpOptions(Aws::Utils::Json::JsonView jsonValue)
BgpOptions & WithPeerAsn(long long value)
Definition BgpOptions.h:45
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NETWORKMANAGER_API BgpOptions()
AWS_NETWORKMANAGER_API BgpOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue