/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a header. Reflects any changes made by a component as traffic
* passes through. The fields of an inbound header are null except for the first
* component of a path.See Also:
AWS
* API Reference
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 AnalysisPacketHeader& WithDestinationAddresses(const Aws::VectorThe destination addresses.
*/ inline AnalysisPacketHeader& WithDestinationAddresses(Aws::VectorThe destination addresses.
*/ inline AnalysisPacketHeader& AddDestinationAddresses(const Aws::String& value) { m_destinationAddressesHasBeenSet = true; m_destinationAddresses.push_back(value); return *this; } /** *The destination addresses.
*/ inline AnalysisPacketHeader& AddDestinationAddresses(Aws::String&& value) { m_destinationAddressesHasBeenSet = true; m_destinationAddresses.push_back(std::move(value)); return *this; } /** *The destination addresses.
*/ inline AnalysisPacketHeader& AddDestinationAddresses(const char* value) { m_destinationAddressesHasBeenSet = true; m_destinationAddresses.push_back(value); return *this; } /** *The destination port ranges.
*/ inline const Aws::VectorThe destination port ranges.
*/ inline bool DestinationPortRangesHasBeenSet() const { return m_destinationPortRangesHasBeenSet; } /** *The destination port ranges.
*/ inline void SetDestinationPortRanges(const Aws::VectorThe destination port ranges.
*/ inline void SetDestinationPortRanges(Aws::VectorThe destination port ranges.
*/ inline AnalysisPacketHeader& WithDestinationPortRanges(const Aws::VectorThe destination port ranges.
*/ inline AnalysisPacketHeader& WithDestinationPortRanges(Aws::VectorThe destination port ranges.
*/ inline AnalysisPacketHeader& AddDestinationPortRanges(const PortRange& value) { m_destinationPortRangesHasBeenSet = true; m_destinationPortRanges.push_back(value); return *this; } /** *The destination port ranges.
*/ inline AnalysisPacketHeader& AddDestinationPortRanges(PortRange&& value) { m_destinationPortRangesHasBeenSet = true; m_destinationPortRanges.push_back(std::move(value)); return *this; } /** *The protocol.
*/ inline const Aws::String& GetProtocol() const{ return m_protocol; } /** *The protocol.
*/ inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; } /** *The protocol.
*/ inline void SetProtocol(const Aws::String& value) { m_protocolHasBeenSet = true; m_protocol = value; } /** *The protocol.
*/ inline void SetProtocol(Aws::String&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); } /** *The protocol.
*/ inline void SetProtocol(const char* value) { m_protocolHasBeenSet = true; m_protocol.assign(value); } /** *The protocol.
*/ inline AnalysisPacketHeader& WithProtocol(const Aws::String& value) { SetProtocol(value); return *this;} /** *The protocol.
*/ inline AnalysisPacketHeader& WithProtocol(Aws::String&& value) { SetProtocol(std::move(value)); return *this;} /** *The protocol.
*/ inline AnalysisPacketHeader& WithProtocol(const char* value) { SetProtocol(value); return *this;} /** *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 AnalysisPacketHeader& WithSourceAddresses(const Aws::VectorThe source addresses.
*/ inline AnalysisPacketHeader& WithSourceAddresses(Aws::VectorThe source addresses.
*/ inline AnalysisPacketHeader& AddSourceAddresses(const Aws::String& value) { m_sourceAddressesHasBeenSet = true; m_sourceAddresses.push_back(value); return *this; } /** *The source addresses.
*/ inline AnalysisPacketHeader& AddSourceAddresses(Aws::String&& value) { m_sourceAddressesHasBeenSet = true; m_sourceAddresses.push_back(std::move(value)); return *this; } /** *The source addresses.
*/ inline AnalysisPacketHeader& AddSourceAddresses(const char* value) { m_sourceAddressesHasBeenSet = true; m_sourceAddresses.push_back(value); return *this; } /** *The source port ranges.
*/ inline const Aws::VectorThe source port ranges.
*/ inline bool SourcePortRangesHasBeenSet() const { return m_sourcePortRangesHasBeenSet; } /** *The source port ranges.
*/ inline void SetSourcePortRanges(const Aws::VectorThe source port ranges.
*/ inline void SetSourcePortRanges(Aws::VectorThe source port ranges.
*/ inline AnalysisPacketHeader& WithSourcePortRanges(const Aws::VectorThe source port ranges.
*/ inline AnalysisPacketHeader& WithSourcePortRanges(Aws::VectorThe source port ranges.
*/ inline AnalysisPacketHeader& AddSourcePortRanges(const PortRange& value) { m_sourcePortRangesHasBeenSet = true; m_sourcePortRanges.push_back(value); return *this; } /** *The source port ranges.
*/ inline AnalysisPacketHeader& AddSourcePortRanges(PortRange&& value) { m_sourcePortRangesHasBeenSet = true; m_sourcePortRanges.push_back(std::move(value)); return *this; } private: Aws::Vector