/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a gateway's network interface.See Also:
AWS
* API Reference
The Internet Protocol version 4 (IPv4) address of the interface.
*/ inline const Aws::String& GetIpv4Address() const{ return m_ipv4Address; } /** *The Internet Protocol version 4 (IPv4) address of the interface.
*/ inline bool Ipv4AddressHasBeenSet() const { return m_ipv4AddressHasBeenSet; } /** *The Internet Protocol version 4 (IPv4) address of the interface.
*/ inline void SetIpv4Address(const Aws::String& value) { m_ipv4AddressHasBeenSet = true; m_ipv4Address = value; } /** *The Internet Protocol version 4 (IPv4) address of the interface.
*/ inline void SetIpv4Address(Aws::String&& value) { m_ipv4AddressHasBeenSet = true; m_ipv4Address = std::move(value); } /** *The Internet Protocol version 4 (IPv4) address of the interface.
*/ inline void SetIpv4Address(const char* value) { m_ipv4AddressHasBeenSet = true; m_ipv4Address.assign(value); } /** *The Internet Protocol version 4 (IPv4) address of the interface.
*/ inline NetworkInterface& WithIpv4Address(const Aws::String& value) { SetIpv4Address(value); return *this;} /** *The Internet Protocol version 4 (IPv4) address of the interface.
*/ inline NetworkInterface& WithIpv4Address(Aws::String&& value) { SetIpv4Address(std::move(value)); return *this;} /** *The Internet Protocol version 4 (IPv4) address of the interface.
*/ inline NetworkInterface& WithIpv4Address(const char* value) { SetIpv4Address(value); return *this;} /** *The Media Access Control (MAC) address of the interface.
This * is currently unsupported and will not be returned in output.
*/ inline const Aws::String& GetMacAddress() const{ return m_macAddress; } /** *The Media Access Control (MAC) address of the interface.
This * is currently unsupported and will not be returned in output.
*/ inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; } /** *The Media Access Control (MAC) address of the interface.
This * is currently unsupported and will not be returned in output.
*/ inline void SetMacAddress(const Aws::String& value) { m_macAddressHasBeenSet = true; m_macAddress = value; } /** *The Media Access Control (MAC) address of the interface.
This * is currently unsupported and will not be returned in output.
*/ inline void SetMacAddress(Aws::String&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::move(value); } /** *The Media Access Control (MAC) address of the interface.
This * is currently unsupported and will not be returned in output.
*/ inline void SetMacAddress(const char* value) { m_macAddressHasBeenSet = true; m_macAddress.assign(value); } /** *The Media Access Control (MAC) address of the interface.
This * is currently unsupported and will not be returned in output.
*/ inline NetworkInterface& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;} /** *The Media Access Control (MAC) address of the interface.
This * is currently unsupported and will not be returned in output.
*/ inline NetworkInterface& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;} /** *The Media Access Control (MAC) address of the interface.
This * is currently unsupported and will not be returned in output.
*/ inline NetworkInterface& WithMacAddress(const char* value) { SetMacAddress(value); return *this;} /** *The Internet Protocol version 6 (IPv6) address of the interface. Currently * not supported.
*/ inline const Aws::String& GetIpv6Address() const{ return m_ipv6Address; } /** *The Internet Protocol version 6 (IPv6) address of the interface. Currently * not supported.
*/ inline bool Ipv6AddressHasBeenSet() const { return m_ipv6AddressHasBeenSet; } /** *The Internet Protocol version 6 (IPv6) address of the interface. Currently * not supported.
*/ inline void SetIpv6Address(const Aws::String& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = value; } /** *The Internet Protocol version 6 (IPv6) address of the interface. Currently * not supported.
*/ inline void SetIpv6Address(Aws::String&& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = std::move(value); } /** *The Internet Protocol version 6 (IPv6) address of the interface. Currently * not supported.
*/ inline void SetIpv6Address(const char* value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address.assign(value); } /** *The Internet Protocol version 6 (IPv6) address of the interface. Currently * not supported.
*/ inline NetworkInterface& WithIpv6Address(const Aws::String& value) { SetIpv6Address(value); return *this;} /** *The Internet Protocol version 6 (IPv6) address of the interface. Currently * not supported.
*/ inline NetworkInterface& WithIpv6Address(Aws::String&& value) { SetIpv6Address(std::move(value)); return *this;} /** *The Internet Protocol version 6 (IPv6) address of the interface. Currently * not supported.
*/ inline NetworkInterface& WithIpv6Address(const char* value) { SetIpv6Address(value); return *this;} private: Aws::String m_ipv4Address; bool m_ipv4AddressHasBeenSet = false; Aws::String m_macAddress; bool m_macAddressHasBeenSet = false; Aws::String m_ipv6Address; bool m_ipv6AddressHasBeenSet = false; }; } // namespace Model } // namespace StorageGateway } // namespace Aws