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

Contains information about the local IP address of the * connection.

See Also:

AWS * API Reference

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

The IPv4 local address of the connection.

*/ inline const Aws::String& GetIpAddressV4() const{ return m_ipAddressV4; } /** *

The IPv4 local address of the connection.

*/ inline bool IpAddressV4HasBeenSet() const { return m_ipAddressV4HasBeenSet; } /** *

The IPv4 local address of the connection.

*/ inline void SetIpAddressV4(const Aws::String& value) { m_ipAddressV4HasBeenSet = true; m_ipAddressV4 = value; } /** *

The IPv4 local address of the connection.

*/ inline void SetIpAddressV4(Aws::String&& value) { m_ipAddressV4HasBeenSet = true; m_ipAddressV4 = std::move(value); } /** *

The IPv4 local address of the connection.

*/ inline void SetIpAddressV4(const char* value) { m_ipAddressV4HasBeenSet = true; m_ipAddressV4.assign(value); } /** *

The IPv4 local address of the connection.

*/ inline LocalIpDetails& WithIpAddressV4(const Aws::String& value) { SetIpAddressV4(value); return *this;} /** *

The IPv4 local address of the connection.

*/ inline LocalIpDetails& WithIpAddressV4(Aws::String&& value) { SetIpAddressV4(std::move(value)); return *this;} /** *

The IPv4 local address of the connection.

*/ inline LocalIpDetails& WithIpAddressV4(const char* value) { SetIpAddressV4(value); return *this;} private: Aws::String m_ipAddressV4; bool m_ipAddressV4HasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws