7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/Tag.h>
52 inline void SetTrafficMirrorSessionId(
const char* value) { m_trafficMirrorSessionIdHasBeenSet =
true; m_trafficMirrorSessionId.assign(value); }
66 inline void SetTrafficMirrorTargetId(
const char* value) { m_trafficMirrorTargetIdHasBeenSet =
true; m_trafficMirrorTargetId.assign(value); }
80 inline void SetTrafficMirrorFilterId(
const char* value) { m_trafficMirrorFilterIdHasBeenSet =
true; m_trafficMirrorFilterId.assign(value); }
94 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
108 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
124 inline void SetPacketLength(
int value) { m_packetLengthHasBeenSet =
true; m_packetLength = value; }
136 inline void SetSessionNumber(
int value) { m_sessionNumberHasBeenSet =
true; m_sessionNumber = value; }
146 inline void SetVirtualNetworkId(
int value) { m_virtualNetworkIdHasBeenSet =
true; m_virtualNetworkId = value; }
158 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
180 bool m_trafficMirrorSessionIdHasBeenSet =
false;
183 bool m_trafficMirrorTargetIdHasBeenSet =
false;
186 bool m_trafficMirrorFilterIdHasBeenSet =
false;
189 bool m_networkInterfaceIdHasBeenSet =
false;
192 bool m_ownerIdHasBeenSet =
false;
195 bool m_packetLengthHasBeenSet =
false;
198 bool m_sessionNumberHasBeenSet =
false;
200 int m_virtualNetworkId;
201 bool m_virtualNetworkIdHasBeenSet =
false;
204 bool m_descriptionHasBeenSet =
false;
207 bool m_tagsHasBeenSet =
false;
TrafficMirrorSession & WithOwnerId(const Aws::String &value)
int GetSessionNumber() const
void SetVirtualNetworkId(int value)
TrafficMirrorSession & WithTags(const Aws::Vector< Tag > &value)
const Aws::Vector< Tag > & GetTags() const
void SetTrafficMirrorSessionId(const Aws::String &value)
AWS_EC2_API TrafficMirrorSession & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool OwnerIdHasBeenSet() const
TrafficMirrorSession & AddTags(Tag &&value)
void SetTrafficMirrorTargetId(const Aws::String &value)
void SetTrafficMirrorFilterId(const Aws::String &value)
TrafficMirrorSession & WithDescription(Aws::String &&value)
TrafficMirrorSession & WithTrafficMirrorSessionId(const char *value)
void SetOwnerId(const char *value)
void SetNetworkInterfaceId(const char *value)
void SetTrafficMirrorSessionId(const char *value)
void SetNetworkInterfaceId(const Aws::String &value)
bool PacketLengthHasBeenSet() const
TrafficMirrorSession & WithNetworkInterfaceId(const char *value)
bool TrafficMirrorFilterIdHasBeenSet() const
AWS_EC2_API TrafficMirrorSession()
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTrafficMirrorFilterId(const char *value)
bool VirtualNetworkIdHasBeenSet() const
void SetTrafficMirrorTargetId(Aws::String &&value)
bool TagsHasBeenSet() const
AWS_EC2_API TrafficMirrorSession(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetNetworkInterfaceId() const
void SetNetworkInterfaceId(Aws::String &&value)
TrafficMirrorSession & WithDescription(const char *value)
bool TrafficMirrorTargetIdHasBeenSet() const
const Aws::String & GetTrafficMirrorFilterId() const
TrafficMirrorSession & AddTags(const Tag &value)
TrafficMirrorSession & WithOwnerId(Aws::String &&value)
void SetDescription(const char *value)
TrafficMirrorSession & WithDescription(const Aws::String &value)
TrafficMirrorSession & WithTrafficMirrorFilterId(Aws::String &&value)
void SetOwnerId(const Aws::String &value)
int GetVirtualNetworkId() const
void SetTrafficMirrorFilterId(Aws::String &&value)
TrafficMirrorSession & WithVirtualNetworkId(int value)
int GetPacketLength() const
TrafficMirrorSession & WithTrafficMirrorFilterId(const Aws::String &value)
TrafficMirrorSession & WithTrafficMirrorFilterId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TrafficMirrorSession & WithOwnerId(const char *value)
void SetTrafficMirrorSessionId(Aws::String &&value)
const Aws::String & GetTrafficMirrorTargetId() const
void SetTrafficMirrorTargetId(const char *value)
TrafficMirrorSession & WithNetworkInterfaceId(const Aws::String &value)
bool NetworkInterfaceIdHasBeenSet() const
bool TrafficMirrorSessionIdHasBeenSet() const
TrafficMirrorSession & WithPacketLength(int value)
const Aws::String & GetDescription() const
void SetTags(Aws::Vector< Tag > &&value)
const Aws::String & GetOwnerId() const
TrafficMirrorSession & WithTags(Aws::Vector< Tag > &&value)
bool DescriptionHasBeenSet() const
void SetDescription(const Aws::String &value)
TrafficMirrorSession & WithTrafficMirrorTargetId(const char *value)
const Aws::String & GetTrafficMirrorSessionId() const
TrafficMirrorSession & WithTrafficMirrorSessionId(Aws::String &&value)
TrafficMirrorSession & WithSessionNumber(int value)
TrafficMirrorSession & WithTrafficMirrorSessionId(const Aws::String &value)
bool SessionNumberHasBeenSet() const
void SetOwnerId(Aws::String &&value)
TrafficMirrorSession & WithTrafficMirrorTargetId(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetPacketLength(int value)
TrafficMirrorSession & WithTrafficMirrorTargetId(const Aws::String &value)
void SetSessionNumber(int value)
TrafficMirrorSession & WithNetworkInterfaceId(Aws::String &&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