AWS SDK for C++  1.9.123
AWS SDK for C++
CreateTrafficMirrorFilterRuleRequest.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>
13 #include <utility>
14 #include <aws/core/utils/UUID.h>
15 
16 namespace Aws
17 {
18 namespace EC2
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CreateTrafficMirrorFilterRule"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
46  inline const Aws::String& GetTrafficMirrorFilterId() const{ return m_trafficMirrorFilterId; }
47 
51  inline bool TrafficMirrorFilterIdHasBeenSet() const { return m_trafficMirrorFilterIdHasBeenSet; }
52 
56  inline void SetTrafficMirrorFilterId(const Aws::String& value) { m_trafficMirrorFilterIdHasBeenSet = true; m_trafficMirrorFilterId = value; }
57 
61  inline void SetTrafficMirrorFilterId(Aws::String&& value) { m_trafficMirrorFilterIdHasBeenSet = true; m_trafficMirrorFilterId = std::move(value); }
62 
66  inline void SetTrafficMirrorFilterId(const char* value) { m_trafficMirrorFilterIdHasBeenSet = true; m_trafficMirrorFilterId.assign(value); }
67 
71  inline CreateTrafficMirrorFilterRuleRequest& WithTrafficMirrorFilterId(const Aws::String& value) { SetTrafficMirrorFilterId(value); return *this;}
72 
76  inline CreateTrafficMirrorFilterRuleRequest& WithTrafficMirrorFilterId(Aws::String&& value) { SetTrafficMirrorFilterId(std::move(value)); return *this;}
77 
81  inline CreateTrafficMirrorFilterRuleRequest& WithTrafficMirrorFilterId(const char* value) { SetTrafficMirrorFilterId(value); return *this;}
82 
83 
87  inline const TrafficDirection& GetTrafficDirection() const{ return m_trafficDirection; }
88 
92  inline bool TrafficDirectionHasBeenSet() const { return m_trafficDirectionHasBeenSet; }
93 
97  inline void SetTrafficDirection(const TrafficDirection& value) { m_trafficDirectionHasBeenSet = true; m_trafficDirection = value; }
98 
102  inline void SetTrafficDirection(TrafficDirection&& value) { m_trafficDirectionHasBeenSet = true; m_trafficDirection = std::move(value); }
103 
107  inline CreateTrafficMirrorFilterRuleRequest& WithTrafficDirection(const TrafficDirection& value) { SetTrafficDirection(value); return *this;}
108 
112  inline CreateTrafficMirrorFilterRuleRequest& WithTrafficDirection(TrafficDirection&& value) { SetTrafficDirection(std::move(value)); return *this;}
113 
114 
120  inline int GetRuleNumber() const{ return m_ruleNumber; }
121 
127  inline bool RuleNumberHasBeenSet() const { return m_ruleNumberHasBeenSet; }
128 
134  inline void SetRuleNumber(int value) { m_ruleNumberHasBeenSet = true; m_ruleNumber = value; }
135 
141  inline CreateTrafficMirrorFilterRuleRequest& WithRuleNumber(int value) { SetRuleNumber(value); return *this;}
142 
143 
147  inline const TrafficMirrorRuleAction& GetRuleAction() const{ return m_ruleAction; }
148 
152  inline bool RuleActionHasBeenSet() const { return m_ruleActionHasBeenSet; }
153 
157  inline void SetRuleAction(const TrafficMirrorRuleAction& value) { m_ruleActionHasBeenSet = true; m_ruleAction = value; }
158 
162  inline void SetRuleAction(TrafficMirrorRuleAction&& value) { m_ruleActionHasBeenSet = true; m_ruleAction = std::move(value); }
163 
167  inline CreateTrafficMirrorFilterRuleRequest& WithRuleAction(const TrafficMirrorRuleAction& value) { SetRuleAction(value); return *this;}
168 
172  inline CreateTrafficMirrorFilterRuleRequest& WithRuleAction(TrafficMirrorRuleAction&& value) { SetRuleAction(std::move(value)); return *this;}
173 
174 
178  inline const TrafficMirrorPortRangeRequest& GetDestinationPortRange() const{ return m_destinationPortRange; }
179 
183  inline bool DestinationPortRangeHasBeenSet() const { return m_destinationPortRangeHasBeenSet; }
184 
188  inline void SetDestinationPortRange(const TrafficMirrorPortRangeRequest& value) { m_destinationPortRangeHasBeenSet = true; m_destinationPortRange = value; }
189 
193  inline void SetDestinationPortRange(TrafficMirrorPortRangeRequest&& value) { m_destinationPortRangeHasBeenSet = true; m_destinationPortRange = std::move(value); }
194 
198  inline CreateTrafficMirrorFilterRuleRequest& WithDestinationPortRange(const TrafficMirrorPortRangeRequest& value) { SetDestinationPortRange(value); return *this;}
199 
203  inline CreateTrafficMirrorFilterRuleRequest& WithDestinationPortRange(TrafficMirrorPortRangeRequest&& value) { SetDestinationPortRange(std::move(value)); return *this;}
204 
205 
209  inline const TrafficMirrorPortRangeRequest& GetSourcePortRange() const{ return m_sourcePortRange; }
210 
214  inline bool SourcePortRangeHasBeenSet() const { return m_sourcePortRangeHasBeenSet; }
215 
219  inline void SetSourcePortRange(const TrafficMirrorPortRangeRequest& value) { m_sourcePortRangeHasBeenSet = true; m_sourcePortRange = value; }
220 
224  inline void SetSourcePortRange(TrafficMirrorPortRangeRequest&& value) { m_sourcePortRangeHasBeenSet = true; m_sourcePortRange = std::move(value); }
225 
229  inline CreateTrafficMirrorFilterRuleRequest& WithSourcePortRange(const TrafficMirrorPortRangeRequest& value) { SetSourcePortRange(value); return *this;}
230 
234  inline CreateTrafficMirrorFilterRuleRequest& WithSourcePortRange(TrafficMirrorPortRangeRequest&& value) { SetSourcePortRange(std::move(value)); return *this;}
235 
236 
243  inline int GetProtocol() const{ return m_protocol; }
244 
251  inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
252 
259  inline void SetProtocol(int value) { m_protocolHasBeenSet = true; m_protocol = value; }
260 
267  inline CreateTrafficMirrorFilterRuleRequest& WithProtocol(int value) { SetProtocol(value); return *this;}
268 
269 
273  inline const Aws::String& GetDestinationCidrBlock() const{ return m_destinationCidrBlock; }
274 
278  inline bool DestinationCidrBlockHasBeenSet() const { return m_destinationCidrBlockHasBeenSet; }
279 
283  inline void SetDestinationCidrBlock(const Aws::String& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = value; }
284 
288  inline void SetDestinationCidrBlock(Aws::String&& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = std::move(value); }
289 
293  inline void SetDestinationCidrBlock(const char* value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock.assign(value); }
294 
298  inline CreateTrafficMirrorFilterRuleRequest& WithDestinationCidrBlock(const Aws::String& value) { SetDestinationCidrBlock(value); return *this;}
299 
303  inline CreateTrafficMirrorFilterRuleRequest& WithDestinationCidrBlock(Aws::String&& value) { SetDestinationCidrBlock(std::move(value)); return *this;}
304 
308  inline CreateTrafficMirrorFilterRuleRequest& WithDestinationCidrBlock(const char* value) { SetDestinationCidrBlock(value); return *this;}
309 
310 
314  inline const Aws::String& GetSourceCidrBlock() const{ return m_sourceCidrBlock; }
315 
319  inline bool SourceCidrBlockHasBeenSet() const { return m_sourceCidrBlockHasBeenSet; }
320 
324  inline void SetSourceCidrBlock(const Aws::String& value) { m_sourceCidrBlockHasBeenSet = true; m_sourceCidrBlock = value; }
325 
329  inline void SetSourceCidrBlock(Aws::String&& value) { m_sourceCidrBlockHasBeenSet = true; m_sourceCidrBlock = std::move(value); }
330 
334  inline void SetSourceCidrBlock(const char* value) { m_sourceCidrBlockHasBeenSet = true; m_sourceCidrBlock.assign(value); }
335 
339  inline CreateTrafficMirrorFilterRuleRequest& WithSourceCidrBlock(const Aws::String& value) { SetSourceCidrBlock(value); return *this;}
340 
344  inline CreateTrafficMirrorFilterRuleRequest& WithSourceCidrBlock(Aws::String&& value) { SetSourceCidrBlock(std::move(value)); return *this;}
345 
349  inline CreateTrafficMirrorFilterRuleRequest& WithSourceCidrBlock(const char* value) { SetSourceCidrBlock(value); return *this;}
350 
351 
355  inline const Aws::String& GetDescription() const{ return m_description; }
356 
360  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
361 
365  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
366 
370  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
371 
375  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
376 
380  inline CreateTrafficMirrorFilterRuleRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
381 
385  inline CreateTrafficMirrorFilterRuleRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
386 
390  inline CreateTrafficMirrorFilterRuleRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
391 
392 
399  inline bool GetDryRun() const{ return m_dryRun; }
400 
407  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
408 
415  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
416 
423  inline CreateTrafficMirrorFilterRuleRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
424 
425 
432  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
433 
440  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
441 
448  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
449 
456  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
457 
464  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
465 
472  inline CreateTrafficMirrorFilterRuleRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
473 
480  inline CreateTrafficMirrorFilterRuleRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
481 
488  inline CreateTrafficMirrorFilterRuleRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
489 
490  private:
491 
492  Aws::String m_trafficMirrorFilterId;
493  bool m_trafficMirrorFilterIdHasBeenSet;
494 
495  TrafficDirection m_trafficDirection;
496  bool m_trafficDirectionHasBeenSet;
497 
498  int m_ruleNumber;
499  bool m_ruleNumberHasBeenSet;
500 
501  TrafficMirrorRuleAction m_ruleAction;
502  bool m_ruleActionHasBeenSet;
503 
504  TrafficMirrorPortRangeRequest m_destinationPortRange;
505  bool m_destinationPortRangeHasBeenSet;
506 
507  TrafficMirrorPortRangeRequest m_sourcePortRange;
508  bool m_sourcePortRangeHasBeenSet;
509 
510  int m_protocol;
511  bool m_protocolHasBeenSet;
512 
513  Aws::String m_destinationCidrBlock;
514  bool m_destinationCidrBlockHasBeenSet;
515 
516  Aws::String m_sourceCidrBlock;
517  bool m_sourceCidrBlockHasBeenSet;
518 
519  Aws::String m_description;
520  bool m_descriptionHasBeenSet;
521 
522  bool m_dryRun;
523  bool m_dryRunHasBeenSet;
524 
525  Aws::String m_clientToken;
526  bool m_clientTokenHasBeenSet;
527  };
528 
529 } // namespace Model
530 } // namespace EC2
531 } // namespace Aws
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetSourceCidrBlock
const Aws::String & GetSourceCidrBlock() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:314
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetDestinationPortRange
void SetDestinationPortRange(const TrafficMirrorPortRangeRequest &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:188
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetRuleAction
void SetRuleAction(TrafficMirrorRuleAction &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:162
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:456
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetProtocol
void SetProtocol(int value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:259
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetSourcePortRange
void SetSourcePortRange(TrafficMirrorPortRangeRequest &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:224
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetDryRun
bool GetDryRun() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:399
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetDestinationCidrBlock
void SetDestinationCidrBlock(const char *value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:293
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetDryRun
void SetDryRun(bool value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:415
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetProtocol
int GetProtocol() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:243
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithDestinationPortRange
CreateTrafficMirrorFilterRuleRequest & WithDestinationPortRange(const TrafficMirrorPortRangeRequest &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:198
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::TrafficDirectionHasBeenSet
bool TrafficDirectionHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:92
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithDescription
CreateTrafficMirrorFilterRuleRequest & WithDescription(const char *value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:390
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithTrafficDirection
CreateTrafficMirrorFilterRuleRequest & WithTrafficDirection(TrafficDirection &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:112
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:440
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetSourceCidrBlock
void SetSourceCidrBlock(Aws::String &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:329
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::TrafficMirrorFilterIdHasBeenSet
bool TrafficMirrorFilterIdHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:51
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SourceCidrBlockHasBeenSet
bool SourceCidrBlockHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:319
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithSourcePortRange
CreateTrafficMirrorFilterRuleRequest & WithSourcePortRange(const TrafficMirrorPortRangeRequest &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:229
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithProtocol
CreateTrafficMirrorFilterRuleRequest & WithProtocol(int value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:267
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetClientToken
void SetClientToken(const char *value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:464
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithDryRun
CreateTrafficMirrorFilterRuleRequest & WithDryRun(bool value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:423
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:375
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetDestinationCidrBlock
void SetDestinationCidrBlock(Aws::String &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:288
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::CreateTrafficMirrorFilterRuleRequest
CreateTrafficMirrorFilterRuleRequest()
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetDestinationCidrBlock
const Aws::String & GetDestinationCidrBlock() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:273
Aws::EC2::Model::TrafficMirrorPortRangeRequest
Definition: TrafficMirrorPortRangeRequest.h:31
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithSourcePortRange
CreateTrafficMirrorFilterRuleRequest & WithSourcePortRange(TrafficMirrorPortRangeRequest &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:234
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetTrafficDirection
void SetTrafficDirection(TrafficDirection &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:102
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithClientToken
CreateTrafficMirrorFilterRuleRequest & WithClientToken(const char *value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:488
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SourcePortRangeHasBeenSet
bool SourcePortRangeHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:214
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::RuleNumberHasBeenSet
bool RuleNumberHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:127
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:365
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithRuleAction
CreateTrafficMirrorFilterRuleRequest & WithRuleAction(const TrafficMirrorRuleAction &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:167
TrafficDirection.h
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetDestinationCidrBlock
void SetDestinationCidrBlock(const Aws::String &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:283
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithSourceCidrBlock
CreateTrafficMirrorFilterRuleRequest & WithSourceCidrBlock(Aws::String &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:344
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetTrafficMirrorFilterId
void SetTrafficMirrorFilterId(const char *value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:66
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithDestinationCidrBlock
CreateTrafficMirrorFilterRuleRequest & WithDestinationCidrBlock(const char *value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:308
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithTrafficMirrorFilterId
CreateTrafficMirrorFilterRuleRequest & WithTrafficMirrorFilterId(const Aws::String &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:71
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetTrafficDirection
void SetTrafficDirection(const TrafficDirection &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:97
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetTrafficMirrorFilterId
void SetTrafficMirrorFilterId(Aws::String &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:61
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:407
Aws::EC2::Model::TrafficMirrorRuleAction
TrafficMirrorRuleAction
Definition: TrafficMirrorRuleAction.h:17
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetSourcePortRange
void SetSourcePortRange(const TrafficMirrorPortRangeRequest &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:219
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::DestinationPortRangeHasBeenSet
bool DestinationPortRangeHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:183
EC2Request.h
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetTrafficMirrorFilterId
const Aws::String & GetTrafficMirrorFilterId() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:46
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithSourceCidrBlock
CreateTrafficMirrorFilterRuleRequest & WithSourceCidrBlock(const Aws::String &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:339
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetTrafficDirection
const TrafficDirection & GetTrafficDirection() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:87
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithClientToken
CreateTrafficMirrorFilterRuleRequest & WithClientToken(Aws::String &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:480
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithDescription
CreateTrafficMirrorFilterRuleRequest & WithDescription(const Aws::String &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:380
AWSString.h
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithDestinationPortRange
CreateTrafficMirrorFilterRuleRequest & WithDestinationPortRange(TrafficMirrorPortRangeRequest &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:203
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithDescription
CreateTrafficMirrorFilterRuleRequest & WithDescription(Aws::String &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:385
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithRuleNumber
CreateTrafficMirrorFilterRuleRequest & WithRuleNumber(int value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:141
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithTrafficDirection
CreateTrafficMirrorFilterRuleRequest & WithTrafficDirection(const TrafficDirection &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:107
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:448
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetSourceCidrBlock
void SetSourceCidrBlock(const char *value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:334
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetRuleNumber
void SetRuleNumber(int value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:134
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::DestinationCidrBlockHasBeenSet
bool DestinationCidrBlockHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:278
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetDestinationPortRange
const TrafficMirrorPortRangeRequest & GetDestinationPortRange() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:178
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::ProtocolHasBeenSet
bool ProtocolHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:251
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithTrafficMirrorFilterId
CreateTrafficMirrorFilterRuleRequest & WithTrafficMirrorFilterId(Aws::String &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:76
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetRuleNumber
int GetRuleNumber() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:120
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateTrafficMirrorFilterRuleRequest.h:34
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetTrafficMirrorFilterId
void SetTrafficMirrorFilterId(const Aws::String &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:56
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:360
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:432
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithDestinationCidrBlock
CreateTrafficMirrorFilterRuleRequest & WithDestinationCidrBlock(const Aws::String &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:298
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:370
TrafficMirrorRuleAction.h
Aws::EC2::Model::TrafficDirection
TrafficDirection
Definition: TrafficDirection.h:17
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithDestinationCidrBlock
CreateTrafficMirrorFilterRuleRequest & WithDestinationCidrBlock(Aws::String &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:303
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithTrafficMirrorFilterId
CreateTrafficMirrorFilterRuleRequest & WithTrafficMirrorFilterId(const char *value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:81
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetSourceCidrBlock
void SetSourceCidrBlock(const Aws::String &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:324
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithSourceCidrBlock
CreateTrafficMirrorFilterRuleRequest & WithSourceCidrBlock(const char *value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:349
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetDestinationPortRange
void SetDestinationPortRange(TrafficMirrorPortRangeRequest &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:193
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:355
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::RuleActionHasBeenSet
bool RuleActionHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:152
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetSourcePortRange
const TrafficMirrorPortRangeRequest & GetSourcePortRange() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:209
UUID.h
EC2_EXPORTS.h
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest
Definition: CreateTrafficMirrorFilterRuleRequest.h:26
TrafficMirrorPortRangeRequest.h
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithClientToken
CreateTrafficMirrorFilterRuleRequest & WithClientToken(const Aws::String &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:472
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithRuleAction
CreateTrafficMirrorFilterRuleRequest & WithRuleAction(TrafficMirrorRuleAction &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:172
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetRuleAction
const TrafficMirrorRuleAction & GetRuleAction() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:147
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetRuleAction
void SetRuleAction(const TrafficMirrorRuleAction &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:157