/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MigrationHubStrategyRecommendations { namespace Model { /** *

Information about the server's network for which the assessment was run. *

See Also:

AWS * API Reference

*/ class NetworkInfo { public: AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API NetworkInfo(); AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API NetworkInfo(Aws::Utils::Json::JsonView jsonValue); AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API NetworkInfo& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Information about the name of the interface of the server for which the * assessment was run.

*/ inline const Aws::String& GetInterfaceName() const{ return m_interfaceName; } /** *

Information about the name of the interface of the server for which the * assessment was run.

*/ inline bool InterfaceNameHasBeenSet() const { return m_interfaceNameHasBeenSet; } /** *

Information about the name of the interface of the server for which the * assessment was run.

*/ inline void SetInterfaceName(const Aws::String& value) { m_interfaceNameHasBeenSet = true; m_interfaceName = value; } /** *

Information about the name of the interface of the server for which the * assessment was run.

*/ inline void SetInterfaceName(Aws::String&& value) { m_interfaceNameHasBeenSet = true; m_interfaceName = std::move(value); } /** *

Information about the name of the interface of the server for which the * assessment was run.

*/ inline void SetInterfaceName(const char* value) { m_interfaceNameHasBeenSet = true; m_interfaceName.assign(value); } /** *

Information about the name of the interface of the server for which the * assessment was run.

*/ inline NetworkInfo& WithInterfaceName(const Aws::String& value) { SetInterfaceName(value); return *this;} /** *

Information about the name of the interface of the server for which the * assessment was run.

*/ inline NetworkInfo& WithInterfaceName(Aws::String&& value) { SetInterfaceName(std::move(value)); return *this;} /** *

Information about the name of the interface of the server for which the * assessment was run.

*/ inline NetworkInfo& WithInterfaceName(const char* value) { SetInterfaceName(value); return *this;} /** *

Information about the IP address of the server for which the assessment was * run.

*/ inline const Aws::String& GetIpAddress() const{ return m_ipAddress; } /** *

Information about the IP address of the server for which the assessment was * run.

*/ inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; } /** *

Information about the IP address of the server for which the assessment was * run.

*/ inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; } /** *

Information about the IP address of the server for which the assessment was * run.

*/ inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); } /** *

Information about the IP address of the server for which the assessment was * run.

*/ inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); } /** *

Information about the IP address of the server for which the assessment was * run.

*/ inline NetworkInfo& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;} /** *

Information about the IP address of the server for which the assessment was * run.

*/ inline NetworkInfo& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;} /** *

Information about the IP address of the server for which the assessment was * run.

*/ inline NetworkInfo& WithIpAddress(const char* value) { SetIpAddress(value); return *this;} /** *

Information about the MAC address of the server for which the assessment was * run.

*/ inline const Aws::String& GetMacAddress() const{ return m_macAddress; } /** *

Information about the MAC address of the server for which the assessment was * run.

*/ inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; } /** *

Information about the MAC address of the server for which the assessment was * run.

*/ inline void SetMacAddress(const Aws::String& value) { m_macAddressHasBeenSet = true; m_macAddress = value; } /** *

Information about the MAC address of the server for which the assessment was * run.

*/ inline void SetMacAddress(Aws::String&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::move(value); } /** *

Information about the MAC address of the server for which the assessment was * run.

*/ inline void SetMacAddress(const char* value) { m_macAddressHasBeenSet = true; m_macAddress.assign(value); } /** *

Information about the MAC address of the server for which the assessment was * run.

*/ inline NetworkInfo& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;} /** *

Information about the MAC address of the server for which the assessment was * run.

*/ inline NetworkInfo& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;} /** *

Information about the MAC address of the server for which the assessment was * run.

*/ inline NetworkInfo& WithMacAddress(const char* value) { SetMacAddress(value); return *this;} /** *

Information about the subnet mask of the server for which the assessment was * run.

*/ inline const Aws::String& GetNetMask() const{ return m_netMask; } /** *

Information about the subnet mask of the server for which the assessment was * run.

*/ inline bool NetMaskHasBeenSet() const { return m_netMaskHasBeenSet; } /** *

Information about the subnet mask of the server for which the assessment was * run.

*/ inline void SetNetMask(const Aws::String& value) { m_netMaskHasBeenSet = true; m_netMask = value; } /** *

Information about the subnet mask of the server for which the assessment was * run.

*/ inline void SetNetMask(Aws::String&& value) { m_netMaskHasBeenSet = true; m_netMask = std::move(value); } /** *

Information about the subnet mask of the server for which the assessment was * run.

*/ inline void SetNetMask(const char* value) { m_netMaskHasBeenSet = true; m_netMask.assign(value); } /** *

Information about the subnet mask of the server for which the assessment was * run.

*/ inline NetworkInfo& WithNetMask(const Aws::String& value) { SetNetMask(value); return *this;} /** *

Information about the subnet mask of the server for which the assessment was * run.

*/ inline NetworkInfo& WithNetMask(Aws::String&& value) { SetNetMask(std::move(value)); return *this;} /** *

Information about the subnet mask of the server for which the assessment was * run.

*/ inline NetworkInfo& WithNetMask(const char* value) { SetNetMask(value); return *this;} private: Aws::String m_interfaceName; bool m_interfaceNameHasBeenSet = false; Aws::String m_ipAddress; bool m_ipAddressHasBeenSet = false; Aws::String m_macAddress; bool m_macAddressHasBeenSet = false; Aws::String m_netMask; bool m_netMaskHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws