/**
* 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 action described in the
* finding.See Also:
AWS
* API Reference
Indicates whether EC2 blocked the port probe to the instance, such as with an * ACL.
*/ inline bool GetBlocked() const{ return m_blocked; } /** *Indicates whether EC2 blocked the port probe to the instance, such as with an * ACL.
*/ inline bool BlockedHasBeenSet() const { return m_blockedHasBeenSet; } /** *Indicates whether EC2 blocked the port probe to the instance, such as with an * ACL.
*/ inline void SetBlocked(bool value) { m_blockedHasBeenSet = true; m_blocked = value; } /** *Indicates whether EC2 blocked the port probe to the instance, such as with an * ACL.
*/ inline PortProbeAction& WithBlocked(bool value) { SetBlocked(value); return *this;} /** *A list of objects related to port probe details.
*/ inline const Aws::VectorA list of objects related to port probe details.
*/ inline bool PortProbeDetailsHasBeenSet() const { return m_portProbeDetailsHasBeenSet; } /** *A list of objects related to port probe details.
*/ inline void SetPortProbeDetails(const Aws::VectorA list of objects related to port probe details.
*/ inline void SetPortProbeDetails(Aws::VectorA list of objects related to port probe details.
*/ inline PortProbeAction& WithPortProbeDetails(const Aws::VectorA list of objects related to port probe details.
*/ inline PortProbeAction& WithPortProbeDetails(Aws::VectorA list of objects related to port probe details.
*/ inline PortProbeAction& AddPortProbeDetails(const PortProbeDetail& value) { m_portProbeDetailsHasBeenSet = true; m_portProbeDetails.push_back(value); return *this; } /** *A list of objects related to port probe details.
*/ inline PortProbeAction& AddPortProbeDetails(PortProbeDetail&& value) { m_portProbeDetailsHasBeenSet = true; m_portProbeDetails.push_back(std::move(value)); return *this; } private: bool m_blocked; bool m_blockedHasBeenSet = false; Aws::Vector