AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkStatus.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/panorama/model/EthernetStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/panorama/model/NtpStatus.h>
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:
36 AWS_PANORAMA_API NetworkStatus();
37 AWS_PANORAMA_API NetworkStatus(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const EthernetStatus& GetEthernet0Status() const{ return m_ethernet0Status; }
47 inline bool Ethernet0StatusHasBeenSet() const { return m_ethernet0StatusHasBeenSet; }
48 inline void SetEthernet0Status(const EthernetStatus& value) { m_ethernet0StatusHasBeenSet = true; m_ethernet0Status = value; }
49 inline void SetEthernet0Status(EthernetStatus&& value) { m_ethernet0StatusHasBeenSet = true; m_ethernet0Status = std::move(value); }
50 inline NetworkStatus& WithEthernet0Status(const EthernetStatus& value) { SetEthernet0Status(value); return *this;}
51 inline NetworkStatus& WithEthernet0Status(EthernetStatus&& value) { SetEthernet0Status(std::move(value)); return *this;}
53
55
58 inline const EthernetStatus& GetEthernet1Status() const{ return m_ethernet1Status; }
59 inline bool Ethernet1StatusHasBeenSet() const { return m_ethernet1StatusHasBeenSet; }
60 inline void SetEthernet1Status(const EthernetStatus& value) { m_ethernet1StatusHasBeenSet = true; m_ethernet1Status = value; }
61 inline void SetEthernet1Status(EthernetStatus&& value) { m_ethernet1StatusHasBeenSet = true; m_ethernet1Status = std::move(value); }
62 inline NetworkStatus& WithEthernet1Status(const EthernetStatus& value) { SetEthernet1Status(value); return *this;}
63 inline NetworkStatus& WithEthernet1Status(EthernetStatus&& value) { SetEthernet1Status(std::move(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
71 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
72 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
73 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
74 inline NetworkStatus& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
75 inline NetworkStatus& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
77
79
82 inline const NtpStatus& GetNtpStatus() const{ return m_ntpStatus; }
83 inline bool NtpStatusHasBeenSet() const { return m_ntpStatusHasBeenSet; }
84 inline void SetNtpStatus(const NtpStatus& value) { m_ntpStatusHasBeenSet = true; m_ntpStatus = value; }
85 inline void SetNtpStatus(NtpStatus&& value) { m_ntpStatusHasBeenSet = true; m_ntpStatus = std::move(value); }
86 inline NetworkStatus& WithNtpStatus(const NtpStatus& value) { SetNtpStatus(value); return *this;}
87 inline NetworkStatus& WithNtpStatus(NtpStatus&& value) { SetNtpStatus(std::move(value)); return *this;}
89 private:
90
91 EthernetStatus m_ethernet0Status;
92 bool m_ethernet0StatusHasBeenSet = false;
93
94 EthernetStatus m_ethernet1Status;
95 bool m_ethernet1StatusHasBeenSet = false;
96
97 Aws::Utils::DateTime m_lastUpdatedTime;
98 bool m_lastUpdatedTimeHasBeenSet = false;
99
100 NtpStatus m_ntpStatus;
101 bool m_ntpStatusHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Panorama
106} // namespace Aws
const EthernetStatus & GetEthernet0Status() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
NetworkStatus & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetEthernet1Status(EthernetStatus &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetEthernet1Status(const EthernetStatus &value)
NetworkStatus & WithEthernet0Status(const EthernetStatus &value)
NetworkStatus & WithEthernet1Status(const EthernetStatus &value)
NetworkStatus & WithNtpStatus(const NtpStatus &value)
void SetEthernet0Status(EthernetStatus &&value)
void SetEthernet0Status(const EthernetStatus &value)
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
void SetNtpStatus(NtpStatus &&value)
void SetNtpStatus(const NtpStatus &value)
NetworkStatus & WithEthernet0Status(EthernetStatus &&value)
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)
Aws::Utils::Json::JsonValue JsonValue