AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
NetworkStatus.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Panorama
24{
25namespace Model
26{
27
34 {
35 public:
40
41
45 inline const EthernetStatus& GetEthernet0Status() const{ return m_ethernet0Status; }
46
50 inline bool Ethernet0StatusHasBeenSet() const { return m_ethernet0StatusHasBeenSet; }
51
55 inline void SetEthernet0Status(const EthernetStatus& value) { m_ethernet0StatusHasBeenSet = true; m_ethernet0Status = value; }
56
60 inline void SetEthernet0Status(EthernetStatus&& value) { m_ethernet0StatusHasBeenSet = true; m_ethernet0Status = std::move(value); }
61
65 inline NetworkStatus& WithEthernet0Status(const EthernetStatus& value) { SetEthernet0Status(value); return *this;}
66
70 inline NetworkStatus& WithEthernet0Status(EthernetStatus&& value) { SetEthernet0Status(std::move(value)); return *this;}
71
72
76 inline const EthernetStatus& GetEthernet1Status() const{ return m_ethernet1Status; }
77
81 inline bool Ethernet1StatusHasBeenSet() const { return m_ethernet1StatusHasBeenSet; }
82
86 inline void SetEthernet1Status(const EthernetStatus& value) { m_ethernet1StatusHasBeenSet = true; m_ethernet1Status = value; }
87
91 inline void SetEthernet1Status(EthernetStatus&& value) { m_ethernet1StatusHasBeenSet = true; m_ethernet1Status = std::move(value); }
92
96 inline NetworkStatus& WithEthernet1Status(const EthernetStatus& value) { SetEthernet1Status(value); return *this;}
97
101 inline NetworkStatus& WithEthernet1Status(EthernetStatus&& value) { SetEthernet1Status(std::move(value)); return *this;}
102
103
107 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
108
112 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
113
117 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
118
122 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
123
127 inline NetworkStatus& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
128
132 inline NetworkStatus& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
133
134
138 inline const NtpStatus& GetNtpStatus() const{ return m_ntpStatus; }
139
143 inline bool NtpStatusHasBeenSet() const { return m_ntpStatusHasBeenSet; }
144
148 inline void SetNtpStatus(const NtpStatus& value) { m_ntpStatusHasBeenSet = true; m_ntpStatus = value; }
149
153 inline void SetNtpStatus(NtpStatus&& value) { m_ntpStatusHasBeenSet = true; m_ntpStatus = std::move(value); }
154
158 inline NetworkStatus& WithNtpStatus(const NtpStatus& value) { SetNtpStatus(value); return *this;}
159
163 inline NetworkStatus& WithNtpStatus(NtpStatus&& value) { SetNtpStatus(std::move(value)); return *this;}
164
165 private:
166
167 EthernetStatus m_ethernet0Status;
168 bool m_ethernet0StatusHasBeenSet = false;
169
170 EthernetStatus m_ethernet1Status;
171 bool m_ethernet1StatusHasBeenSet = false;
172
173 Aws::Utils::DateTime m_lastUpdatedTime;
174 bool m_lastUpdatedTimeHasBeenSet = false;
175
176 NtpStatus m_ntpStatus;
177 bool m_ntpStatusHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace Panorama
182} // namespace Aws
#define AWS_PANORAMA_API
const EthernetStatus & GetEthernet0Status() const
Definition: NetworkStatus.h:45
const Aws::Utils::DateTime & GetLastUpdatedTime() const
NetworkStatus & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetEthernet1Status(EthernetStatus &&value)
Definition: NetworkStatus.h:91
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetEthernet1Status(const EthernetStatus &value)
Definition: NetworkStatus.h:86
NetworkStatus & WithEthernet0Status(const EthernetStatus &value)
Definition: NetworkStatus.h:65
NetworkStatus & WithEthernet1Status(const EthernetStatus &value)
Definition: NetworkStatus.h:96
NetworkStatus & WithNtpStatus(const NtpStatus &value)
void SetEthernet0Status(EthernetStatus &&value)
Definition: NetworkStatus.h:60
void SetEthernet0Status(const EthernetStatus &value)
Definition: NetworkStatus.h:55
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
NetworkStatus & WithNtpStatus(NtpStatus &&value)
NetworkStatus & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
AWS_PANORAMA_API NetworkStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
const EthernetStatus & GetEthernet1Status() const
Definition: NetworkStatus.h:76
void SetNtpStatus(NtpStatus &&value)
void SetNtpStatus(const NtpStatus &value)
NetworkStatus & WithEthernet0Status(EthernetStatus &&value)
Definition: NetworkStatus.h:70
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
const NtpStatus & GetNtpStatus() const
NetworkStatus & WithEthernet1Status(EthernetStatus &&value)
AWS_PANORAMA_API NetworkStatus(Aws::Utils::Json::JsonView jsonValue)