AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDefaultGateway(const Aws::String& value) { m_defaultGatewayHasBeenSet = true; m_defaultGateway = value; }
50 inline void SetDefaultGateway(Aws::String&& value) { m_defaultGatewayHasBeenSet = true; m_defaultGateway = std::move(value); }
51 inline void SetDefaultGateway(const char* value) { m_defaultGatewayHasBeenSet = true; m_defaultGateway.assign(value); }
52 inline PhysicalNetworkInterface& WithDefaultGateway(const Aws::String& value) { SetDefaultGateway(value); return *this;}
53 inline PhysicalNetworkInterface& WithDefaultGateway(Aws::String&& value) { SetDefaultGateway(std::move(value)); return *this;}
54 inline PhysicalNetworkInterface& WithDefaultGateway(const char* value) { SetDefaultGateway(value); return *this;}
56
58
61 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
62 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
63 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
64 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
65 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
66 inline PhysicalNetworkInterface& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
67 inline PhysicalNetworkInterface& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
68 inline PhysicalNetworkInterface& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
70
72
75 inline const IpAddressAssignment& GetIpAddressAssignment() const{ return m_ipAddressAssignment; }
76 inline bool IpAddressAssignmentHasBeenSet() const { return m_ipAddressAssignmentHasBeenSet; }
77 inline void SetIpAddressAssignment(const IpAddressAssignment& value) { m_ipAddressAssignmentHasBeenSet = true; m_ipAddressAssignment = value; }
78 inline void SetIpAddressAssignment(IpAddressAssignment&& value) { m_ipAddressAssignmentHasBeenSet = true; m_ipAddressAssignment = std::move(value); }
82
84
87 inline const Aws::String& GetMacAddress() const{ return m_macAddress; }
88 inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; }
89 inline void SetMacAddress(const Aws::String& value) { m_macAddressHasBeenSet = true; m_macAddress = value; }
90 inline void SetMacAddress(Aws::String&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::move(value); }
91 inline void SetMacAddress(const char* value) { m_macAddressHasBeenSet = true; m_macAddress.assign(value); }
92 inline PhysicalNetworkInterface& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;}
93 inline PhysicalNetworkInterface& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;}
94 inline PhysicalNetworkInterface& WithMacAddress(const char* value) { SetMacAddress(value); return *this;}
96
98
101 inline const Aws::String& GetNetmask() const{ return m_netmask; }
102 inline bool NetmaskHasBeenSet() const { return m_netmaskHasBeenSet; }
103 inline void SetNetmask(const Aws::String& value) { m_netmaskHasBeenSet = true; m_netmask = value; }
104 inline void SetNetmask(Aws::String&& value) { m_netmaskHasBeenSet = true; m_netmask = std::move(value); }
105 inline void SetNetmask(const char* value) { m_netmaskHasBeenSet = true; m_netmask.assign(value); }
106 inline PhysicalNetworkInterface& WithNetmask(const Aws::String& value) { SetNetmask(value); return *this;}
107 inline PhysicalNetworkInterface& WithNetmask(Aws::String&& value) { SetNetmask(std::move(value)); return *this;}
108 inline PhysicalNetworkInterface& WithNetmask(const char* value) { SetNetmask(value); return *this;}
110
112
115 inline const PhysicalConnectorType& GetPhysicalConnectorType() const{ return m_physicalConnectorType; }
116 inline bool PhysicalConnectorTypeHasBeenSet() const { return m_physicalConnectorTypeHasBeenSet; }
117 inline void SetPhysicalConnectorType(const PhysicalConnectorType& value) { m_physicalConnectorTypeHasBeenSet = true; m_physicalConnectorType = value; }
118 inline void SetPhysicalConnectorType(PhysicalConnectorType&& value) { m_physicalConnectorTypeHasBeenSet = true; m_physicalConnectorType = std::move(value); }
122
124
127 inline const Aws::String& GetPhysicalNetworkInterfaceId() const{ return m_physicalNetworkInterfaceId; }
128 inline bool PhysicalNetworkInterfaceIdHasBeenSet() const { return m_physicalNetworkInterfaceIdHasBeenSet; }
129 inline void SetPhysicalNetworkInterfaceId(const Aws::String& value) { m_physicalNetworkInterfaceIdHasBeenSet = true; m_physicalNetworkInterfaceId = value; }
130 inline void SetPhysicalNetworkInterfaceId(Aws::String&& value) { m_physicalNetworkInterfaceIdHasBeenSet = true; m_physicalNetworkInterfaceId = std::move(value); }
131 inline void SetPhysicalNetworkInterfaceId(const char* value) { m_physicalNetworkInterfaceIdHasBeenSet = true; m_physicalNetworkInterfaceId.assign(value); }
136 private:
137
138 Aws::String m_defaultGateway;
139 bool m_defaultGatewayHasBeenSet = false;
140
141 Aws::String m_ipAddress;
142 bool m_ipAddressHasBeenSet = false;
143
144 IpAddressAssignment m_ipAddressAssignment;
145 bool m_ipAddressAssignmentHasBeenSet = false;
146
147 Aws::String m_macAddress;
148 bool m_macAddressHasBeenSet = false;
149
150 Aws::String m_netmask;
151 bool m_netmaskHasBeenSet = false;
152
153 PhysicalConnectorType m_physicalConnectorType;
154 bool m_physicalConnectorTypeHasBeenSet = false;
155
156 Aws::String m_physicalNetworkInterfaceId;
157 bool m_physicalNetworkInterfaceIdHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace SnowDeviceManagement
162} // namespace Aws
PhysicalNetworkInterface & WithMacAddress(Aws::String &&value)
void SetPhysicalConnectorType(const PhysicalConnectorType &value)
PhysicalNetworkInterface & WithNetmask(const char *value)
AWS_SNOWDEVICEMANAGEMENT_API PhysicalNetworkInterface(Aws::Utils::Json::JsonView jsonValue)
PhysicalNetworkInterface & WithDefaultGateway(const char *value)
PhysicalNetworkInterface & WithIpAddressAssignment(IpAddressAssignment &&value)
PhysicalNetworkInterface & WithIpAddress(const char *value)
PhysicalNetworkInterface & WithNetmask(const Aws::String &value)
PhysicalNetworkInterface & WithDefaultGateway(const Aws::String &value)
PhysicalNetworkInterface & WithIpAddress(Aws::String &&value)
PhysicalNetworkInterface & WithMacAddress(const char *value)
PhysicalNetworkInterface & WithPhysicalNetworkInterfaceId(const Aws::String &value)
PhysicalNetworkInterface & WithPhysicalConnectorType(const PhysicalConnectorType &value)
PhysicalNetworkInterface & WithIpAddressAssignment(const IpAddressAssignment &value)
PhysicalNetworkInterface & WithPhysicalNetworkInterfaceId(const char *value)
PhysicalNetworkInterface & WithDefaultGateway(Aws::String &&value)
PhysicalNetworkInterface & WithPhysicalConnectorType(PhysicalConnectorType &&value)
AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const
PhysicalNetworkInterface & WithPhysicalNetworkInterfaceId(Aws::String &&value)
PhysicalNetworkInterface & WithNetmask(Aws::String &&value)
PhysicalNetworkInterface & WithMacAddress(const Aws::String &value)
AWS_SNOWDEVICEMANAGEMENT_API PhysicalNetworkInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
PhysicalNetworkInterface & WithIpAddress(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue