7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/Protocol.h>
44 template <
typename SourceAddressesT = Aws::Vector<Aws::String>>
46 m_sourceAddressesHasBeenSet =
true;
47 m_sourceAddresses = std::forward<SourceAddressesT>(value);
49 template <
typename SourceAddressesT = Aws::Vector<Aws::String>>
54 template <
typename SourceAddressesT = Aws::String>
56 m_sourceAddressesHasBeenSet =
true;
57 m_sourceAddresses.emplace_back(std::forward<SourceAddressesT>(value));
68 template <
typename DestinationAddressesT = Aws::Vector<Aws::String>>
70 m_destinationAddressesHasBeenSet =
true;
71 m_destinationAddresses = std::forward<DestinationAddressesT>(value);
73 template <
typename DestinationAddressesT = Aws::Vector<Aws::String>>
78 template <
typename DestinationAddressesT = Aws::String>
80 m_destinationAddressesHasBeenSet =
true;
81 m_destinationAddresses.emplace_back(std::forward<DestinationAddressesT>(value));
92 template <
typename SourcePortsT = Aws::Vector<Aws::String>>
94 m_sourcePortsHasBeenSet =
true;
95 m_sourcePorts = std::forward<SourcePortsT>(value);
97 template <
typename SourcePortsT = Aws::Vector<Aws::String>>
102 template <
typename SourcePortsT = Aws::String>
104 m_sourcePortsHasBeenSet =
true;
105 m_sourcePorts.emplace_back(std::forward<SourcePortsT>(value));
116 template <
typename DestinationPortsT = Aws::Vector<Aws::String>>
118 m_destinationPortsHasBeenSet =
true;
119 m_destinationPorts = std::forward<DestinationPortsT>(value);
121 template <
typename DestinationPortsT = Aws::Vector<Aws::String>>
126 template <
typename DestinationPortsT = Aws::String>
128 m_destinationPortsHasBeenSet =
true;
129 m_destinationPorts.emplace_back(std::forward<DestinationPortsT>(value));
140 template <
typename SourcePrefixListsT = Aws::Vector<Aws::String>>
142 m_sourcePrefixListsHasBeenSet =
true;
143 m_sourcePrefixLists = std::forward<SourcePrefixListsT>(value);
145 template <
typename SourcePrefixListsT = Aws::Vector<Aws::String>>
150 template <
typename SourcePrefixListsT = Aws::String>
152 m_sourcePrefixListsHasBeenSet =
true;
153 m_sourcePrefixLists.emplace_back(std::forward<SourcePrefixListsT>(value));
164 template <
typename DestinationPrefixListsT = Aws::Vector<Aws::String>>
166 m_destinationPrefixListsHasBeenSet =
true;
167 m_destinationPrefixLists = std::forward<DestinationPrefixListsT>(value);
169 template <
typename DestinationPrefixListsT = Aws::Vector<Aws::String>>
174 template <
typename DestinationPrefixListsT = Aws::String>
176 m_destinationPrefixListsHasBeenSet =
true;
177 m_destinationPrefixLists.emplace_back(std::forward<DestinationPrefixListsT>(value));
188 template <
typename ProtocolsT = Aws::Vector<Protocol>>
190 m_protocolsHasBeenSet =
true;
191 m_protocols = std::forward<ProtocolsT>(value);
193 template <
typename ProtocolsT = Aws::Vector<Protocol>>
199 m_protocolsHasBeenSet =
true;
200 m_protocols.push_back(value);
218 bool m_sourceAddressesHasBeenSet =
false;
219 bool m_destinationAddressesHasBeenSet =
false;
220 bool m_sourcePortsHasBeenSet =
false;
221 bool m_destinationPortsHasBeenSet =
false;
222 bool m_sourcePrefixListsHasBeenSet =
false;
223 bool m_destinationPrefixListsHasBeenSet =
false;
224 bool m_protocolsHasBeenSet =
false;
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream