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

IP address used for resolving device location.

See Also:

AWS API * Reference

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

IP address information.

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

IP address information.

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

IP address information.

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

IP address information.

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

IP address information.

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

IP address information.

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

IP address information.

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

IP address information.

*/ inline Ip& WithIpAddress(const char* value) { SetIpAddress(value); return *this;} private: Aws::String m_ipAddress; bool m_ipAddressHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws