/** * 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 ApplicationDiscoveryService { namespace Model { /** *

Network details about the host where the agent/collector * resides.

See Also:

AWS * API Reference

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

The IP address for the host where the agent/collector resides.

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

The IP address for the host where the agent/collector resides.

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

The IP address for the host where the agent/collector resides.

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

The IP address for the host where the agent/collector resides.

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

The IP address for the host where the agent/collector resides.

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

The IP address for the host where the agent/collector resides.

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

The IP address for the host where the agent/collector resides.

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

The IP address for the host where the agent/collector resides.

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

The MAC address for the host where the agent/collector resides.

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

The MAC address for the host where the agent/collector resides.

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

The MAC address for the host where the agent/collector resides.

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

The MAC address for the host where the agent/collector resides.

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

The MAC address for the host where the agent/collector resides.

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

The MAC address for the host where the agent/collector resides.

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

The MAC address for the host where the agent/collector resides.

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

The MAC address for the host where the agent/collector resides.

*/ inline AgentNetworkInfo& WithMacAddress(const char* value) { SetMacAddress(value); return *this;} private: Aws::String m_ipAddress; bool m_ipAddressHasBeenSet = false; Aws::String m_macAddress; bool m_macAddressHasBeenSet = false; }; } // namespace Model } // namespace ApplicationDiscoveryService } // namespace Aws