7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/Protocol.h>
50 template<
typename SourceAddressesT = Aws::Vector<Aws::String>>
51 void SetSourceAddresses(SourceAddressesT&& value) { m_sourceAddressesHasBeenSet =
true; m_sourceAddresses = std::forward<SourceAddressesT>(value); }
52 template<
typename SourceAddressesT = Aws::Vector<Aws::String>>
54 template<
typename SourceAddressesT = Aws::String>
64 template<
typename DestinationAddressesT = Aws::Vector<Aws::String>>
65 void SetDestinationAddresses(DestinationAddressesT&& value) { m_destinationAddressesHasBeenSet =
true; m_destinationAddresses = std::forward<DestinationAddressesT>(value); }
66 template<
typename DestinationAddressesT = Aws::Vector<Aws::String>>
68 template<
typename DestinationAddressesT = Aws::String>
78 template<
typename SourcePortsT = Aws::Vector<Aws::String>>
79 void SetSourcePorts(SourcePortsT&& value) { m_sourcePortsHasBeenSet =
true; m_sourcePorts = std::forward<SourcePortsT>(value); }
80 template<
typename SourcePortsT = Aws::Vector<Aws::String>>
82 template<
typename SourcePortsT = Aws::String>
92 template<
typename DestinationPortsT = Aws::Vector<Aws::String>>
93 void SetDestinationPorts(DestinationPortsT&& value) { m_destinationPortsHasBeenSet =
true; m_destinationPorts = std::forward<DestinationPortsT>(value); }
94 template<
typename DestinationPortsT = Aws::Vector<Aws::String>>
96 template<
typename DestinationPortsT = Aws::String>
106 template<
typename SourcePrefixListsT = Aws::Vector<Aws::String>>
107 void SetSourcePrefixLists(SourcePrefixListsT&& value) { m_sourcePrefixListsHasBeenSet =
true; m_sourcePrefixLists = std::forward<SourcePrefixListsT>(value); }
108 template<
typename SourcePrefixListsT = Aws::Vector<Aws::String>>
110 template<
typename SourcePrefixListsT = Aws::String>
120 template<
typename DestinationPrefixListsT = Aws::Vector<Aws::String>>
121 void SetDestinationPrefixLists(DestinationPrefixListsT&& value) { m_destinationPrefixListsHasBeenSet =
true; m_destinationPrefixLists = std::forward<DestinationPrefixListsT>(value); }
122 template<
typename DestinationPrefixListsT = Aws::Vector<Aws::String>>
124 template<
typename DestinationPrefixListsT = Aws::String>
134 template<
typename ProtocolsT = Aws::Vector<Protocol>>
135 void SetProtocols(ProtocolsT&& value) { m_protocolsHasBeenSet =
true; m_protocols = std::forward<ProtocolsT>(value); }
136 template<
typename ProtocolsT = Aws::Vector<Protocol>>
143 bool m_sourceAddressesHasBeenSet =
false;
146 bool m_destinationAddressesHasBeenSet =
false;
149 bool m_sourcePortsHasBeenSet =
false;
152 bool m_destinationPortsHasBeenSet =
false;
155 bool m_sourcePrefixListsHasBeenSet =
false;
158 bool m_destinationPrefixListsHasBeenSet =
false;
161 bool m_protocolsHasBeenSet =
false;
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream