AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
EthernetStatus.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 NetworkConnectionStatus& GetConnectionStatus() const{ return m_connectionStatus; }
45
49 inline bool ConnectionStatusHasBeenSet() const { return m_connectionStatusHasBeenSet; }
50
54 inline void SetConnectionStatus(const NetworkConnectionStatus& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = value; }
55
59 inline void SetConnectionStatus(NetworkConnectionStatus&& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = std::move(value); }
60
65
69 inline EthernetStatus& WithConnectionStatus(NetworkConnectionStatus&& value) { SetConnectionStatus(std::move(value)); return *this;}
70
71
75 inline const Aws::String& GetHwAddress() const{ return m_hwAddress; }
76
80 inline bool HwAddressHasBeenSet() const { return m_hwAddressHasBeenSet; }
81
85 inline void SetHwAddress(const Aws::String& value) { m_hwAddressHasBeenSet = true; m_hwAddress = value; }
86
90 inline void SetHwAddress(Aws::String&& value) { m_hwAddressHasBeenSet = true; m_hwAddress = std::move(value); }
91
95 inline void SetHwAddress(const char* value) { m_hwAddressHasBeenSet = true; m_hwAddress.assign(value); }
96
100 inline EthernetStatus& WithHwAddress(const Aws::String& value) { SetHwAddress(value); return *this;}
101
105 inline EthernetStatus& WithHwAddress(Aws::String&& value) { SetHwAddress(std::move(value)); return *this;}
106
110 inline EthernetStatus& WithHwAddress(const char* value) { SetHwAddress(value); return *this;}
111
112
116 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
117
121 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
122
126 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
127
131 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
132
136 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
137
141 inline EthernetStatus& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
142
146 inline EthernetStatus& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
147
151 inline EthernetStatus& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
152
153 private:
154
155 NetworkConnectionStatus m_connectionStatus;
156 bool m_connectionStatusHasBeenSet = false;
157
158 Aws::String m_hwAddress;
159 bool m_hwAddressHasBeenSet = false;
160
161 Aws::String m_ipAddress;
162 bool m_ipAddressHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace Panorama
167} // namespace Aws
#define AWS_PANORAMA_API
const Aws::String & GetHwAddress() const
EthernetStatus & WithConnectionStatus(NetworkConnectionStatus &&value)
EthernetStatus & WithHwAddress(const char *value)
void SetHwAddress(const Aws::String &value)
EthernetStatus & WithHwAddress(const Aws::String &value)
void SetIpAddress(Aws::String &&value)
void SetHwAddress(const char *value)
EthernetStatus & WithIpAddress(const char *value)
void SetHwAddress(Aws::String &&value)
void SetIpAddress(const char *value)
void SetConnectionStatus(const NetworkConnectionStatus &value)
AWS_PANORAMA_API EthernetStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
EthernetStatus & WithIpAddress(Aws::String &&value)
EthernetStatus & WithConnectionStatus(const NetworkConnectionStatus &value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetIpAddress() const
const NetworkConnectionStatus & GetConnectionStatus() const
void SetConnectionStatus(NetworkConnectionStatus &&value)
EthernetStatus & WithHwAddress(Aws::String &&value)
EthernetStatus & WithIpAddress(const Aws::String &value)
AWS_PANORAMA_API EthernetStatus(Aws::Utils::Json::JsonView jsonValue)
void SetIpAddress(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String