/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a packet header statement.See Also:
AWS
* API Reference
The source addresses.
*/ inline const Aws::VectorThe source addresses.
*/ inline bool SourceAddressesHasBeenSet() const { return m_sourceAddressesHasBeenSet; } /** *The source addresses.
*/ inline void SetSourceAddresses(const Aws::VectorThe source addresses.
*/ inline void SetSourceAddresses(Aws::VectorThe source addresses.
*/ inline PacketHeaderStatement& WithSourceAddresses(const Aws::VectorThe source addresses.
*/ inline PacketHeaderStatement& WithSourceAddresses(Aws::VectorThe source addresses.
*/ inline PacketHeaderStatement& AddSourceAddresses(const Aws::String& value) { m_sourceAddressesHasBeenSet = true; m_sourceAddresses.push_back(value); return *this; } /** *The source addresses.
*/ inline PacketHeaderStatement& AddSourceAddresses(Aws::String&& value) { m_sourceAddressesHasBeenSet = true; m_sourceAddresses.push_back(std::move(value)); return *this; } /** *The source addresses.
*/ inline PacketHeaderStatement& AddSourceAddresses(const char* value) { m_sourceAddressesHasBeenSet = true; m_sourceAddresses.push_back(value); return *this; } /** *The destination addresses.
*/ inline const Aws::VectorThe destination addresses.
*/ inline bool DestinationAddressesHasBeenSet() const { return m_destinationAddressesHasBeenSet; } /** *The destination addresses.
*/ inline void SetDestinationAddresses(const Aws::VectorThe destination addresses.
*/ inline void SetDestinationAddresses(Aws::VectorThe destination addresses.
*/ inline PacketHeaderStatement& WithDestinationAddresses(const Aws::VectorThe destination addresses.
*/ inline PacketHeaderStatement& WithDestinationAddresses(Aws::VectorThe destination addresses.
*/ inline PacketHeaderStatement& AddDestinationAddresses(const Aws::String& value) { m_destinationAddressesHasBeenSet = true; m_destinationAddresses.push_back(value); return *this; } /** *The destination addresses.
*/ inline PacketHeaderStatement& AddDestinationAddresses(Aws::String&& value) { m_destinationAddressesHasBeenSet = true; m_destinationAddresses.push_back(std::move(value)); return *this; } /** *The destination addresses.
*/ inline PacketHeaderStatement& AddDestinationAddresses(const char* value) { m_destinationAddressesHasBeenSet = true; m_destinationAddresses.push_back(value); return *this; } /** *The source ports.
*/ inline const Aws::VectorThe source ports.
*/ inline bool SourcePortsHasBeenSet() const { return m_sourcePortsHasBeenSet; } /** *The source ports.
*/ inline void SetSourcePorts(const Aws::VectorThe source ports.
*/ inline void SetSourcePorts(Aws::VectorThe source ports.
*/ inline PacketHeaderStatement& WithSourcePorts(const Aws::VectorThe source ports.
*/ inline PacketHeaderStatement& WithSourcePorts(Aws::VectorThe source ports.
*/ inline PacketHeaderStatement& AddSourcePorts(const Aws::String& value) { m_sourcePortsHasBeenSet = true; m_sourcePorts.push_back(value); return *this; } /** *The source ports.
*/ inline PacketHeaderStatement& AddSourcePorts(Aws::String&& value) { m_sourcePortsHasBeenSet = true; m_sourcePorts.push_back(std::move(value)); return *this; } /** *The source ports.
*/ inline PacketHeaderStatement& AddSourcePorts(const char* value) { m_sourcePortsHasBeenSet = true; m_sourcePorts.push_back(value); return *this; } /** *The destination ports.
*/ inline const Aws::VectorThe destination ports.
*/ inline bool DestinationPortsHasBeenSet() const { return m_destinationPortsHasBeenSet; } /** *The destination ports.
*/ inline void SetDestinationPorts(const Aws::VectorThe destination ports.
*/ inline void SetDestinationPorts(Aws::VectorThe destination ports.
*/ inline PacketHeaderStatement& WithDestinationPorts(const Aws::VectorThe destination ports.
*/ inline PacketHeaderStatement& WithDestinationPorts(Aws::VectorThe destination ports.
*/ inline PacketHeaderStatement& AddDestinationPorts(const Aws::String& value) { m_destinationPortsHasBeenSet = true; m_destinationPorts.push_back(value); return *this; } /** *The destination ports.
*/ inline PacketHeaderStatement& AddDestinationPorts(Aws::String&& value) { m_destinationPortsHasBeenSet = true; m_destinationPorts.push_back(std::move(value)); return *this; } /** *The destination ports.
*/ inline PacketHeaderStatement& AddDestinationPorts(const char* value) { m_destinationPortsHasBeenSet = true; m_destinationPorts.push_back(value); return *this; } /** *The source prefix lists.
*/ inline const Aws::VectorThe source prefix lists.
*/ inline bool SourcePrefixListsHasBeenSet() const { return m_sourcePrefixListsHasBeenSet; } /** *The source prefix lists.
*/ inline void SetSourcePrefixLists(const Aws::VectorThe source prefix lists.
*/ inline void SetSourcePrefixLists(Aws::VectorThe source prefix lists.
*/ inline PacketHeaderStatement& WithSourcePrefixLists(const Aws::VectorThe source prefix lists.
*/ inline PacketHeaderStatement& WithSourcePrefixLists(Aws::VectorThe source prefix lists.
*/ inline PacketHeaderStatement& AddSourcePrefixLists(const Aws::String& value) { m_sourcePrefixListsHasBeenSet = true; m_sourcePrefixLists.push_back(value); return *this; } /** *The source prefix lists.
*/ inline PacketHeaderStatement& AddSourcePrefixLists(Aws::String&& value) { m_sourcePrefixListsHasBeenSet = true; m_sourcePrefixLists.push_back(std::move(value)); return *this; } /** *The source prefix lists.
*/ inline PacketHeaderStatement& AddSourcePrefixLists(const char* value) { m_sourcePrefixListsHasBeenSet = true; m_sourcePrefixLists.push_back(value); return *this; } /** *The destination prefix lists.
*/ inline const Aws::VectorThe destination prefix lists.
*/ inline bool DestinationPrefixListsHasBeenSet() const { return m_destinationPrefixListsHasBeenSet; } /** *The destination prefix lists.
*/ inline void SetDestinationPrefixLists(const Aws::VectorThe destination prefix lists.
*/ inline void SetDestinationPrefixLists(Aws::VectorThe destination prefix lists.
*/ inline PacketHeaderStatement& WithDestinationPrefixLists(const Aws::VectorThe destination prefix lists.
*/ inline PacketHeaderStatement& WithDestinationPrefixLists(Aws::VectorThe destination prefix lists.
*/ inline PacketHeaderStatement& AddDestinationPrefixLists(const Aws::String& value) { m_destinationPrefixListsHasBeenSet = true; m_destinationPrefixLists.push_back(value); return *this; } /** *The destination prefix lists.
*/ inline PacketHeaderStatement& AddDestinationPrefixLists(Aws::String&& value) { m_destinationPrefixListsHasBeenSet = true; m_destinationPrefixLists.push_back(std::move(value)); return *this; } /** *The destination prefix lists.
*/ inline PacketHeaderStatement& AddDestinationPrefixLists(const char* value) { m_destinationPrefixListsHasBeenSet = true; m_destinationPrefixLists.push_back(value); return *this; } /** *The protocols.
*/ inline const Aws::VectorThe protocols.
*/ inline bool ProtocolsHasBeenSet() const { return m_protocolsHasBeenSet; } /** *The protocols.
*/ inline void SetProtocols(const Aws::VectorThe protocols.
*/ inline void SetProtocols(Aws::VectorThe protocols.
*/ inline PacketHeaderStatement& WithProtocols(const Aws::VectorThe protocols.
*/ inline PacketHeaderStatement& WithProtocols(Aws::VectorThe protocols.
*/ inline PacketHeaderStatement& AddProtocols(const Protocol& value) { m_protocolsHasBeenSet = true; m_protocols.push_back(value); return *this; } /** *The protocols.
*/ inline PacketHeaderStatement& AddProtocols(Protocol&& value) { m_protocolsHasBeenSet = true; m_protocols.push_back(std::move(value)); return *this; } private: Aws::Vector