AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
NetworkPayload.h
Go to the documentation of this file.
1
6#pragma once
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:
39
40
44 inline const EthernetPayload& GetEthernet0() const{ return m_ethernet0; }
45
49 inline bool Ethernet0HasBeenSet() const { return m_ethernet0HasBeenSet; }
50
54 inline void SetEthernet0(const EthernetPayload& value) { m_ethernet0HasBeenSet = true; m_ethernet0 = value; }
55
59 inline void SetEthernet0(EthernetPayload&& value) { m_ethernet0HasBeenSet = true; m_ethernet0 = std::move(value); }
60
64 inline NetworkPayload& WithEthernet0(const EthernetPayload& value) { SetEthernet0(value); return *this;}
65
69 inline NetworkPayload& WithEthernet0(EthernetPayload&& value) { SetEthernet0(std::move(value)); return *this;}
70
71
75 inline const EthernetPayload& GetEthernet1() const{ return m_ethernet1; }
76
80 inline bool Ethernet1HasBeenSet() const { return m_ethernet1HasBeenSet; }
81
85 inline void SetEthernet1(const EthernetPayload& value) { m_ethernet1HasBeenSet = true; m_ethernet1 = value; }
86
90 inline void SetEthernet1(EthernetPayload&& value) { m_ethernet1HasBeenSet = true; m_ethernet1 = std::move(value); }
91
95 inline NetworkPayload& WithEthernet1(const EthernetPayload& value) { SetEthernet1(value); return *this;}
96
100 inline NetworkPayload& WithEthernet1(EthernetPayload&& value) { SetEthernet1(std::move(value)); return *this;}
101
102
106 inline const NtpPayload& GetNtp() const{ return m_ntp; }
107
111 inline bool NtpHasBeenSet() const { return m_ntpHasBeenSet; }
112
116 inline void SetNtp(const NtpPayload& value) { m_ntpHasBeenSet = true; m_ntp = value; }
117
121 inline void SetNtp(NtpPayload&& value) { m_ntpHasBeenSet = true; m_ntp = std::move(value); }
122
126 inline NetworkPayload& WithNtp(const NtpPayload& value) { SetNtp(value); return *this;}
127
131 inline NetworkPayload& WithNtp(NtpPayload&& value) { SetNtp(std::move(value)); return *this;}
132
133 private:
134
135 EthernetPayload m_ethernet0;
136 bool m_ethernet0HasBeenSet = false;
137
138 EthernetPayload m_ethernet1;
139 bool m_ethernet1HasBeenSet = false;
140
141 NtpPayload m_ntp;
142 bool m_ntpHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace Panorama
147} // namespace Aws
#define AWS_PANORAMA_API
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)