/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Criteria for the stateless rule.See Also:
AWS
* API Reference
A list of port ranges to specify the destination ports to inspect for.
*/ inline const Aws::VectorA list of port ranges to specify the destination ports to inspect for.
*/ inline bool DestinationPortsHasBeenSet() const { return m_destinationPortsHasBeenSet; } /** *A list of port ranges to specify the destination ports to inspect for.
*/ inline void SetDestinationPorts(const Aws::VectorA list of port ranges to specify the destination ports to inspect for.
*/ inline void SetDestinationPorts(Aws::VectorA list of port ranges to specify the destination ports to inspect for.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& WithDestinationPorts(const Aws::VectorA list of port ranges to specify the destination ports to inspect for.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& WithDestinationPorts(Aws::VectorA list of port ranges to specify the destination ports to inspect for.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& AddDestinationPorts(const RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts& value) { m_destinationPortsHasBeenSet = true; m_destinationPorts.push_back(value); return *this; } /** *A list of port ranges to specify the destination ports to inspect for.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& AddDestinationPorts(RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts&& value) { m_destinationPortsHasBeenSet = true; m_destinationPorts.push_back(std::move(value)); return *this; } /** *The destination IP addresses and address ranges to inspect for, in CIDR * notation.
*/ inline const Aws::VectorThe destination IP addresses and address ranges to inspect for, in CIDR * notation.
*/ inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; } /** *The destination IP addresses and address ranges to inspect for, in CIDR * notation.
*/ inline void SetDestinations(const Aws::VectorThe destination IP addresses and address ranges to inspect for, in CIDR * notation.
*/ inline void SetDestinations(Aws::VectorThe destination IP addresses and address ranges to inspect for, in CIDR * notation.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& WithDestinations(const Aws::VectorThe destination IP addresses and address ranges to inspect for, in CIDR * notation.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& WithDestinations(Aws::VectorThe destination IP addresses and address ranges to inspect for, in CIDR * notation.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& AddDestinations(const RuleGroupSourceStatelessRuleMatchAttributesDestinations& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; } /** *The destination IP addresses and address ranges to inspect for, in CIDR * notation.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& AddDestinations(RuleGroupSourceStatelessRuleMatchAttributesDestinations&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(value)); return *this; } /** *The protocols to inspect for.
*/ inline const Aws::VectorThe protocols to inspect for.
*/ inline bool ProtocolsHasBeenSet() const { return m_protocolsHasBeenSet; } /** *The protocols to inspect for.
*/ inline void SetProtocols(const Aws::VectorThe protocols to inspect for.
*/ inline void SetProtocols(Aws::VectorThe protocols to inspect for.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& WithProtocols(const Aws::VectorThe protocols to inspect for.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& WithProtocols(Aws::VectorThe protocols to inspect for.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& AddProtocols(int value) { m_protocolsHasBeenSet = true; m_protocols.push_back(value); return *this; } /** *A list of port ranges to specify the source ports to inspect for.
*/ inline const Aws::VectorA list of port ranges to specify the source ports to inspect for.
*/ inline bool SourcePortsHasBeenSet() const { return m_sourcePortsHasBeenSet; } /** *A list of port ranges to specify the source ports to inspect for.
*/ inline void SetSourcePorts(const Aws::VectorA list of port ranges to specify the source ports to inspect for.
*/ inline void SetSourcePorts(Aws::VectorA list of port ranges to specify the source ports to inspect for.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& WithSourcePorts(const Aws::VectorA list of port ranges to specify the source ports to inspect for.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& WithSourcePorts(Aws::VectorA list of port ranges to specify the source ports to inspect for.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& AddSourcePorts(const RuleGroupSourceStatelessRuleMatchAttributesSourcePorts& value) { m_sourcePortsHasBeenSet = true; m_sourcePorts.push_back(value); return *this; } /** *A list of port ranges to specify the source ports to inspect for.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& AddSourcePorts(RuleGroupSourceStatelessRuleMatchAttributesSourcePorts&& value) { m_sourcePortsHasBeenSet = true; m_sourcePorts.push_back(std::move(value)); return *this; } /** *The source IP addresses and address ranges to inspect for, in CIDR * notation.
*/ inline const Aws::VectorThe source IP addresses and address ranges to inspect for, in CIDR * notation.
*/ inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; } /** *The source IP addresses and address ranges to inspect for, in CIDR * notation.
*/ inline void SetSources(const Aws::VectorThe source IP addresses and address ranges to inspect for, in CIDR * notation.
*/ inline void SetSources(Aws::VectorThe source IP addresses and address ranges to inspect for, in CIDR * notation.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& WithSources(const Aws::VectorThe source IP addresses and address ranges to inspect for, in CIDR * notation.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& WithSources(Aws::VectorThe source IP addresses and address ranges to inspect for, in CIDR * notation.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& AddSources(const RuleGroupSourceStatelessRuleMatchAttributesSources& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; } /** *The source IP addresses and address ranges to inspect for, in CIDR * notation.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& AddSources(RuleGroupSourceStatelessRuleMatchAttributesSources&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; } /** *The TCP flags and masks to inspect for.
*/ inline const Aws::VectorThe TCP flags and masks to inspect for.
*/ inline bool TcpFlagsHasBeenSet() const { return m_tcpFlagsHasBeenSet; } /** *The TCP flags and masks to inspect for.
*/ inline void SetTcpFlags(const Aws::VectorThe TCP flags and masks to inspect for.
*/ inline void SetTcpFlags(Aws::VectorThe TCP flags and masks to inspect for.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& WithTcpFlags(const Aws::VectorThe TCP flags and masks to inspect for.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& WithTcpFlags(Aws::VectorThe TCP flags and masks to inspect for.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& AddTcpFlags(const RuleGroupSourceStatelessRuleMatchAttributesTcpFlags& value) { m_tcpFlagsHasBeenSet = true; m_tcpFlags.push_back(value); return *this; } /** *The TCP flags and masks to inspect for.
*/ inline RuleGroupSourceStatelessRuleMatchAttributes& AddTcpFlags(RuleGroupSourceStatelessRuleMatchAttributesTcpFlags&& value) { m_tcpFlagsHasBeenSet = true; m_tcpFlags.push_back(std::move(value)); return *this; } private: Aws::Vector