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/TrafficMirrorSessionField.h>
49 inline void SetTrafficMirrorSessionId(
const char* value) { m_trafficMirrorSessionIdHasBeenSet =
true; m_trafficMirrorSessionId.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); }
97 inline void SetPacketLength(
int value) { m_packetLengthHasBeenSet =
true; m_packetLength = value; }
109 inline void SetSessionNumber(
int value) { m_sessionNumberHasBeenSet =
true; m_sessionNumber = value; }
119 inline void SetVirtualNetworkId(
int value) { m_virtualNetworkIdHasBeenSet =
true; m_virtualNetworkId = value; }
131 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
162 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
168 bool m_trafficMirrorSessionIdHasBeenSet =
false;
171 bool m_trafficMirrorTargetIdHasBeenSet =
false;
174 bool m_trafficMirrorFilterIdHasBeenSet =
false;
177 bool m_packetLengthHasBeenSet =
false;
180 bool m_sessionNumberHasBeenSet =
false;
182 int m_virtualNetworkId;
183 bool m_virtualNetworkIdHasBeenSet =
false;
186 bool m_descriptionHasBeenSet =
false;
189 bool m_removeFieldsHasBeenSet =
false;
192 bool m_dryRunHasBeenSet =
false;
void SetTrafficMirrorSessionId(Aws::String &&value)
bool SessionNumberHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
void SetDryRun(bool value)
ModifyTrafficMirrorSessionRequest & WithTrafficMirrorFilterId(const char *value)
void SetSessionNumber(int value)
ModifyTrafficMirrorSessionRequest & AddRemoveFields(const TrafficMirrorSessionField &value)
ModifyTrafficMirrorSessionRequest & AddRemoveFields(TrafficMirrorSessionField &&value)
const Aws::String & GetTrafficMirrorSessionId() const
const Aws::String & GetTrafficMirrorFilterId() const
bool VirtualNetworkIdHasBeenSet() const
void SetTrafficMirrorFilterId(const Aws::String &value)
ModifyTrafficMirrorSessionRequest & WithSessionNumber(int value)
void SetRemoveFields(const Aws::Vector< TrafficMirrorSessionField > &value)
ModifyTrafficMirrorSessionRequest & WithTrafficMirrorSessionId(const Aws::String &value)
ModifyTrafficMirrorSessionRequest & WithTrafficMirrorTargetId(const Aws::String &value)
ModifyTrafficMirrorSessionRequest & WithDescription(const char *value)
void SetTrafficMirrorSessionId(const Aws::String &value)
const Aws::String & GetTrafficMirrorTargetId() const
bool DryRunHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDescription(const Aws::String &value)
void SetPacketLength(int value)
ModifyTrafficMirrorSessionRequest & WithTrafficMirrorTargetId(const char *value)
ModifyTrafficMirrorSessionRequest & WithTrafficMirrorFilterId(Aws::String &&value)
ModifyTrafficMirrorSessionRequest & WithTrafficMirrorSessionId(const char *value)
ModifyTrafficMirrorSessionRequest & WithDryRun(bool value)
virtual const char * GetServiceRequestName() const override
void SetTrafficMirrorTargetId(const Aws::String &value)
void SetVirtualNetworkId(int value)
ModifyTrafficMirrorSessionRequest & WithTrafficMirrorTargetId(Aws::String &&value)
bool TrafficMirrorFilterIdHasBeenSet() const
void SetTrafficMirrorSessionId(const char *value)
int GetVirtualNetworkId() const
ModifyTrafficMirrorSessionRequest & WithDescription(const Aws::String &value)
void SetDescription(const char *value)
AWS_EC2_API ModifyTrafficMirrorSessionRequest()
bool RemoveFieldsHasBeenSet() const
ModifyTrafficMirrorSessionRequest & WithRemoveFields(Aws::Vector< TrafficMirrorSessionField > &&value)
void SetTrafficMirrorFilterId(const char *value)
ModifyTrafficMirrorSessionRequest & WithTrafficMirrorSessionId(Aws::String &&value)
bool DescriptionHasBeenSet() const
bool PacketLengthHasBeenSet() const
void SetDescription(Aws::String &&value)
bool TrafficMirrorTargetIdHasBeenSet() const
ModifyTrafficMirrorSessionRequest & WithVirtualNetworkId(int value)
void SetTrafficMirrorFilterId(Aws::String &&value)
void SetTrafficMirrorTargetId(Aws::String &&value)
int GetPacketLength() const
ModifyTrafficMirrorSessionRequest & WithTrafficMirrorFilterId(const Aws::String &value)
ModifyTrafficMirrorSessionRequest & WithDescription(Aws::String &&value)
void SetTrafficMirrorTargetId(const char *value)
ModifyTrafficMirrorSessionRequest & WithPacketLength(int value)
const Aws::String & GetDescription() const
bool TrafficMirrorSessionIdHasBeenSet() const
const Aws::Vector< TrafficMirrorSessionField > & GetRemoveFields() const
int GetSessionNumber() const
void SetRemoveFields(Aws::Vector< TrafficMirrorSessionField > &&value)
ModifyTrafficMirrorSessionRequest & WithRemoveFields(const Aws::Vector< TrafficMirrorSessionField > &value)
TrafficMirrorSessionField
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector