AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EthernetStatus.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/panorama/model/NetworkConnectionStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.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 EthernetStatus();
36 AWS_PANORAMA_API EthernetStatus(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const NetworkConnectionStatus& GetConnectionStatus() const{ return m_connectionStatus; }
46 inline bool ConnectionStatusHasBeenSet() const { return m_connectionStatusHasBeenSet; }
47 inline void SetConnectionStatus(const NetworkConnectionStatus& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = value; }
48 inline void SetConnectionStatus(NetworkConnectionStatus&& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = std::move(value); }
50 inline EthernetStatus& WithConnectionStatus(NetworkConnectionStatus&& value) { SetConnectionStatus(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetHwAddress() const{ return m_hwAddress; }
58 inline bool HwAddressHasBeenSet() const { return m_hwAddressHasBeenSet; }
59 inline void SetHwAddress(const Aws::String& value) { m_hwAddressHasBeenSet = true; m_hwAddress = value; }
60 inline void SetHwAddress(Aws::String&& value) { m_hwAddressHasBeenSet = true; m_hwAddress = std::move(value); }
61 inline void SetHwAddress(const char* value) { m_hwAddressHasBeenSet = true; m_hwAddress.assign(value); }
62 inline EthernetStatus& WithHwAddress(const Aws::String& value) { SetHwAddress(value); return *this;}
63 inline EthernetStatus& WithHwAddress(Aws::String&& value) { SetHwAddress(std::move(value)); return *this;}
64 inline EthernetStatus& WithHwAddress(const char* value) { SetHwAddress(value); return *this;}
66
68
71 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
72 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
73 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
74 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
75 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
76 inline EthernetStatus& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
77 inline EthernetStatus& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
78 inline EthernetStatus& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
80 private:
81
82 NetworkConnectionStatus m_connectionStatus;
83 bool m_connectionStatusHasBeenSet = false;
84
85 Aws::String m_hwAddress;
86 bool m_hwAddressHasBeenSet = false;
87
88 Aws::String m_ipAddress;
89 bool m_ipAddressHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Panorama
94} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue