AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkPayload.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/panorama/model/EthernetPayload.h>
9#include <aws/panorama/model/NtpPayload.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Panorama
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_PANORAMA_API NetworkPayload();
36 AWS_PANORAMA_API NetworkPayload(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const EthernetPayload& GetEthernet0() const{ return m_ethernet0; }
46 inline bool Ethernet0HasBeenSet() const { return m_ethernet0HasBeenSet; }
47 inline void SetEthernet0(const EthernetPayload& value) { m_ethernet0HasBeenSet = true; m_ethernet0 = value; }
48 inline void SetEthernet0(EthernetPayload&& value) { m_ethernet0HasBeenSet = true; m_ethernet0 = std::move(value); }
49 inline NetworkPayload& WithEthernet0(const EthernetPayload& value) { SetEthernet0(value); return *this;}
50 inline NetworkPayload& WithEthernet0(EthernetPayload&& value) { SetEthernet0(std::move(value)); return *this;}
52
54
57 inline const EthernetPayload& GetEthernet1() const{ return m_ethernet1; }
58 inline bool Ethernet1HasBeenSet() const { return m_ethernet1HasBeenSet; }
59 inline void SetEthernet1(const EthernetPayload& value) { m_ethernet1HasBeenSet = true; m_ethernet1 = value; }
60 inline void SetEthernet1(EthernetPayload&& value) { m_ethernet1HasBeenSet = true; m_ethernet1 = std::move(value); }
61 inline NetworkPayload& WithEthernet1(const EthernetPayload& value) { SetEthernet1(value); return *this;}
62 inline NetworkPayload& WithEthernet1(EthernetPayload&& value) { SetEthernet1(std::move(value)); return *this;}
64
66
69 inline const NtpPayload& GetNtp() const{ return m_ntp; }
70 inline bool NtpHasBeenSet() const { return m_ntpHasBeenSet; }
71 inline void SetNtp(const NtpPayload& value) { m_ntpHasBeenSet = true; m_ntp = value; }
72 inline void SetNtp(NtpPayload&& value) { m_ntpHasBeenSet = true; m_ntp = std::move(value); }
73 inline NetworkPayload& WithNtp(const NtpPayload& value) { SetNtp(value); return *this;}
74 inline NetworkPayload& WithNtp(NtpPayload&& value) { SetNtp(std::move(value)); return *this;}
76 private:
77
78 EthernetPayload m_ethernet0;
79 bool m_ethernet0HasBeenSet = false;
80
81 EthernetPayload m_ethernet1;
82 bool m_ethernet1HasBeenSet = false;
83
84 NtpPayload m_ntp;
85 bool m_ntpHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Panorama
90} // namespace Aws
AWS_PANORAMA_API NetworkPayload(Aws::Utils::Json::JsonView jsonValue)
NetworkPayload & WithNtp(NtpPayload &&value)
const EthernetPayload & GetEthernet0() const
void SetEthernet0(const EthernetPayload &value)
NetworkPayload & WithEthernet0(EthernetPayload &&value)
NetworkPayload & WithEthernet0(const EthernetPayload &value)
void SetEthernet1(EthernetPayload &&value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
const NtpPayload & GetNtp() const
NetworkPayload & WithEthernet1(const EthernetPayload &value)
AWS_PANORAMA_API NetworkPayload & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkPayload & WithNtp(const NtpPayload &value)
void SetNtp(const NtpPayload &value)
NetworkPayload & WithEthernet1(EthernetPayload &&value)
void SetEthernet0(EthernetPayload &&value)
void SetNtp(NtpPayload &&value)
const EthernetPayload & GetEthernet1() const
void SetEthernet1(const EthernetPayload &value)
Aws::Utils::Json::JsonValue JsonValue