AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PhysicalNetworkInterface.h
1
6#pragma once
7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/snow-device-management/model/IpAddressAssignment.h>
10#include <aws/snow-device-management/model/PhysicalConnectorType.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 SnowDeviceManagement
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SNOWDEVICEMANAGEMENT_API PhysicalNetworkInterface() = default;
38 AWS_SNOWDEVICEMANAGEMENT_API PhysicalNetworkInterface(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SNOWDEVICEMANAGEMENT_API PhysicalNetworkInterface& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDefaultGateway() const { return m_defaultGateway; }
48 inline bool DefaultGatewayHasBeenSet() const { return m_defaultGatewayHasBeenSet; }
49 template<typename DefaultGatewayT = Aws::String>
50 void SetDefaultGateway(DefaultGatewayT&& value) { m_defaultGatewayHasBeenSet = true; m_defaultGateway = std::forward<DefaultGatewayT>(value); }
51 template<typename DefaultGatewayT = Aws::String>
52 PhysicalNetworkInterface& WithDefaultGateway(DefaultGatewayT&& value) { SetDefaultGateway(std::forward<DefaultGatewayT>(value)); return *this;}
54
56
59 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
60 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
61 template<typename IpAddressT = Aws::String>
62 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::forward<IpAddressT>(value); }
63 template<typename IpAddressT = Aws::String>
64 PhysicalNetworkInterface& WithIpAddress(IpAddressT&& value) { SetIpAddress(std::forward<IpAddressT>(value)); return *this;}
66
68
71 inline IpAddressAssignment GetIpAddressAssignment() const { return m_ipAddressAssignment; }
72 inline bool IpAddressAssignmentHasBeenSet() const { return m_ipAddressAssignmentHasBeenSet; }
73 inline void SetIpAddressAssignment(IpAddressAssignment value) { m_ipAddressAssignmentHasBeenSet = true; m_ipAddressAssignment = value; }
76
78
81 inline const Aws::String& GetMacAddress() const { return m_macAddress; }
82 inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; }
83 template<typename MacAddressT = Aws::String>
84 void SetMacAddress(MacAddressT&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::forward<MacAddressT>(value); }
85 template<typename MacAddressT = Aws::String>
86 PhysicalNetworkInterface& WithMacAddress(MacAddressT&& value) { SetMacAddress(std::forward<MacAddressT>(value)); return *this;}
88
90
93 inline const Aws::String& GetNetmask() const { return m_netmask; }
94 inline bool NetmaskHasBeenSet() const { return m_netmaskHasBeenSet; }
95 template<typename NetmaskT = Aws::String>
96 void SetNetmask(NetmaskT&& value) { m_netmaskHasBeenSet = true; m_netmask = std::forward<NetmaskT>(value); }
97 template<typename NetmaskT = Aws::String>
98 PhysicalNetworkInterface& WithNetmask(NetmaskT&& value) { SetNetmask(std::forward<NetmaskT>(value)); return *this;}
100
102
105 inline PhysicalConnectorType GetPhysicalConnectorType() const { return m_physicalConnectorType; }
106 inline bool PhysicalConnectorTypeHasBeenSet() const { return m_physicalConnectorTypeHasBeenSet; }
107 inline void SetPhysicalConnectorType(PhysicalConnectorType value) { m_physicalConnectorTypeHasBeenSet = true; m_physicalConnectorType = value; }
110
112
115 inline const Aws::String& GetPhysicalNetworkInterfaceId() const { return m_physicalNetworkInterfaceId; }
116 inline bool PhysicalNetworkInterfaceIdHasBeenSet() const { return m_physicalNetworkInterfaceIdHasBeenSet; }
117 template<typename PhysicalNetworkInterfaceIdT = Aws::String>
118 void SetPhysicalNetworkInterfaceId(PhysicalNetworkInterfaceIdT&& value) { m_physicalNetworkInterfaceIdHasBeenSet = true; m_physicalNetworkInterfaceId = std::forward<PhysicalNetworkInterfaceIdT>(value); }
119 template<typename PhysicalNetworkInterfaceIdT = Aws::String>
120 PhysicalNetworkInterface& WithPhysicalNetworkInterfaceId(PhysicalNetworkInterfaceIdT&& value) { SetPhysicalNetworkInterfaceId(std::forward<PhysicalNetworkInterfaceIdT>(value)); return *this;}
122 private:
123
124 Aws::String m_defaultGateway;
125 bool m_defaultGatewayHasBeenSet = false;
126
127 Aws::String m_ipAddress;
128 bool m_ipAddressHasBeenSet = false;
129
131 bool m_ipAddressAssignmentHasBeenSet = false;
132
133 Aws::String m_macAddress;
134 bool m_macAddressHasBeenSet = false;
135
136 Aws::String m_netmask;
137 bool m_netmaskHasBeenSet = false;
138
140 bool m_physicalConnectorTypeHasBeenSet = false;
141
142 Aws::String m_physicalNetworkInterfaceId;
143 bool m_physicalNetworkInterfaceIdHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace SnowDeviceManagement
148} // namespace Aws
PhysicalNetworkInterface & WithPhysicalConnectorType(PhysicalConnectorType value)
AWS_SNOWDEVICEMANAGEMENT_API PhysicalNetworkInterface(Aws::Utils::Json::JsonView jsonValue)
void SetPhysicalNetworkInterfaceId(PhysicalNetworkInterfaceIdT &&value)
AWS_SNOWDEVICEMANAGEMENT_API PhysicalNetworkInterface()=default
PhysicalNetworkInterface & WithDefaultGateway(DefaultGatewayT &&value)
PhysicalNetworkInterface & WithMacAddress(MacAddressT &&value)
AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const
PhysicalNetworkInterface & WithNetmask(NetmaskT &&value)
PhysicalNetworkInterface & WithIpAddress(IpAddressT &&value)
PhysicalNetworkInterface & WithIpAddressAssignment(IpAddressAssignment value)
AWS_SNOWDEVICEMANAGEMENT_API PhysicalNetworkInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
PhysicalNetworkInterface & WithPhysicalNetworkInterfaceId(PhysicalNetworkInterfaceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue