AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 NetworkConnectionStatus GetConnectionStatus() const { return m_connectionStatus; }
46 inline bool ConnectionStatusHasBeenSet() const { return m_connectionStatusHasBeenSet; }
47 inline void SetConnectionStatus(NetworkConnectionStatus value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = value; }
50
52
55 inline const Aws::String& GetHwAddress() const { return m_hwAddress; }
56 inline bool HwAddressHasBeenSet() const { return m_hwAddressHasBeenSet; }
57 template<typename HwAddressT = Aws::String>
58 void SetHwAddress(HwAddressT&& value) { m_hwAddressHasBeenSet = true; m_hwAddress = std::forward<HwAddressT>(value); }
59 template<typename HwAddressT = Aws::String>
60 EthernetStatus& WithHwAddress(HwAddressT&& value) { SetHwAddress(std::forward<HwAddressT>(value)); return *this;}
62
64
67 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
68 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
69 template<typename IpAddressT = Aws::String>
70 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::forward<IpAddressT>(value); }
71 template<typename IpAddressT = Aws::String>
72 EthernetStatus& WithIpAddress(IpAddressT&& value) { SetIpAddress(std::forward<IpAddressT>(value)); return *this;}
74 private:
75
77 bool m_connectionStatusHasBeenSet = false;
78
79 Aws::String m_hwAddress;
80 bool m_hwAddressHasBeenSet = false;
81
82 Aws::String m_ipAddress;
83 bool m_ipAddressHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Panorama
88} // namespace Aws
const Aws::String & GetHwAddress() const
AWS_PANORAMA_API EthernetStatus()=default
NetworkConnectionStatus GetConnectionStatus() const
void SetConnectionStatus(NetworkConnectionStatus value)
void SetIpAddress(IpAddressT &&value)
EthernetStatus & WithIpAddress(IpAddressT &&value)
AWS_PANORAMA_API EthernetStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
EthernetStatus & WithHwAddress(HwAddressT &&value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetIpAddress() const
void SetHwAddress(HwAddressT &&value)
EthernetStatus & WithConnectionStatus(NetworkConnectionStatus value)
AWS_PANORAMA_API EthernetStatus(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue