/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the port probe details.See Also:
* AWS
* API Reference
The local port information of the connection.
*/ inline const LocalPortDetails& GetLocalPortDetails() const{ return m_localPortDetails; } /** *The local port information of the connection.
*/ inline bool LocalPortDetailsHasBeenSet() const { return m_localPortDetailsHasBeenSet; } /** *The local port information of the connection.
*/ inline void SetLocalPortDetails(const LocalPortDetails& value) { m_localPortDetailsHasBeenSet = true; m_localPortDetails = value; } /** *The local port information of the connection.
*/ inline void SetLocalPortDetails(LocalPortDetails&& value) { m_localPortDetailsHasBeenSet = true; m_localPortDetails = std::move(value); } /** *The local port information of the connection.
*/ inline PortProbeDetail& WithLocalPortDetails(const LocalPortDetails& value) { SetLocalPortDetails(value); return *this;} /** *The local port information of the connection.
*/ inline PortProbeDetail& WithLocalPortDetails(LocalPortDetails&& value) { SetLocalPortDetails(std::move(value)); return *this;} /** *The local IP information of the connection.
*/ inline const LocalIpDetails& GetLocalIpDetails() const{ return m_localIpDetails; } /** *The local IP information of the connection.
*/ inline bool LocalIpDetailsHasBeenSet() const { return m_localIpDetailsHasBeenSet; } /** *The local IP information of the connection.
*/ inline void SetLocalIpDetails(const LocalIpDetails& value) { m_localIpDetailsHasBeenSet = true; m_localIpDetails = value; } /** *The local IP information of the connection.
*/ inline void SetLocalIpDetails(LocalIpDetails&& value) { m_localIpDetailsHasBeenSet = true; m_localIpDetails = std::move(value); } /** *The local IP information of the connection.
*/ inline PortProbeDetail& WithLocalIpDetails(const LocalIpDetails& value) { SetLocalIpDetails(value); return *this;} /** *The local IP information of the connection.
*/ inline PortProbeDetail& WithLocalIpDetails(LocalIpDetails&& value) { SetLocalIpDetails(std::move(value)); return *this;} /** *The remote IP information of the connection.
*/ inline const RemoteIpDetails& GetRemoteIpDetails() const{ return m_remoteIpDetails; } /** *The remote IP information of the connection.
*/ inline bool RemoteIpDetailsHasBeenSet() const { return m_remoteIpDetailsHasBeenSet; } /** *The remote IP information of the connection.
*/ inline void SetRemoteIpDetails(const RemoteIpDetails& value) { m_remoteIpDetailsHasBeenSet = true; m_remoteIpDetails = value; } /** *The remote IP information of the connection.
*/ inline void SetRemoteIpDetails(RemoteIpDetails&& value) { m_remoteIpDetailsHasBeenSet = true; m_remoteIpDetails = std::move(value); } /** *The remote IP information of the connection.
*/ inline PortProbeDetail& WithRemoteIpDetails(const RemoteIpDetails& value) { SetRemoteIpDetails(value); return *this;} /** *The remote IP information of the connection.
*/ inline PortProbeDetail& WithRemoteIpDetails(RemoteIpDetails&& value) { SetRemoteIpDetails(std::move(value)); return *this;} private: LocalPortDetails m_localPortDetails; bool m_localPortDetailsHasBeenSet = false; LocalIpDetails m_localIpDetails; bool m_localIpDetailsHasBeenSet = false; RemoteIpDetails m_remoteIpDetails; bool m_remoteIpDetailsHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws