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/Tag.h>
44 template <
typename TrafficMirrorSessionIdT = Aws::String>
46 m_trafficMirrorSessionIdHasBeenSet =
true;
47 m_trafficMirrorSessionId = std::forward<TrafficMirrorSessionIdT>(value);
49 template <
typename TrafficMirrorSessionIdT = Aws::String>
62 template <
typename TrafficMirrorTargetIdT = Aws::String>
64 m_trafficMirrorTargetIdHasBeenSet =
true;
65 m_trafficMirrorTargetId = std::forward<TrafficMirrorTargetIdT>(value);
67 template <
typename TrafficMirrorTargetIdT = Aws::String>
80 template <
typename TrafficMirrorFilterIdT = Aws::String>
82 m_trafficMirrorFilterIdHasBeenSet =
true;
83 m_trafficMirrorFilterId = std::forward<TrafficMirrorFilterIdT>(value);
85 template <
typename TrafficMirrorFilterIdT = Aws::String>
98 template <
typename NetworkInterfaceIdT = Aws::String>
100 m_networkInterfaceIdHasBeenSet =
true;
101 m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value);
103 template <
typename NetworkInterfaceIdT = Aws::String>
116 template <
typename OwnerIdT = Aws::String>
118 m_ownerIdHasBeenSet =
true;
119 m_ownerId = std::forward<OwnerIdT>(value);
121 template <
typename OwnerIdT = Aws::String>
139 m_packetLengthHasBeenSet =
true;
140 m_packetLength = value;
157 m_sessionNumberHasBeenSet =
true;
158 m_sessionNumber = value;
173 m_virtualNetworkIdHasBeenSet =
true;
174 m_virtualNetworkId = value;
188 template <
typename DescriptionT = Aws::String>
190 m_descriptionHasBeenSet =
true;
191 m_description = std::forward<DescriptionT>(value);
193 template <
typename DescriptionT = Aws::String>
206 template <
typename TagsT = Aws::Vector<Tag>>
208 m_tagsHasBeenSet =
true;
209 m_tags = std::forward<TagsT>(value);
211 template <
typename TagsT = Aws::Vector<Tag>>
213 SetTags(std::forward<TagsT>(value));
216 template <
typename TagsT = Tag>
218 m_tagsHasBeenSet =
true;
219 m_tags.emplace_back(std::forward<TagsT>(value));
234 int m_packetLength{0};
236 int m_sessionNumber{0};
238 int m_virtualNetworkId{0};
243 bool m_trafficMirrorSessionIdHasBeenSet =
false;
244 bool m_trafficMirrorTargetIdHasBeenSet =
false;
245 bool m_trafficMirrorFilterIdHasBeenSet =
false;
246 bool m_networkInterfaceIdHasBeenSet =
false;
247 bool m_ownerIdHasBeenSet =
false;
248 bool m_packetLengthHasBeenSet =
false;
249 bool m_sessionNumberHasBeenSet =
false;
250 bool m_virtualNetworkIdHasBeenSet =
false;
251 bool m_descriptionHasBeenSet =
false;
252 bool m_tagsHasBeenSet =
false;
int GetSessionNumber() const
void SetVirtualNetworkId(int value)
const Aws::Vector< Tag > & GetTags() const
AWS_EC2_API TrafficMirrorSession()=default
AWS_EC2_API TrafficMirrorSession & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool OwnerIdHasBeenSet() const
void SetTrafficMirrorFilterId(TrafficMirrorFilterIdT &&value)
bool PacketLengthHasBeenSet() const
bool TrafficMirrorFilterIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool VirtualNetworkIdHasBeenSet() const
bool TagsHasBeenSet() const
AWS_EC2_API TrafficMirrorSession(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetNetworkInterfaceId() const
TrafficMirrorSession & WithTrafficMirrorFilterId(TrafficMirrorFilterIdT &&value)
bool TrafficMirrorTargetIdHasBeenSet() const
const Aws::String & GetTrafficMirrorFilterId() const
void SetTrafficMirrorSessionId(TrafficMirrorSessionIdT &&value)
int GetVirtualNetworkId() const
TrafficMirrorSession & WithVirtualNetworkId(int value)
TrafficMirrorSession & WithDescription(DescriptionT &&value)
int GetPacketLength() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetTrafficMirrorTargetId() const
bool NetworkInterfaceIdHasBeenSet() const
bool TrafficMirrorSessionIdHasBeenSet() const
TrafficMirrorSession & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
TrafficMirrorSession & WithPacketLength(int value)
const Aws::String & GetDescription() const
TrafficMirrorSession & WithTags(TagsT &&value)
const Aws::String & GetOwnerId() const
TrafficMirrorSession & WithTrafficMirrorTargetId(TrafficMirrorTargetIdT &&value)
bool DescriptionHasBeenSet() const
void SetOwnerId(OwnerIdT &&value)
TrafficMirrorSession & AddTags(TagsT &&value)
const Aws::String & GetTrafficMirrorSessionId() const
TrafficMirrorSession & WithTrafficMirrorSessionId(TrafficMirrorSessionIdT &&value)
TrafficMirrorSession & WithSessionNumber(int value)
TrafficMirrorSession & WithOwnerId(OwnerIdT &&value)
bool SessionNumberHasBeenSet() const
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
void SetDescription(DescriptionT &&value)
void SetTags(TagsT &&value)
void SetTrafficMirrorTargetId(TrafficMirrorTargetIdT &&value)
void SetPacketLength(int value)
void SetSessionNumber(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream