/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details about the physical network interface for the
* device.See Also:
AWS
* API Reference
The default gateway of the device.
*/ inline const Aws::String& GetDefaultGateway() const{ return m_defaultGateway; } /** *The default gateway of the device.
*/ inline bool DefaultGatewayHasBeenSet() const { return m_defaultGatewayHasBeenSet; } /** *The default gateway of the device.
*/ inline void SetDefaultGateway(const Aws::String& value) { m_defaultGatewayHasBeenSet = true; m_defaultGateway = value; } /** *The default gateway of the device.
*/ inline void SetDefaultGateway(Aws::String&& value) { m_defaultGatewayHasBeenSet = true; m_defaultGateway = std::move(value); } /** *The default gateway of the device.
*/ inline void SetDefaultGateway(const char* value) { m_defaultGatewayHasBeenSet = true; m_defaultGateway.assign(value); } /** *The default gateway of the device.
*/ inline PhysicalNetworkInterface& WithDefaultGateway(const Aws::String& value) { SetDefaultGateway(value); return *this;} /** *The default gateway of the device.
*/ inline PhysicalNetworkInterface& WithDefaultGateway(Aws::String&& value) { SetDefaultGateway(std::move(value)); return *this;} /** *The default gateway of the device.
*/ inline PhysicalNetworkInterface& WithDefaultGateway(const char* value) { SetDefaultGateway(value); return *this;} /** *The IP address of the device.
*/ inline const Aws::String& GetIpAddress() const{ return m_ipAddress; } /** *The IP address of the device.
*/ inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; } /** *The IP address of the device.
*/ inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; } /** *The IP address of the device.
*/ inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); } /** *The IP address of the device.
*/ inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); } /** *The IP address of the device.
*/ inline PhysicalNetworkInterface& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;} /** *The IP address of the device.
*/ inline PhysicalNetworkInterface& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;} /** *The IP address of the device.
*/ inline PhysicalNetworkInterface& WithIpAddress(const char* value) { SetIpAddress(value); return *this;} /** *A value that describes whether the IP address is dynamic or persistent.
*/ inline const IpAddressAssignment& GetIpAddressAssignment() const{ return m_ipAddressAssignment; } /** *A value that describes whether the IP address is dynamic or persistent.
*/ inline bool IpAddressAssignmentHasBeenSet() const { return m_ipAddressAssignmentHasBeenSet; } /** *A value that describes whether the IP address is dynamic or persistent.
*/ inline void SetIpAddressAssignment(const IpAddressAssignment& value) { m_ipAddressAssignmentHasBeenSet = true; m_ipAddressAssignment = value; } /** *A value that describes whether the IP address is dynamic or persistent.
*/ inline void SetIpAddressAssignment(IpAddressAssignment&& value) { m_ipAddressAssignmentHasBeenSet = true; m_ipAddressAssignment = std::move(value); } /** *A value that describes whether the IP address is dynamic or persistent.
*/ inline PhysicalNetworkInterface& WithIpAddressAssignment(const IpAddressAssignment& value) { SetIpAddressAssignment(value); return *this;} /** *A value that describes whether the IP address is dynamic or persistent.
*/ inline PhysicalNetworkInterface& WithIpAddressAssignment(IpAddressAssignment&& value) { SetIpAddressAssignment(std::move(value)); return *this;} /** *The MAC address of the device.
*/ inline const Aws::String& GetMacAddress() const{ return m_macAddress; } /** *The MAC address of the device.
*/ inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; } /** *The MAC address of the device.
*/ inline void SetMacAddress(const Aws::String& value) { m_macAddressHasBeenSet = true; m_macAddress = value; } /** *The MAC address of the device.
*/ inline void SetMacAddress(Aws::String&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::move(value); } /** *The MAC address of the device.
*/ inline void SetMacAddress(const char* value) { m_macAddressHasBeenSet = true; m_macAddress.assign(value); } /** *The MAC address of the device.
*/ inline PhysicalNetworkInterface& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;} /** *The MAC address of the device.
*/ inline PhysicalNetworkInterface& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;} /** *The MAC address of the device.
*/ inline PhysicalNetworkInterface& WithMacAddress(const char* value) { SetMacAddress(value); return *this;} /** *The netmask used to divide the IP address into subnets.
*/ inline const Aws::String& GetNetmask() const{ return m_netmask; } /** *The netmask used to divide the IP address into subnets.
*/ inline bool NetmaskHasBeenSet() const { return m_netmaskHasBeenSet; } /** *The netmask used to divide the IP address into subnets.
*/ inline void SetNetmask(const Aws::String& value) { m_netmaskHasBeenSet = true; m_netmask = value; } /** *The netmask used to divide the IP address into subnets.
*/ inline void SetNetmask(Aws::String&& value) { m_netmaskHasBeenSet = true; m_netmask = std::move(value); } /** *The netmask used to divide the IP address into subnets.
*/ inline void SetNetmask(const char* value) { m_netmaskHasBeenSet = true; m_netmask.assign(value); } /** *The netmask used to divide the IP address into subnets.
*/ inline PhysicalNetworkInterface& WithNetmask(const Aws::String& value) { SetNetmask(value); return *this;} /** *The netmask used to divide the IP address into subnets.
*/ inline PhysicalNetworkInterface& WithNetmask(Aws::String&& value) { SetNetmask(std::move(value)); return *this;} /** *The netmask used to divide the IP address into subnets.
*/ inline PhysicalNetworkInterface& WithNetmask(const char* value) { SetNetmask(value); return *this;} /** *The physical connector type.
*/ inline const PhysicalConnectorType& GetPhysicalConnectorType() const{ return m_physicalConnectorType; } /** *The physical connector type.
*/ inline bool PhysicalConnectorTypeHasBeenSet() const { return m_physicalConnectorTypeHasBeenSet; } /** *The physical connector type.
*/ inline void SetPhysicalConnectorType(const PhysicalConnectorType& value) { m_physicalConnectorTypeHasBeenSet = true; m_physicalConnectorType = value; } /** *The physical connector type.
*/ inline void SetPhysicalConnectorType(PhysicalConnectorType&& value) { m_physicalConnectorTypeHasBeenSet = true; m_physicalConnectorType = std::move(value); } /** *The physical connector type.
*/ inline PhysicalNetworkInterface& WithPhysicalConnectorType(const PhysicalConnectorType& value) { SetPhysicalConnectorType(value); return *this;} /** *The physical connector type.
*/ inline PhysicalNetworkInterface& WithPhysicalConnectorType(PhysicalConnectorType&& value) { SetPhysicalConnectorType(std::move(value)); return *this;} /** *The physical network interface ID.
*/ inline const Aws::String& GetPhysicalNetworkInterfaceId() const{ return m_physicalNetworkInterfaceId; } /** *The physical network interface ID.
*/ inline bool PhysicalNetworkInterfaceIdHasBeenSet() const { return m_physicalNetworkInterfaceIdHasBeenSet; } /** *The physical network interface ID.
*/ inline void SetPhysicalNetworkInterfaceId(const Aws::String& value) { m_physicalNetworkInterfaceIdHasBeenSet = true; m_physicalNetworkInterfaceId = value; } /** *The physical network interface ID.
*/ inline void SetPhysicalNetworkInterfaceId(Aws::String&& value) { m_physicalNetworkInterfaceIdHasBeenSet = true; m_physicalNetworkInterfaceId = std::move(value); } /** *The physical network interface ID.
*/ inline void SetPhysicalNetworkInterfaceId(const char* value) { m_physicalNetworkInterfaceIdHasBeenSet = true; m_physicalNetworkInterfaceId.assign(value); } /** *The physical network interface ID.
*/ inline PhysicalNetworkInterface& WithPhysicalNetworkInterfaceId(const Aws::String& value) { SetPhysicalNetworkInterfaceId(value); return *this;} /** *The physical network interface ID.
*/ inline PhysicalNetworkInterface& WithPhysicalNetworkInterfaceId(Aws::String&& value) { SetPhysicalNetworkInterfaceId(std::move(value)); return *this;} /** *The physical network interface ID.
*/ inline PhysicalNetworkInterface& WithPhysicalNetworkInterfaceId(const char* value) { SetPhysicalNetworkInterfaceId(value); return *this;} private: Aws::String m_defaultGateway; bool m_defaultGatewayHasBeenSet = false; Aws::String m_ipAddress; bool m_ipAddressHasBeenSet = false; IpAddressAssignment m_ipAddressAssignment; bool m_ipAddressAssignmentHasBeenSet = false; Aws::String m_macAddress; bool m_macAddressHasBeenSet = false; Aws::String m_netmask; bool m_netmaskHasBeenSet = false; PhysicalConnectorType m_physicalConnectorType; bool m_physicalConnectorTypeHasBeenSet = false; Aws::String m_physicalNetworkInterfaceId; bool m_physicalNetworkInterfaceIdHasBeenSet = false; }; } // namespace Model } // namespace SnowDeviceManagement } // namespace Aws