AWS SDK for C++  1.9.66
AWS SDK for C++
ModifyTrafficMirrorFilterRuleRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace EC2
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ModifyTrafficMirrorFilterRule"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
47  inline const Aws::String& GetTrafficMirrorFilterRuleId() const{ return m_trafficMirrorFilterRuleId; }
48 
52  inline bool TrafficMirrorFilterRuleIdHasBeenSet() const { return m_trafficMirrorFilterRuleIdHasBeenSet; }
53 
57  inline void SetTrafficMirrorFilterRuleId(const Aws::String& value) { m_trafficMirrorFilterRuleIdHasBeenSet = true; m_trafficMirrorFilterRuleId = value; }
58 
62  inline void SetTrafficMirrorFilterRuleId(Aws::String&& value) { m_trafficMirrorFilterRuleIdHasBeenSet = true; m_trafficMirrorFilterRuleId = std::move(value); }
63 
67  inline void SetTrafficMirrorFilterRuleId(const char* value) { m_trafficMirrorFilterRuleIdHasBeenSet = true; m_trafficMirrorFilterRuleId.assign(value); }
68 
72  inline ModifyTrafficMirrorFilterRuleRequest& WithTrafficMirrorFilterRuleId(const Aws::String& value) { SetTrafficMirrorFilterRuleId(value); return *this;}
73 
77  inline ModifyTrafficMirrorFilterRuleRequest& WithTrafficMirrorFilterRuleId(Aws::String&& value) { SetTrafficMirrorFilterRuleId(std::move(value)); return *this;}
78 
82  inline ModifyTrafficMirrorFilterRuleRequest& WithTrafficMirrorFilterRuleId(const char* value) { SetTrafficMirrorFilterRuleId(value); return *this;}
83 
84 
89  inline const TrafficDirection& GetTrafficDirection() const{ return m_trafficDirection; }
90 
95  inline bool TrafficDirectionHasBeenSet() const { return m_trafficDirectionHasBeenSet; }
96 
101  inline void SetTrafficDirection(const TrafficDirection& value) { m_trafficDirectionHasBeenSet = true; m_trafficDirection = value; }
102 
107  inline void SetTrafficDirection(TrafficDirection&& value) { m_trafficDirectionHasBeenSet = true; m_trafficDirection = std::move(value); }
108 
113  inline ModifyTrafficMirrorFilterRuleRequest& WithTrafficDirection(const TrafficDirection& value) { SetTrafficDirection(value); return *this;}
114 
119  inline ModifyTrafficMirrorFilterRuleRequest& WithTrafficDirection(TrafficDirection&& value) { SetTrafficDirection(std::move(value)); return *this;}
120 
121 
127  inline int GetRuleNumber() const{ return m_ruleNumber; }
128 
134  inline bool RuleNumberHasBeenSet() const { return m_ruleNumberHasBeenSet; }
135 
141  inline void SetRuleNumber(int value) { m_ruleNumberHasBeenSet = true; m_ruleNumber = value; }
142 
148  inline ModifyTrafficMirrorFilterRuleRequest& WithRuleNumber(int value) { SetRuleNumber(value); return *this;}
149 
150 
154  inline const TrafficMirrorRuleAction& GetRuleAction() const{ return m_ruleAction; }
155 
159  inline bool RuleActionHasBeenSet() const { return m_ruleActionHasBeenSet; }
160 
164  inline void SetRuleAction(const TrafficMirrorRuleAction& value) { m_ruleActionHasBeenSet = true; m_ruleAction = value; }
165 
169  inline void SetRuleAction(TrafficMirrorRuleAction&& value) { m_ruleActionHasBeenSet = true; m_ruleAction = std::move(value); }
170 
174  inline ModifyTrafficMirrorFilterRuleRequest& WithRuleAction(const TrafficMirrorRuleAction& value) { SetRuleAction(value); return *this;}
175 
179  inline ModifyTrafficMirrorFilterRuleRequest& WithRuleAction(TrafficMirrorRuleAction&& value) { SetRuleAction(std::move(value)); return *this;}
180 
181 
185  inline const TrafficMirrorPortRangeRequest& GetDestinationPortRange() const{ return m_destinationPortRange; }
186 
190  inline bool DestinationPortRangeHasBeenSet() const { return m_destinationPortRangeHasBeenSet; }
191 
195  inline void SetDestinationPortRange(const TrafficMirrorPortRangeRequest& value) { m_destinationPortRangeHasBeenSet = true; m_destinationPortRange = value; }
196 
200  inline void SetDestinationPortRange(TrafficMirrorPortRangeRequest&& value) { m_destinationPortRangeHasBeenSet = true; m_destinationPortRange = std::move(value); }
201 
205  inline ModifyTrafficMirrorFilterRuleRequest& WithDestinationPortRange(const TrafficMirrorPortRangeRequest& value) { SetDestinationPortRange(value); return *this;}
206 
210  inline ModifyTrafficMirrorFilterRuleRequest& WithDestinationPortRange(TrafficMirrorPortRangeRequest&& value) { SetDestinationPortRange(std::move(value)); return *this;}
211 
212 
216  inline const TrafficMirrorPortRangeRequest& GetSourcePortRange() const{ return m_sourcePortRange; }
217 
221  inline bool SourcePortRangeHasBeenSet() const { return m_sourcePortRangeHasBeenSet; }
222 
226  inline void SetSourcePortRange(const TrafficMirrorPortRangeRequest& value) { m_sourcePortRangeHasBeenSet = true; m_sourcePortRange = value; }
227 
231  inline void SetSourcePortRange(TrafficMirrorPortRangeRequest&& value) { m_sourcePortRangeHasBeenSet = true; m_sourcePortRange = std::move(value); }
232 
236  inline ModifyTrafficMirrorFilterRuleRequest& WithSourcePortRange(const TrafficMirrorPortRangeRequest& value) { SetSourcePortRange(value); return *this;}
237 
241  inline ModifyTrafficMirrorFilterRuleRequest& WithSourcePortRange(TrafficMirrorPortRangeRequest&& value) { SetSourcePortRange(std::move(value)); return *this;}
242 
243 
247  inline int GetProtocol() const{ return m_protocol; }
248 
252  inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
253 
257  inline void SetProtocol(int value) { m_protocolHasBeenSet = true; m_protocol = value; }
258 
262  inline ModifyTrafficMirrorFilterRuleRequest& WithProtocol(int value) { SetProtocol(value); return *this;}
263 
264 
268  inline const Aws::String& GetDestinationCidrBlock() const{ return m_destinationCidrBlock; }
269 
273  inline bool DestinationCidrBlockHasBeenSet() const { return m_destinationCidrBlockHasBeenSet; }
274 
278  inline void SetDestinationCidrBlock(const Aws::String& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = value; }
279 
283  inline void SetDestinationCidrBlock(Aws::String&& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = std::move(value); }
284 
288  inline void SetDestinationCidrBlock(const char* value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock.assign(value); }
289 
293  inline ModifyTrafficMirrorFilterRuleRequest& WithDestinationCidrBlock(const Aws::String& value) { SetDestinationCidrBlock(value); return *this;}
294 
298  inline ModifyTrafficMirrorFilterRuleRequest& WithDestinationCidrBlock(Aws::String&& value) { SetDestinationCidrBlock(std::move(value)); return *this;}
299 
303  inline ModifyTrafficMirrorFilterRuleRequest& WithDestinationCidrBlock(const char* value) { SetDestinationCidrBlock(value); return *this;}
304 
305 
309  inline const Aws::String& GetSourceCidrBlock() const{ return m_sourceCidrBlock; }
310 
314  inline bool SourceCidrBlockHasBeenSet() const { return m_sourceCidrBlockHasBeenSet; }
315 
319  inline void SetSourceCidrBlock(const Aws::String& value) { m_sourceCidrBlockHasBeenSet = true; m_sourceCidrBlock = value; }
320 
324  inline void SetSourceCidrBlock(Aws::String&& value) { m_sourceCidrBlockHasBeenSet = true; m_sourceCidrBlock = std::move(value); }
325 
329  inline void SetSourceCidrBlock(const char* value) { m_sourceCidrBlockHasBeenSet = true; m_sourceCidrBlock.assign(value); }
330 
334  inline ModifyTrafficMirrorFilterRuleRequest& WithSourceCidrBlock(const Aws::String& value) { SetSourceCidrBlock(value); return *this;}
335 
339  inline ModifyTrafficMirrorFilterRuleRequest& WithSourceCidrBlock(Aws::String&& value) { SetSourceCidrBlock(std::move(value)); return *this;}
340 
344  inline ModifyTrafficMirrorFilterRuleRequest& WithSourceCidrBlock(const char* value) { SetSourceCidrBlock(value); return *this;}
345 
346 
350  inline const Aws::String& GetDescription() const{ return m_description; }
351 
355  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
356 
360  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
361 
365  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
366 
370  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
371 
375  inline ModifyTrafficMirrorFilterRuleRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
376 
380  inline ModifyTrafficMirrorFilterRuleRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
381 
385  inline ModifyTrafficMirrorFilterRuleRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
386 
387 
393  inline const Aws::Vector<TrafficMirrorFilterRuleField>& GetRemoveFields() const{ return m_removeFields; }
394 
400  inline bool RemoveFieldsHasBeenSet() const { return m_removeFieldsHasBeenSet; }
401 
407  inline void SetRemoveFields(const Aws::Vector<TrafficMirrorFilterRuleField>& value) { m_removeFieldsHasBeenSet = true; m_removeFields = value; }
408 
414  inline void SetRemoveFields(Aws::Vector<TrafficMirrorFilterRuleField>&& value) { m_removeFieldsHasBeenSet = true; m_removeFields = std::move(value); }
415 
421  inline ModifyTrafficMirrorFilterRuleRequest& WithRemoveFields(const Aws::Vector<TrafficMirrorFilterRuleField>& value) { SetRemoveFields(value); return *this;}
422 
428  inline ModifyTrafficMirrorFilterRuleRequest& WithRemoveFields(Aws::Vector<TrafficMirrorFilterRuleField>&& value) { SetRemoveFields(std::move(value)); return *this;}
429 
435  inline ModifyTrafficMirrorFilterRuleRequest& AddRemoveFields(const TrafficMirrorFilterRuleField& value) { m_removeFieldsHasBeenSet = true; m_removeFields.push_back(value); return *this; }
436 
442  inline ModifyTrafficMirrorFilterRuleRequest& AddRemoveFields(TrafficMirrorFilterRuleField&& value) { m_removeFieldsHasBeenSet = true; m_removeFields.push_back(std::move(value)); return *this; }
443 
444 
451  inline bool GetDryRun() const{ return m_dryRun; }
452 
459  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
460 
467  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
468 
475  inline ModifyTrafficMirrorFilterRuleRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
476 
477  private:
478 
479  Aws::String m_trafficMirrorFilterRuleId;
480  bool m_trafficMirrorFilterRuleIdHasBeenSet;
481 
482  TrafficDirection m_trafficDirection;
483  bool m_trafficDirectionHasBeenSet;
484 
485  int m_ruleNumber;
486  bool m_ruleNumberHasBeenSet;
487 
488  TrafficMirrorRuleAction m_ruleAction;
489  bool m_ruleActionHasBeenSet;
490 
491  TrafficMirrorPortRangeRequest m_destinationPortRange;
492  bool m_destinationPortRangeHasBeenSet;
493 
494  TrafficMirrorPortRangeRequest m_sourcePortRange;
495  bool m_sourcePortRangeHasBeenSet;
496 
497  int m_protocol;
498  bool m_protocolHasBeenSet;
499 
500  Aws::String m_destinationCidrBlock;
501  bool m_destinationCidrBlockHasBeenSet;
502 
503  Aws::String m_sourceCidrBlock;
504  bool m_sourceCidrBlockHasBeenSet;
505 
506  Aws::String m_description;
507  bool m_descriptionHasBeenSet;
508 
510  bool m_removeFieldsHasBeenSet;
511 
512  bool m_dryRun;
513  bool m_dryRunHasBeenSet;
514  };
515 
516 } // namespace Model
517 } // namespace EC2
518 } // namespace Aws
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetDescription
void SetDescription(const char *value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:370
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetTrafficMirrorFilterRuleId
void SetTrafficMirrorFilterRuleId(Aws::String &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:62
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::GetRuleAction
const TrafficMirrorRuleAction & GetRuleAction() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:154
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::GetDestinationCidrBlock
const Aws::String & GetDestinationCidrBlock() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:268
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::TrafficDirectionHasBeenSet
bool TrafficDirectionHasBeenSet() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:95
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithRemoveFields
ModifyTrafficMirrorFilterRuleRequest & WithRemoveFields(const Aws::Vector< TrafficMirrorFilterRuleField > &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:421
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithTrafficMirrorFilterRuleId
ModifyTrafficMirrorFilterRuleRequest & WithTrafficMirrorFilterRuleId(const char *value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:82
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::GetTrafficMirrorFilterRuleId
const Aws::String & GetTrafficMirrorFilterRuleId() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:47
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetDestinationPortRange
void SetDestinationPortRange(const TrafficMirrorPortRangeRequest &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:195
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::ProtocolHasBeenSet
bool ProtocolHasBeenSet() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:252
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithDescription
ModifyTrafficMirrorFilterRuleRequest & WithDescription(const char *value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:385
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithDescription
ModifyTrafficMirrorFilterRuleRequest & WithDescription(const Aws::String &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:375
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetSourcePortRange
void SetSourcePortRange(const TrafficMirrorPortRangeRequest &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:226
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetTrafficMirrorFilterRuleId
void SetTrafficMirrorFilterRuleId(const Aws::String &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:57
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::RemoveFieldsHasBeenSet
bool RemoveFieldsHasBeenSet() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:400
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::GetDryRun
bool GetDryRun() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:451
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithRuleNumber
ModifyTrafficMirrorFilterRuleRequest & WithRuleNumber(int value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:148
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetRemoveFields
void SetRemoveFields(Aws::Vector< TrafficMirrorFilterRuleField > &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:414
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetDestinationCidrBlock
void SetDestinationCidrBlock(Aws::String &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:283
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::GetSourceCidrBlock
const Aws::String & GetSourceCidrBlock() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:309
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetRuleNumber
void SetRuleNumber(int value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:141
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::ModifyTrafficMirrorFilterRuleRequest
ModifyTrafficMirrorFilterRuleRequest()
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithDestinationCidrBlock
ModifyTrafficMirrorFilterRuleRequest & WithDestinationCidrBlock(const Aws::String &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:293
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::AddRemoveFields
ModifyTrafficMirrorFilterRuleRequest & AddRemoveFields(TrafficMirrorFilterRuleField &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:442
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithDestinationPortRange
ModifyTrafficMirrorFilterRuleRequest & WithDestinationPortRange(TrafficMirrorPortRangeRequest &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:210
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithTrafficMirrorFilterRuleId
ModifyTrafficMirrorFilterRuleRequest & WithTrafficMirrorFilterRuleId(Aws::String &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:77
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetDryRun
void SetDryRun(bool value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:467
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithRuleAction
ModifyTrafficMirrorFilterRuleRequest & WithRuleAction(TrafficMirrorRuleAction &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:179
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:459
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:360
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::GetDestinationPortRange
const TrafficMirrorPortRangeRequest & GetDestinationPortRange() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:185
TrafficMirrorFilterRuleField.h
Aws::EC2::Model::TrafficMirrorPortRangeRequest
Definition: TrafficMirrorPortRangeRequest.h:31
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:355
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::DestinationCidrBlockHasBeenSet
bool DestinationCidrBlockHasBeenSet() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:273
AWSVector.h
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetProtocol
void SetProtocol(int value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:257
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithSourceCidrBlock
ModifyTrafficMirrorFilterRuleRequest & WithSourceCidrBlock(const char *value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:344
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithTrafficDirection
ModifyTrafficMirrorFilterRuleRequest & WithTrafficDirection(TrafficDirection &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:119
TrafficDirection.h
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithDestinationPortRange
ModifyTrafficMirrorFilterRuleRequest & WithDestinationPortRange(const TrafficMirrorPortRangeRequest &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:205
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::RuleActionHasBeenSet
bool RuleActionHasBeenSet() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:159
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetRuleAction
void SetRuleAction(const TrafficMirrorRuleAction &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:164
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithSourcePortRange
ModifyTrafficMirrorFilterRuleRequest & WithSourcePortRange(TrafficMirrorPortRangeRequest &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:241
Aws::EC2::Model::TrafficMirrorFilterRuleField
TrafficMirrorFilterRuleField
Definition: TrafficMirrorFilterRuleField.h:17
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::GetRemoveFields
const Aws::Vector< TrafficMirrorFilterRuleField > & GetRemoveFields() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:393
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithDescription
ModifyTrafficMirrorFilterRuleRequest & WithDescription(Aws::String &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:380
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::DestinationPortRangeHasBeenSet
bool DestinationPortRangeHasBeenSet() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:190
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithRemoveFields
ModifyTrafficMirrorFilterRuleRequest & WithRemoveFields(Aws::Vector< TrafficMirrorFilterRuleField > &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:428
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetSourcePortRange
void SetSourcePortRange(TrafficMirrorPortRangeRequest &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:231
Aws::EC2::Model::TrafficMirrorRuleAction
TrafficMirrorRuleAction
Definition: TrafficMirrorRuleAction.h:17
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetSourceCidrBlock
void SetSourceCidrBlock(const Aws::String &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:319
EC2Request.h
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithDestinationCidrBlock
ModifyTrafficMirrorFilterRuleRequest & WithDestinationCidrBlock(const char *value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:303
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithTrafficMirrorFilterRuleId
ModifyTrafficMirrorFilterRuleRequest & WithTrafficMirrorFilterRuleId(const Aws::String &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:72
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::GetDescription
const Aws::String & GetDescription() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:350
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithSourcePortRange
ModifyTrafficMirrorFilterRuleRequest & WithSourcePortRange(const TrafficMirrorPortRangeRequest &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:236
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithDestinationCidrBlock
ModifyTrafficMirrorFilterRuleRequest & WithDestinationCidrBlock(Aws::String &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:298
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetTrafficMirrorFilterRuleId
void SetTrafficMirrorFilterRuleId(const char *value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:67
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetTrafficDirection
void SetTrafficDirection(const TrafficDirection &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:101
AWSString.h
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetDestinationCidrBlock
void SetDestinationCidrBlock(const Aws::String &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:278
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::GetSourcePortRange
const TrafficMirrorPortRangeRequest & GetSourcePortRange() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:216
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::RuleNumberHasBeenSet
bool RuleNumberHasBeenSet() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:134
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithDryRun
ModifyTrafficMirrorFilterRuleRequest & WithDryRun(bool value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:475
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetRuleAction
void SetRuleAction(TrafficMirrorRuleAction &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:169
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithSourceCidrBlock
ModifyTrafficMirrorFilterRuleRequest & WithSourceCidrBlock(const Aws::String &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:334
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::GetRuleNumber
int GetRuleNumber() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:127
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SourcePortRangeHasBeenSet
bool SourcePortRangeHasBeenSet() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:221
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetTrafficDirection
void SetTrafficDirection(TrafficDirection &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:107
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest
Definition: ModifyTrafficMirrorFilterRuleRequest.h:27
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithRuleAction
ModifyTrafficMirrorFilterRuleRequest & WithRuleAction(const TrafficMirrorRuleAction &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:174
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetDestinationCidrBlock
void SetDestinationCidrBlock(const char *value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:288
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::GetProtocol
int GetProtocol() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:247
TrafficMirrorRuleAction.h
Aws::EC2::Model::TrafficDirection
TrafficDirection
Definition: TrafficDirection.h:17
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::TrafficMirrorFilterRuleIdHasBeenSet
bool TrafficMirrorFilterRuleIdHasBeenSet() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:52
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::AddRemoveFields
ModifyTrafficMirrorFilterRuleRequest & AddRemoveFields(const TrafficMirrorFilterRuleField &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:435
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetRemoveFields
void SetRemoveFields(const Aws::Vector< TrafficMirrorFilterRuleField > &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:407
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetDestinationPortRange
void SetDestinationPortRange(TrafficMirrorPortRangeRequest &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:200
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ModifyTrafficMirrorFilterRuleRequest.h:35
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::GetTrafficDirection
const TrafficDirection & GetTrafficDirection() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:89
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithTrafficDirection
ModifyTrafficMirrorFilterRuleRequest & WithTrafficDirection(const TrafficDirection &value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:113
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetSourceCidrBlock
void SetSourceCidrBlock(Aws::String &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:324
EC2_EXPORTS.h
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:365
TrafficMirrorPortRangeRequest.h
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SourceCidrBlockHasBeenSet
bool SourceCidrBlockHasBeenSet() const
Definition: ModifyTrafficMirrorFilterRuleRequest.h:314
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithSourceCidrBlock
ModifyTrafficMirrorFilterRuleRequest & WithSourceCidrBlock(Aws::String &&value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:339
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::SetSourceCidrBlock
void SetSourceCidrBlock(const char *value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:329
Aws::EC2::Model::ModifyTrafficMirrorFilterRuleRequest::WithProtocol
ModifyTrafficMirrorFilterRuleRequest & WithProtocol(int value)
Definition: ModifyTrafficMirrorFilterRuleRequest.h:262