7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/TagSpecification.h>
13#include <aws/core/utils/UUID.h>
50 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
64 inline void SetTrafficMirrorTargetId(
const char* value) { m_trafficMirrorTargetIdHasBeenSet =
true; m_trafficMirrorTargetId.assign(value); }
78 inline void SetTrafficMirrorFilterId(
const char* value) { m_trafficMirrorFilterIdHasBeenSet =
true; m_trafficMirrorFilterId.assign(value); }
100 inline void SetPacketLength(
int value) { m_packetLengthHasBeenSet =
true; m_packetLength = value; }
112 inline void SetSessionNumber(
int value) { m_sessionNumberHasBeenSet =
true; m_sessionNumber = value; }
125 inline void SetVirtualNetworkId(
int value) { m_virtualNetworkIdHasBeenSet =
true; m_virtualNetworkId = value; }
137 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
166 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
181 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
189 bool m_networkInterfaceIdHasBeenSet =
false;
192 bool m_trafficMirrorTargetIdHasBeenSet =
false;
195 bool m_trafficMirrorFilterIdHasBeenSet =
false;
198 bool m_packetLengthHasBeenSet =
false;
201 bool m_sessionNumberHasBeenSet =
false;
203 int m_virtualNetworkId;
204 bool m_virtualNetworkIdHasBeenSet =
false;
207 bool m_descriptionHasBeenSet =
false;
210 bool m_tagSpecificationsHasBeenSet =
false;
213 bool m_dryRunHasBeenSet =
false;
216 bool m_clientTokenHasBeenSet =
false;
CreateTrafficMirrorSessionRequest & WithDescription(const Aws::String &value)
void SetClientToken(const Aws::String &value)
CreateTrafficMirrorSessionRequest & WithTrafficMirrorTargetId(const Aws::String &value)
bool TagSpecificationsHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
void SetNetworkInterfaceId(const char *value)
bool TrafficMirrorTargetIdHasBeenSet() const
CreateTrafficMirrorSessionRequest & WithPacketLength(int value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
bool TrafficMirrorFilterIdHasBeenSet() const
const Aws::String & GetClientToken() const
CreateTrafficMirrorSessionRequest & WithDescription(Aws::String &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateTrafficMirrorSessionRequest & WithClientToken(const Aws::String &value)
bool PacketLengthHasBeenSet() const
bool DryRunHasBeenSet() const
void SetTrafficMirrorFilterId(const char *value)
const Aws::String & GetNetworkInterfaceId() const
CreateTrafficMirrorSessionRequest & WithNetworkInterfaceId(Aws::String &&value)
CreateTrafficMirrorSessionRequest & AddTagSpecifications(TagSpecification &&value)
CreateTrafficMirrorSessionRequest & AddTagSpecifications(const TagSpecification &value)
CreateTrafficMirrorSessionRequest & WithTrafficMirrorFilterId(Aws::String &&value)
AWS_EC2_API CreateTrafficMirrorSessionRequest()
CreateTrafficMirrorSessionRequest & WithSessionNumber(int value)
bool NetworkInterfaceIdHasBeenSet() const
bool SessionNumberHasBeenSet() const
void SetTrafficMirrorTargetId(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDescription(Aws::String &&value)
void SetTrafficMirrorTargetId(Aws::String &&value)
int GetSessionNumber() const
void SetClientToken(Aws::String &&value)
CreateTrafficMirrorSessionRequest & WithTrafficMirrorFilterId(const char *value)
void SetVirtualNetworkId(int value)
void SetDescription(const Aws::String &value)
bool VirtualNetworkIdHasBeenSet() const
CreateTrafficMirrorSessionRequest & WithTrafficMirrorTargetId(const char *value)
void SetPacketLength(int value)
CreateTrafficMirrorSessionRequest & WithNetworkInterfaceId(const char *value)
bool DescriptionHasBeenSet() const
void SetDryRun(bool value)
void SetNetworkInterfaceId(const Aws::String &value)
void SetSessionNumber(int value)
void SetDescription(const char *value)
const Aws::String & GetDescription() const
CreateTrafficMirrorSessionRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetNetworkInterfaceId(Aws::String &&value)
CreateTrafficMirrorSessionRequest & WithVirtualNetworkId(int value)
CreateTrafficMirrorSessionRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetTrafficMirrorFilterId(Aws::String &&value)
int GetVirtualNetworkId() const
virtual const char * GetServiceRequestName() const override
CreateTrafficMirrorSessionRequest & WithTrafficMirrorTargetId(Aws::String &&value)
const Aws::String & GetTrafficMirrorFilterId() const
CreateTrafficMirrorSessionRequest & WithDescription(const char *value)
CreateTrafficMirrorSessionRequest & WithTrafficMirrorFilterId(const Aws::String &value)
CreateTrafficMirrorSessionRequest & WithClientToken(Aws::String &&value)
void SetClientToken(const char *value)
bool ClientTokenHasBeenSet() const
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateTrafficMirrorSessionRequest & WithClientToken(const char *value)
void SetTrafficMirrorTargetId(const char *value)
CreateTrafficMirrorSessionRequest & WithDryRun(bool value)
int GetPacketLength() const
void SetTrafficMirrorFilterId(const Aws::String &value)
const Aws::String & GetTrafficMirrorTargetId() const
CreateTrafficMirrorSessionRequest & WithNetworkInterfaceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector