AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
EthernetStatus.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/panorama/Panorama_EXPORTS.h>
9#include <aws/panorama/model/NetworkConnectionStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Panorama {
21namespace Model {
22
29 public:
30 AWS_PANORAMA_API EthernetStatus() = default;
31 AWS_PANORAMA_API EthernetStatus(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline NetworkConnectionStatus GetConnectionStatus() const { return m_connectionStatus; }
40 inline bool ConnectionStatusHasBeenSet() const { return m_connectionStatusHasBeenSet; }
42 m_connectionStatusHasBeenSet = true;
43 m_connectionStatus = value;
44 }
47 return *this;
48 }
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) {
59 m_hwAddressHasBeenSet = true;
60 m_hwAddress = std::forward<HwAddressT>(value);
61 }
62 template <typename HwAddressT = Aws::String>
63 EthernetStatus& WithHwAddress(HwAddressT&& value) {
64 SetHwAddress(std::forward<HwAddressT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
74 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
75 template <typename IpAddressT = Aws::String>
76 void SetIpAddress(IpAddressT&& value) {
77 m_ipAddressHasBeenSet = true;
78 m_ipAddress = std::forward<IpAddressT>(value);
79 }
80 template <typename IpAddressT = Aws::String>
81 EthernetStatus& WithIpAddress(IpAddressT&& value) {
82 SetIpAddress(std::forward<IpAddressT>(value));
83 return *this;
84 }
86 private:
88
89 Aws::String m_hwAddress;
90
91 Aws::String m_ipAddress;
92 bool m_connectionStatusHasBeenSet = false;
93 bool m_hwAddressHasBeenSet = false;
94 bool m_ipAddressHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace Panorama
99} // 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