AWS SDK for C++  1.9.19
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 
148  inline const TrafficMirrorRuleAction& GetRuleAction() const{ return m_ruleAction; }
149 
154  inline bool RuleActionHasBeenSet() const { return m_ruleActionHasBeenSet; }
155 
160  inline void SetRuleAction(const TrafficMirrorRuleAction& value) { m_ruleActionHasBeenSet = true; m_ruleAction = value; }
161 
166  inline void SetRuleAction(TrafficMirrorRuleAction&& value) { m_ruleActionHasBeenSet = true; m_ruleAction = std::move(value); }
167 
172  inline CreateTrafficMirrorFilterRuleRequest& WithRuleAction(const TrafficMirrorRuleAction& value) { SetRuleAction(value); return *this;}
173 
178  inline CreateTrafficMirrorFilterRuleRequest& WithRuleAction(TrafficMirrorRuleAction&& value) { SetRuleAction(std::move(value)); return *this;}
179 
180 
184  inline const TrafficMirrorPortRangeRequest& GetDestinationPortRange() const{ return m_destinationPortRange; }
185 
189  inline bool DestinationPortRangeHasBeenSet() const { return m_destinationPortRangeHasBeenSet; }
190 
194  inline void SetDestinationPortRange(const TrafficMirrorPortRangeRequest& value) { m_destinationPortRangeHasBeenSet = true; m_destinationPortRange = value; }
195 
199  inline void SetDestinationPortRange(TrafficMirrorPortRangeRequest&& value) { m_destinationPortRangeHasBeenSet = true; m_destinationPortRange = std::move(value); }
200 
204  inline CreateTrafficMirrorFilterRuleRequest& WithDestinationPortRange(const TrafficMirrorPortRangeRequest& value) { SetDestinationPortRange(value); return *this;}
205 
209  inline CreateTrafficMirrorFilterRuleRequest& WithDestinationPortRange(TrafficMirrorPortRangeRequest&& value) { SetDestinationPortRange(std::move(value)); return *this;}
210 
211 
215  inline const TrafficMirrorPortRangeRequest& GetSourcePortRange() const{ return m_sourcePortRange; }
216 
220  inline bool SourcePortRangeHasBeenSet() const { return m_sourcePortRangeHasBeenSet; }
221 
225  inline void SetSourcePortRange(const TrafficMirrorPortRangeRequest& value) { m_sourcePortRangeHasBeenSet = true; m_sourcePortRange = value; }
226 
230  inline void SetSourcePortRange(TrafficMirrorPortRangeRequest&& value) { m_sourcePortRangeHasBeenSet = true; m_sourcePortRange = std::move(value); }
231 
235  inline CreateTrafficMirrorFilterRuleRequest& WithSourcePortRange(const TrafficMirrorPortRangeRequest& value) { SetSourcePortRange(value); return *this;}
236 
240  inline CreateTrafficMirrorFilterRuleRequest& WithSourcePortRange(TrafficMirrorPortRangeRequest&& value) { SetSourcePortRange(std::move(value)); return *this;}
241 
242 
249  inline int GetProtocol() const{ return m_protocol; }
250 
257  inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
258 
265  inline void SetProtocol(int value) { m_protocolHasBeenSet = true; m_protocol = value; }
266 
273  inline CreateTrafficMirrorFilterRuleRequest& WithProtocol(int value) { SetProtocol(value); return *this;}
274 
275 
279  inline const Aws::String& GetDestinationCidrBlock() const{ return m_destinationCidrBlock; }
280 
284  inline bool DestinationCidrBlockHasBeenSet() const { return m_destinationCidrBlockHasBeenSet; }
285 
289  inline void SetDestinationCidrBlock(const Aws::String& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = value; }
290 
294  inline void SetDestinationCidrBlock(Aws::String&& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = std::move(value); }
295 
299  inline void SetDestinationCidrBlock(const char* value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock.assign(value); }
300 
304  inline CreateTrafficMirrorFilterRuleRequest& WithDestinationCidrBlock(const Aws::String& value) { SetDestinationCidrBlock(value); return *this;}
305 
309  inline CreateTrafficMirrorFilterRuleRequest& WithDestinationCidrBlock(Aws::String&& value) { SetDestinationCidrBlock(std::move(value)); return *this;}
310 
314  inline CreateTrafficMirrorFilterRuleRequest& WithDestinationCidrBlock(const char* value) { SetDestinationCidrBlock(value); return *this;}
315 
316 
320  inline const Aws::String& GetSourceCidrBlock() const{ return m_sourceCidrBlock; }
321 
325  inline bool SourceCidrBlockHasBeenSet() const { return m_sourceCidrBlockHasBeenSet; }
326 
330  inline void SetSourceCidrBlock(const Aws::String& value) { m_sourceCidrBlockHasBeenSet = true; m_sourceCidrBlock = value; }
331 
335  inline void SetSourceCidrBlock(Aws::String&& value) { m_sourceCidrBlockHasBeenSet = true; m_sourceCidrBlock = std::move(value); }
336 
340  inline void SetSourceCidrBlock(const char* value) { m_sourceCidrBlockHasBeenSet = true; m_sourceCidrBlock.assign(value); }
341 
345  inline CreateTrafficMirrorFilterRuleRequest& WithSourceCidrBlock(const Aws::String& value) { SetSourceCidrBlock(value); return *this;}
346 
350  inline CreateTrafficMirrorFilterRuleRequest& WithSourceCidrBlock(Aws::String&& value) { SetSourceCidrBlock(std::move(value)); return *this;}
351 
355  inline CreateTrafficMirrorFilterRuleRequest& WithSourceCidrBlock(const char* value) { SetSourceCidrBlock(value); return *this;}
356 
357 
361  inline const Aws::String& GetDescription() const{ return m_description; }
362 
366  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
367 
371  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
372 
376  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
377 
381  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
382 
386  inline CreateTrafficMirrorFilterRuleRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
387 
391  inline CreateTrafficMirrorFilterRuleRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
392 
396  inline CreateTrafficMirrorFilterRuleRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
397 
398 
405  inline bool GetDryRun() const{ return m_dryRun; }
406 
413  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
414 
421  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
422 
429  inline CreateTrafficMirrorFilterRuleRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
430 
431 
438  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
439 
446  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
447 
454  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
455 
462  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
463 
470  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
471 
478  inline CreateTrafficMirrorFilterRuleRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
479 
486  inline CreateTrafficMirrorFilterRuleRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
487 
494  inline CreateTrafficMirrorFilterRuleRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
495 
496  private:
497 
498  Aws::String m_trafficMirrorFilterId;
499  bool m_trafficMirrorFilterIdHasBeenSet;
500 
501  TrafficDirection m_trafficDirection;
502  bool m_trafficDirectionHasBeenSet;
503 
504  int m_ruleNumber;
505  bool m_ruleNumberHasBeenSet;
506 
507  TrafficMirrorRuleAction m_ruleAction;
508  bool m_ruleActionHasBeenSet;
509 
510  TrafficMirrorPortRangeRequest m_destinationPortRange;
511  bool m_destinationPortRangeHasBeenSet;
512 
513  TrafficMirrorPortRangeRequest m_sourcePortRange;
514  bool m_sourcePortRangeHasBeenSet;
515 
516  int m_protocol;
517  bool m_protocolHasBeenSet;
518 
519  Aws::String m_destinationCidrBlock;
520  bool m_destinationCidrBlockHasBeenSet;
521 
522  Aws::String m_sourceCidrBlock;
523  bool m_sourceCidrBlockHasBeenSet;
524 
525  Aws::String m_description;
526  bool m_descriptionHasBeenSet;
527 
528  bool m_dryRun;
529  bool m_dryRunHasBeenSet;
530 
531  Aws::String m_clientToken;
532  bool m_clientTokenHasBeenSet;
533  };
534 
535 } // namespace Model
536 } // namespace EC2
537 } // namespace Aws
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetSourceCidrBlock
const Aws::String & GetSourceCidrBlock() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:320
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetDestinationPortRange
void SetDestinationPortRange(const TrafficMirrorPortRangeRequest &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:194
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetRuleAction
void SetRuleAction(TrafficMirrorRuleAction &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:166
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:462
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetProtocol
void SetProtocol(int value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:265
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetSourcePortRange
void SetSourcePortRange(TrafficMirrorPortRangeRequest &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:230
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetDryRun
bool GetDryRun() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:405
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetDestinationCidrBlock
void SetDestinationCidrBlock(const char *value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:299
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetDryRun
void SetDryRun(bool value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:421
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetProtocol
int GetProtocol() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:249
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithDestinationPortRange
CreateTrafficMirrorFilterRuleRequest & WithDestinationPortRange(const TrafficMirrorPortRangeRequest &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:204
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:396
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithTrafficDirection
CreateTrafficMirrorFilterRuleRequest & WithTrafficDirection(TrafficDirection &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:112
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:446
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetSourceCidrBlock
void SetSourceCidrBlock(Aws::String &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:335
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::TrafficMirrorFilterIdHasBeenSet
bool TrafficMirrorFilterIdHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:51
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SourceCidrBlockHasBeenSet
bool SourceCidrBlockHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:325
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithSourcePortRange
CreateTrafficMirrorFilterRuleRequest & WithSourcePortRange(const TrafficMirrorPortRangeRequest &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:235
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithProtocol
CreateTrafficMirrorFilterRuleRequest & WithProtocol(int value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:273
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetClientToken
void SetClientToken(const char *value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:470
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithDryRun
CreateTrafficMirrorFilterRuleRequest & WithDryRun(bool value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:429
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:381
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetDestinationCidrBlock
void SetDestinationCidrBlock(Aws::String &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:294
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::CreateTrafficMirrorFilterRuleRequest
CreateTrafficMirrorFilterRuleRequest()
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetDestinationCidrBlock
const Aws::String & GetDestinationCidrBlock() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:279
Aws::EC2::Model::TrafficMirrorPortRangeRequest
Definition: TrafficMirrorPortRangeRequest.h:31
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithSourcePortRange
CreateTrafficMirrorFilterRuleRequest & WithSourcePortRange(TrafficMirrorPortRangeRequest &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:240
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:494
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SourcePortRangeHasBeenSet
bool SourcePortRangeHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:220
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:371
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithRuleAction
CreateTrafficMirrorFilterRuleRequest & WithRuleAction(const TrafficMirrorRuleAction &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:172
TrafficDirection.h
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetDestinationCidrBlock
void SetDestinationCidrBlock(const Aws::String &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:289
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithSourceCidrBlock
CreateTrafficMirrorFilterRuleRequest & WithSourceCidrBlock(Aws::String &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:350
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:314
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:413
Aws::EC2::Model::TrafficMirrorRuleAction
TrafficMirrorRuleAction
Definition: TrafficMirrorRuleAction.h:17
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetSourcePortRange
void SetSourcePortRange(const TrafficMirrorPortRangeRequest &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:225
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::DestinationPortRangeHasBeenSet
bool DestinationPortRangeHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:189
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:345
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:486
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithDescription
CreateTrafficMirrorFilterRuleRequest & WithDescription(const Aws::String &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:386
AWSString.h
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithDestinationPortRange
CreateTrafficMirrorFilterRuleRequest & WithDestinationPortRange(TrafficMirrorPortRangeRequest &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:209
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithDescription
CreateTrafficMirrorFilterRuleRequest & WithDescription(Aws::String &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:391
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:454
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetSourceCidrBlock
void SetSourceCidrBlock(const char *value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:340
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetRuleNumber
void SetRuleNumber(int value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:134
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::DestinationCidrBlockHasBeenSet
bool DestinationCidrBlockHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:284
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetDestinationPortRange
const TrafficMirrorPortRangeRequest & GetDestinationPortRange() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:184
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::ProtocolHasBeenSet
bool ProtocolHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:257
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:366
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:438
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithDestinationCidrBlock
CreateTrafficMirrorFilterRuleRequest & WithDestinationCidrBlock(const Aws::String &value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:304
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:376
TrafficMirrorRuleAction.h
Aws::EC2::Model::TrafficDirection
TrafficDirection
Definition: TrafficDirection.h:17
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithDestinationCidrBlock
CreateTrafficMirrorFilterRuleRequest & WithDestinationCidrBlock(Aws::String &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:309
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:330
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithSourceCidrBlock
CreateTrafficMirrorFilterRuleRequest & WithSourceCidrBlock(const char *value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:355
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:199
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:361
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::RuleActionHasBeenSet
bool RuleActionHasBeenSet() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:154
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetSourcePortRange
const TrafficMirrorPortRangeRequest & GetSourcePortRange() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:215
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:478
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::WithRuleAction
CreateTrafficMirrorFilterRuleRequest & WithRuleAction(TrafficMirrorRuleAction &&value)
Definition: CreateTrafficMirrorFilterRuleRequest.h:178
Aws::EC2::Model::CreateTrafficMirrorFilterRuleRequest::GetRuleAction
const TrafficMirrorRuleAction & GetRuleAction() const
Definition: CreateTrafficMirrorFilterRuleRequest.h:148
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:160