/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provided if ActionType
is PORT_PROBE
. It provides
* details about the attempted port probe that was detected.See
* Also:
AWS
* API Reference
Information about the ports affected by the port probe.
*/ inline const Aws::VectorInformation about the ports affected by the port probe.
*/ inline bool PortProbeDetailsHasBeenSet() const { return m_portProbeDetailsHasBeenSet; } /** *Information about the ports affected by the port probe.
*/ inline void SetPortProbeDetails(const Aws::VectorInformation about the ports affected by the port probe.
*/ inline void SetPortProbeDetails(Aws::VectorInformation about the ports affected by the port probe.
*/ inline PortProbeAction& WithPortProbeDetails(const Aws::VectorInformation about the ports affected by the port probe.
*/ inline PortProbeAction& WithPortProbeDetails(Aws::VectorInformation about the ports affected by the port probe.
*/ inline PortProbeAction& AddPortProbeDetails(const PortProbeDetail& value) { m_portProbeDetailsHasBeenSet = true; m_portProbeDetails.push_back(value); return *this; } /** *Information about the ports affected by the port probe.
*/ inline PortProbeAction& AddPortProbeDetails(PortProbeDetail&& value) { m_portProbeDetailsHasBeenSet = true; m_portProbeDetails.push_back(std::move(value)); return *this; } /** *Indicates whether the port probe was blocked.
*/ inline bool GetBlocked() const{ return m_blocked; } /** *Indicates whether the port probe was blocked.
*/ inline bool BlockedHasBeenSet() const { return m_blockedHasBeenSet; } /** *Indicates whether the port probe was blocked.
*/ inline void SetBlocked(bool value) { m_blockedHasBeenSet = true; m_blocked = value; } /** *Indicates whether the port probe was blocked.
*/ inline PortProbeAction& WithBlocked(bool value) { SetBlocked(value); return *this;} private: Aws::Vector