AWS SDK for C++  1.9.66
AWS SDK for C++
TrafficMirrorFilterRule.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlNode;
22 } // namespace Xml
23 } // namespace Utils
24 namespace EC2
25 {
26 namespace Model
27 {
28 
35  {
36  public:
40 
41  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42  void OutputToStream(Aws::OStream& oStream, const char* location) const;
43 
44 
48  inline const Aws::String& GetTrafficMirrorFilterRuleId() const{ return m_trafficMirrorFilterRuleId; }
49 
53  inline bool TrafficMirrorFilterRuleIdHasBeenSet() const { return m_trafficMirrorFilterRuleIdHasBeenSet; }
54 
58  inline void SetTrafficMirrorFilterRuleId(const Aws::String& value) { m_trafficMirrorFilterRuleIdHasBeenSet = true; m_trafficMirrorFilterRuleId = value; }
59 
63  inline void SetTrafficMirrorFilterRuleId(Aws::String&& value) { m_trafficMirrorFilterRuleIdHasBeenSet = true; m_trafficMirrorFilterRuleId = std::move(value); }
64 
68  inline void SetTrafficMirrorFilterRuleId(const char* value) { m_trafficMirrorFilterRuleIdHasBeenSet = true; m_trafficMirrorFilterRuleId.assign(value); }
69 
73  inline TrafficMirrorFilterRule& WithTrafficMirrorFilterRuleId(const Aws::String& value) { SetTrafficMirrorFilterRuleId(value); return *this;}
74 
78  inline TrafficMirrorFilterRule& WithTrafficMirrorFilterRuleId(Aws::String&& value) { SetTrafficMirrorFilterRuleId(std::move(value)); return *this;}
79 
83  inline TrafficMirrorFilterRule& WithTrafficMirrorFilterRuleId(const char* value) { SetTrafficMirrorFilterRuleId(value); return *this;}
84 
85 
89  inline const Aws::String& GetTrafficMirrorFilterId() const{ return m_trafficMirrorFilterId; }
90 
94  inline bool TrafficMirrorFilterIdHasBeenSet() const { return m_trafficMirrorFilterIdHasBeenSet; }
95 
99  inline void SetTrafficMirrorFilterId(const Aws::String& value) { m_trafficMirrorFilterIdHasBeenSet = true; m_trafficMirrorFilterId = value; }
100 
104  inline void SetTrafficMirrorFilterId(Aws::String&& value) { m_trafficMirrorFilterIdHasBeenSet = true; m_trafficMirrorFilterId = std::move(value); }
105 
109  inline void SetTrafficMirrorFilterId(const char* value) { m_trafficMirrorFilterIdHasBeenSet = true; m_trafficMirrorFilterId.assign(value); }
110 
114  inline TrafficMirrorFilterRule& WithTrafficMirrorFilterId(const Aws::String& value) { SetTrafficMirrorFilterId(value); return *this;}
115 
119  inline TrafficMirrorFilterRule& WithTrafficMirrorFilterId(Aws::String&& value) { SetTrafficMirrorFilterId(std::move(value)); return *this;}
120 
124  inline TrafficMirrorFilterRule& WithTrafficMirrorFilterId(const char* value) { SetTrafficMirrorFilterId(value); return *this;}
125 
126 
130  inline const TrafficDirection& GetTrafficDirection() const{ return m_trafficDirection; }
131 
135  inline bool TrafficDirectionHasBeenSet() const { return m_trafficDirectionHasBeenSet; }
136 
140  inline void SetTrafficDirection(const TrafficDirection& value) { m_trafficDirectionHasBeenSet = true; m_trafficDirection = value; }
141 
145  inline void SetTrafficDirection(TrafficDirection&& value) { m_trafficDirectionHasBeenSet = true; m_trafficDirection = std::move(value); }
146 
150  inline TrafficMirrorFilterRule& WithTrafficDirection(const TrafficDirection& value) { SetTrafficDirection(value); return *this;}
151 
155  inline TrafficMirrorFilterRule& WithTrafficDirection(TrafficDirection&& value) { SetTrafficDirection(std::move(value)); return *this;}
156 
157 
161  inline int GetRuleNumber() const{ return m_ruleNumber; }
162 
166  inline bool RuleNumberHasBeenSet() const { return m_ruleNumberHasBeenSet; }
167 
171  inline void SetRuleNumber(int value) { m_ruleNumberHasBeenSet = true; m_ruleNumber = value; }
172 
176  inline TrafficMirrorFilterRule& WithRuleNumber(int value) { SetRuleNumber(value); return *this;}
177 
178 
182  inline const TrafficMirrorRuleAction& GetRuleAction() const{ return m_ruleAction; }
183 
187  inline bool RuleActionHasBeenSet() const { return m_ruleActionHasBeenSet; }
188 
192  inline void SetRuleAction(const TrafficMirrorRuleAction& value) { m_ruleActionHasBeenSet = true; m_ruleAction = value; }
193 
197  inline void SetRuleAction(TrafficMirrorRuleAction&& value) { m_ruleActionHasBeenSet = true; m_ruleAction = std::move(value); }
198 
202  inline TrafficMirrorFilterRule& WithRuleAction(const TrafficMirrorRuleAction& value) { SetRuleAction(value); return *this;}
203 
207  inline TrafficMirrorFilterRule& WithRuleAction(TrafficMirrorRuleAction&& value) { SetRuleAction(std::move(value)); return *this;}
208 
209 
213  inline int GetProtocol() const{ return m_protocol; }
214 
218  inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
219 
223  inline void SetProtocol(int value) { m_protocolHasBeenSet = true; m_protocol = value; }
224 
228  inline TrafficMirrorFilterRule& WithProtocol(int value) { SetProtocol(value); return *this;}
229 
230 
234  inline const TrafficMirrorPortRange& GetDestinationPortRange() const{ return m_destinationPortRange; }
235 
239  inline bool DestinationPortRangeHasBeenSet() const { return m_destinationPortRangeHasBeenSet; }
240 
244  inline void SetDestinationPortRange(const TrafficMirrorPortRange& value) { m_destinationPortRangeHasBeenSet = true; m_destinationPortRange = value; }
245 
249  inline void SetDestinationPortRange(TrafficMirrorPortRange&& value) { m_destinationPortRangeHasBeenSet = true; m_destinationPortRange = std::move(value); }
250 
254  inline TrafficMirrorFilterRule& WithDestinationPortRange(const TrafficMirrorPortRange& value) { SetDestinationPortRange(value); return *this;}
255 
259  inline TrafficMirrorFilterRule& WithDestinationPortRange(TrafficMirrorPortRange&& value) { SetDestinationPortRange(std::move(value)); return *this;}
260 
261 
265  inline const TrafficMirrorPortRange& GetSourcePortRange() const{ return m_sourcePortRange; }
266 
270  inline bool SourcePortRangeHasBeenSet() const { return m_sourcePortRangeHasBeenSet; }
271 
275  inline void SetSourcePortRange(const TrafficMirrorPortRange& value) { m_sourcePortRangeHasBeenSet = true; m_sourcePortRange = value; }
276 
280  inline void SetSourcePortRange(TrafficMirrorPortRange&& value) { m_sourcePortRangeHasBeenSet = true; m_sourcePortRange = std::move(value); }
281 
285  inline TrafficMirrorFilterRule& WithSourcePortRange(const TrafficMirrorPortRange& value) { SetSourcePortRange(value); return *this;}
286 
290  inline TrafficMirrorFilterRule& WithSourcePortRange(TrafficMirrorPortRange&& value) { SetSourcePortRange(std::move(value)); return *this;}
291 
292 
296  inline const Aws::String& GetDestinationCidrBlock() const{ return m_destinationCidrBlock; }
297 
301  inline bool DestinationCidrBlockHasBeenSet() const { return m_destinationCidrBlockHasBeenSet; }
302 
306  inline void SetDestinationCidrBlock(const Aws::String& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = value; }
307 
311  inline void SetDestinationCidrBlock(Aws::String&& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = std::move(value); }
312 
316  inline void SetDestinationCidrBlock(const char* value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock.assign(value); }
317 
321  inline TrafficMirrorFilterRule& WithDestinationCidrBlock(const Aws::String& value) { SetDestinationCidrBlock(value); return *this;}
322 
326  inline TrafficMirrorFilterRule& WithDestinationCidrBlock(Aws::String&& value) { SetDestinationCidrBlock(std::move(value)); return *this;}
327 
331  inline TrafficMirrorFilterRule& WithDestinationCidrBlock(const char* value) { SetDestinationCidrBlock(value); return *this;}
332 
333 
337  inline const Aws::String& GetSourceCidrBlock() const{ return m_sourceCidrBlock; }
338 
342  inline bool SourceCidrBlockHasBeenSet() const { return m_sourceCidrBlockHasBeenSet; }
343 
347  inline void SetSourceCidrBlock(const Aws::String& value) { m_sourceCidrBlockHasBeenSet = true; m_sourceCidrBlock = value; }
348 
352  inline void SetSourceCidrBlock(Aws::String&& value) { m_sourceCidrBlockHasBeenSet = true; m_sourceCidrBlock = std::move(value); }
353 
357  inline void SetSourceCidrBlock(const char* value) { m_sourceCidrBlockHasBeenSet = true; m_sourceCidrBlock.assign(value); }
358 
362  inline TrafficMirrorFilterRule& WithSourceCidrBlock(const Aws::String& value) { SetSourceCidrBlock(value); return *this;}
363 
367  inline TrafficMirrorFilterRule& WithSourceCidrBlock(Aws::String&& value) { SetSourceCidrBlock(std::move(value)); return *this;}
368 
372  inline TrafficMirrorFilterRule& WithSourceCidrBlock(const char* value) { SetSourceCidrBlock(value); return *this;}
373 
374 
378  inline const Aws::String& GetDescription() const{ return m_description; }
379 
383  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
384 
388  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
389 
393  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
394 
398  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
399 
403  inline TrafficMirrorFilterRule& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
404 
408  inline TrafficMirrorFilterRule& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
409 
413  inline TrafficMirrorFilterRule& WithDescription(const char* value) { SetDescription(value); return *this;}
414 
415  private:
416 
417  Aws::String m_trafficMirrorFilterRuleId;
418  bool m_trafficMirrorFilterRuleIdHasBeenSet;
419 
420  Aws::String m_trafficMirrorFilterId;
421  bool m_trafficMirrorFilterIdHasBeenSet;
422 
423  TrafficDirection m_trafficDirection;
424  bool m_trafficDirectionHasBeenSet;
425 
426  int m_ruleNumber;
427  bool m_ruleNumberHasBeenSet;
428 
429  TrafficMirrorRuleAction m_ruleAction;
430  bool m_ruleActionHasBeenSet;
431 
432  int m_protocol;
433  bool m_protocolHasBeenSet;
434 
435  TrafficMirrorPortRange m_destinationPortRange;
436  bool m_destinationPortRangeHasBeenSet;
437 
438  TrafficMirrorPortRange m_sourcePortRange;
439  bool m_sourcePortRangeHasBeenSet;
440 
441  Aws::String m_destinationCidrBlock;
442  bool m_destinationCidrBlockHasBeenSet;
443 
444  Aws::String m_sourceCidrBlock;
445  bool m_sourceCidrBlockHasBeenSet;
446 
447  Aws::String m_description;
448  bool m_descriptionHasBeenSet;
449  };
450 
451 } // namespace Model
452 } // namespace EC2
453 } // namespace Aws
Aws::EC2::Model::TrafficMirrorFilterRule::TrafficMirrorFilterRule
TrafficMirrorFilterRule(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::TrafficMirrorFilterRule::WithSourcePortRange
TrafficMirrorFilterRule & WithSourcePortRange(TrafficMirrorPortRange &&value)
Definition: TrafficMirrorFilterRule.h:290
Aws::EC2::Model::TrafficMirrorFilterRule::DestinationPortRangeHasBeenSet
bool DestinationPortRangeHasBeenSet() const
Definition: TrafficMirrorFilterRule.h:239
TrafficMirrorPortRange.h
Aws::EC2::Model::TrafficMirrorFilterRule::SetTrafficDirection
void SetTrafficDirection(const TrafficDirection &value)
Definition: TrafficMirrorFilterRule.h:140
Aws::EC2::Model::TrafficMirrorFilterRule::WithDestinationPortRange
TrafficMirrorFilterRule & WithDestinationPortRange(TrafficMirrorPortRange &&value)
Definition: TrafficMirrorFilterRule.h:259
Aws::EC2::Model::TrafficMirrorFilterRule::WithDescription
TrafficMirrorFilterRule & WithDescription(const char *value)
Definition: TrafficMirrorFilterRule.h:413
Aws::EC2::Model::TrafficMirrorFilterRule::SetTrafficMirrorFilterRuleId
void SetTrafficMirrorFilterRuleId(Aws::String &&value)
Definition: TrafficMirrorFilterRule.h:63
Aws::EC2::Model::TrafficMirrorFilterRule::WithTrafficMirrorFilterId
TrafficMirrorFilterRule & WithTrafficMirrorFilterId(const Aws::String &value)
Definition: TrafficMirrorFilterRule.h:114
Aws::EC2::Model::TrafficMirrorFilterRule::GetRuleAction
const TrafficMirrorRuleAction & GetRuleAction() const
Definition: TrafficMirrorFilterRule.h:182
Aws::EC2::Model::TrafficMirrorFilterRule::WithDestinationPortRange
TrafficMirrorFilterRule & WithDestinationPortRange(const TrafficMirrorPortRange &value)
Definition: TrafficMirrorFilterRule.h:254
Aws::EC2::Model::TrafficMirrorFilterRule::WithProtocol
TrafficMirrorFilterRule & WithProtocol(int value)
Definition: TrafficMirrorFilterRule.h:228
Aws::EC2::Model::TrafficMirrorFilterRule::TrafficDirectionHasBeenSet
bool TrafficDirectionHasBeenSet() const
Definition: TrafficMirrorFilterRule.h:135
Aws::EC2::Model::TrafficMirrorFilterRule::SetDestinationPortRange
void SetDestinationPortRange(TrafficMirrorPortRange &&value)
Definition: TrafficMirrorFilterRule.h:249
Aws::EC2::Model::TrafficMirrorFilterRule::WithSourceCidrBlock
TrafficMirrorFilterRule & WithSourceCidrBlock(const Aws::String &value)
Definition: TrafficMirrorFilterRule.h:362
Aws::EC2::Model::TrafficMirrorFilterRule::RuleNumberHasBeenSet
bool RuleNumberHasBeenSet() const
Definition: TrafficMirrorFilterRule.h:166
Aws::EC2::Model::TrafficMirrorFilterRule::WithRuleNumber
TrafficMirrorFilterRule & WithRuleNumber(int value)
Definition: TrafficMirrorFilterRule.h:176
Aws::EC2::Model::TrafficMirrorFilterRule::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::TrafficMirrorFilterRule::SourcePortRangeHasBeenSet
bool SourcePortRangeHasBeenSet() const
Definition: TrafficMirrorFilterRule.h:270
Aws::EC2::Model::TrafficMirrorFilterRule::SetDestinationPortRange
void SetDestinationPortRange(const TrafficMirrorPortRange &value)
Definition: TrafficMirrorFilterRule.h:244
Aws::EC2::Model::TrafficMirrorFilterRule::GetRuleNumber
int GetRuleNumber() const
Definition: TrafficMirrorFilterRule.h:161
Aws::EC2::Model::TrafficMirrorFilterRule::WithTrafficMirrorFilterId
TrafficMirrorFilterRule & WithTrafficMirrorFilterId(Aws::String &&value)
Definition: TrafficMirrorFilterRule.h:119
Aws::EC2::Model::TrafficMirrorFilterRule::TrafficMirrorFilterRule
TrafficMirrorFilterRule()
Aws::EC2::Model::TrafficMirrorFilterRule::TrafficMirrorFilterIdHasBeenSet
bool TrafficMirrorFilterIdHasBeenSet() const
Definition: TrafficMirrorFilterRule.h:94
Aws::EC2::Model::TrafficMirrorFilterRule::SourceCidrBlockHasBeenSet
bool SourceCidrBlockHasBeenSet() const
Definition: TrafficMirrorFilterRule.h:342
Aws::EC2::Model::TrafficMirrorFilterRule::SetDescription
void SetDescription(const Aws::String &value)
Definition: TrafficMirrorFilterRule.h:388
AWSStreamFwd.h
Aws::EC2::Model::TrafficMirrorFilterRule::SetTrafficMirrorFilterId
void SetTrafficMirrorFilterId(const Aws::String &value)
Definition: TrafficMirrorFilterRule.h:99
Aws::EC2::Model::TrafficMirrorFilterRule::SetSourceCidrBlock
void SetSourceCidrBlock(const Aws::String &value)
Definition: TrafficMirrorFilterRule.h:347
Aws::EC2::Model::TrafficMirrorFilterRule::WithRuleAction
TrafficMirrorFilterRule & WithRuleAction(const TrafficMirrorRuleAction &value)
Definition: TrafficMirrorFilterRule.h:202
Aws::EC2::Model::TrafficMirrorFilterRule::SetTrafficDirection
void SetTrafficDirection(TrafficDirection &&value)
Definition: TrafficMirrorFilterRule.h:145
Aws::EC2::Model::TrafficMirrorFilterRule
Definition: TrafficMirrorFilterRule.h:35
Aws::EC2::Model::TrafficMirrorFilterRule::SetDestinationCidrBlock
void SetDestinationCidrBlock(const Aws::String &value)
Definition: TrafficMirrorFilterRule.h:306
TrafficDirection.h
Aws::EC2::Model::TrafficMirrorFilterRule::GetDescription
const Aws::String & GetDescription() const
Definition: TrafficMirrorFilterRule.h:378
Aws::EC2::Model::TrafficMirrorPortRange
Definition: TrafficMirrorPortRange.h:30
Aws::EC2::Model::TrafficMirrorFilterRule::SetSourceCidrBlock
void SetSourceCidrBlock(const char *value)
Definition: TrafficMirrorFilterRule.h:357
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::TrafficMirrorFilterRule::WithTrafficMirrorFilterId
TrafficMirrorFilterRule & WithTrafficMirrorFilterId(const char *value)
Definition: TrafficMirrorFilterRule.h:124
Aws::EC2::Model::TrafficMirrorFilterRule::SetSourcePortRange
void SetSourcePortRange(const TrafficMirrorPortRange &value)
Definition: TrafficMirrorFilterRule.h:275
Aws::EC2::Model::TrafficMirrorFilterRule::SetSourceCidrBlock
void SetSourceCidrBlock(Aws::String &&value)
Definition: TrafficMirrorFilterRule.h:352
Aws::EC2::Model::TrafficMirrorFilterRule::GetDestinationPortRange
const TrafficMirrorPortRange & GetDestinationPortRange() const
Definition: TrafficMirrorFilterRule.h:234
Aws::EC2::Model::TrafficMirrorFilterRule::WithTrafficMirrorFilterRuleId
TrafficMirrorFilterRule & WithTrafficMirrorFilterRuleId(Aws::String &&value)
Definition: TrafficMirrorFilterRule.h:78
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::TrafficMirrorFilterRule::ProtocolHasBeenSet
bool ProtocolHasBeenSet() const
Definition: TrafficMirrorFilterRule.h:218
Aws::EC2::Model::TrafficMirrorRuleAction
TrafficMirrorRuleAction
Definition: TrafficMirrorRuleAction.h:17
Aws::EC2::Model::TrafficMirrorFilterRule::WithTrafficDirection
TrafficMirrorFilterRule & WithTrafficDirection(TrafficDirection &&value)
Definition: TrafficMirrorFilterRule.h:155
Aws::EC2::Model::TrafficMirrorFilterRule::SetTrafficMirrorFilterRuleId
void SetTrafficMirrorFilterRuleId(const Aws::String &value)
Definition: TrafficMirrorFilterRule.h:58
Aws::EC2::Model::TrafficMirrorFilterRule::GetTrafficDirection
const TrafficDirection & GetTrafficDirection() const
Definition: TrafficMirrorFilterRule.h:130
Aws::EC2::Model::TrafficMirrorFilterRule::DestinationCidrBlockHasBeenSet
bool DestinationCidrBlockHasBeenSet() const
Definition: TrafficMirrorFilterRule.h:301
Aws::EC2::Model::TrafficMirrorFilterRule::TrafficMirrorFilterRuleIdHasBeenSet
bool TrafficMirrorFilterRuleIdHasBeenSet() const
Definition: TrafficMirrorFilterRule.h:53
Aws::EC2::Model::TrafficMirrorFilterRule::WithTrafficMirrorFilterRuleId
TrafficMirrorFilterRule & WithTrafficMirrorFilterRuleId(const char *value)
Definition: TrafficMirrorFilterRule.h:83
Aws::EC2::Model::TrafficMirrorFilterRule::SetTrafficMirrorFilterId
void SetTrafficMirrorFilterId(const char *value)
Definition: TrafficMirrorFilterRule.h:109
Aws::EC2::Model::TrafficMirrorFilterRule::WithDestinationCidrBlock
TrafficMirrorFilterRule & WithDestinationCidrBlock(const char *value)
Definition: TrafficMirrorFilterRule.h:331
Aws::EC2::Model::TrafficMirrorFilterRule::SetSourcePortRange
void SetSourcePortRange(TrafficMirrorPortRange &&value)
Definition: TrafficMirrorFilterRule.h:280
AWSString.h
Aws::EC2::Model::TrafficMirrorFilterRule::GetSourceCidrBlock
const Aws::String & GetSourceCidrBlock() const
Definition: TrafficMirrorFilterRule.h:337
Aws::EC2::Model::TrafficMirrorFilterRule::SetTrafficMirrorFilterId
void SetTrafficMirrorFilterId(Aws::String &&value)
Definition: TrafficMirrorFilterRule.h:104
Aws::EC2::Model::TrafficMirrorFilterRule::SetProtocol
void SetProtocol(int value)
Definition: TrafficMirrorFilterRule.h:223
Aws::EC2::Model::TrafficMirrorFilterRule::WithDestinationCidrBlock
TrafficMirrorFilterRule & WithDestinationCidrBlock(Aws::String &&value)
Definition: TrafficMirrorFilterRule.h:326
Aws::EC2::Model::TrafficMirrorFilterRule::GetDestinationCidrBlock
const Aws::String & GetDestinationCidrBlock() const
Definition: TrafficMirrorFilterRule.h:296
Aws::EC2::Model::TrafficMirrorFilterRule::WithTrafficDirection
TrafficMirrorFilterRule & WithTrafficDirection(const TrafficDirection &value)
Definition: TrafficMirrorFilterRule.h:150
Aws::EC2::Model::TrafficMirrorFilterRule::WithSourcePortRange
TrafficMirrorFilterRule & WithSourcePortRange(const TrafficMirrorPortRange &value)
Definition: TrafficMirrorFilterRule.h:285
Aws::EC2::Model::TrafficMirrorFilterRule::SetRuleNumber
void SetRuleNumber(int value)
Definition: TrafficMirrorFilterRule.h:171
Aws::EC2::Model::TrafficMirrorFilterRule::SetRuleAction
void SetRuleAction(TrafficMirrorRuleAction &&value)
Definition: TrafficMirrorFilterRule.h:197
Aws::EC2::Model::TrafficMirrorFilterRule::GetTrafficMirrorFilterRuleId
const Aws::String & GetTrafficMirrorFilterRuleId() const
Definition: TrafficMirrorFilterRule.h:48
Aws::EC2::Model::TrafficMirrorFilterRule::WithRuleAction
TrafficMirrorFilterRule & WithRuleAction(TrafficMirrorRuleAction &&value)
Definition: TrafficMirrorFilterRule.h:207
Aws::EC2::Model::TrafficMirrorFilterRule::RuleActionHasBeenSet
bool RuleActionHasBeenSet() const
Definition: TrafficMirrorFilterRule.h:187
Aws::EC2::Model::TrafficMirrorFilterRule::operator=
TrafficMirrorFilterRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::TrafficMirrorFilterRule::SetTrafficMirrorFilterRuleId
void SetTrafficMirrorFilterRuleId(const char *value)
Definition: TrafficMirrorFilterRule.h:68
TrafficMirrorRuleAction.h
Aws::EC2::Model::TrafficMirrorFilterRule::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: TrafficMirrorFilterRule.h:383
Aws::EC2::Model::TrafficMirrorFilterRule::WithDestinationCidrBlock
TrafficMirrorFilterRule & WithDestinationCidrBlock(const Aws::String &value)
Definition: TrafficMirrorFilterRule.h:321
Aws::EC2::Model::TrafficDirection
TrafficDirection
Definition: TrafficDirection.h:17
Aws::EC2::Model::TrafficMirrorFilterRule::WithSourceCidrBlock
TrafficMirrorFilterRule & WithSourceCidrBlock(const char *value)
Definition: TrafficMirrorFilterRule.h:372
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::TrafficMirrorFilterRule::SetDestinationCidrBlock
void SetDestinationCidrBlock(const char *value)
Definition: TrafficMirrorFilterRule.h:316
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::TrafficMirrorFilterRule::WithDescription
TrafficMirrorFilterRule & WithDescription(const Aws::String &value)
Definition: TrafficMirrorFilterRule.h:403
Aws::EC2::Model::TrafficMirrorFilterRule::WithSourceCidrBlock
TrafficMirrorFilterRule & WithSourceCidrBlock(Aws::String &&value)
Definition: TrafficMirrorFilterRule.h:367
Aws::EC2::Model::TrafficMirrorFilterRule::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::TrafficMirrorFilterRule::WithDescription
TrafficMirrorFilterRule & WithDescription(Aws::String &&value)
Definition: TrafficMirrorFilterRule.h:408
Aws::EC2::Model::TrafficMirrorFilterRule::GetSourcePortRange
const TrafficMirrorPortRange & GetSourcePortRange() const
Definition: TrafficMirrorFilterRule.h:265
Aws::EC2::Model::TrafficMirrorFilterRule::SetDescription
void SetDescription(const char *value)
Definition: TrafficMirrorFilterRule.h:398
Aws::EC2::Model::TrafficMirrorFilterRule::SetRuleAction
void SetRuleAction(const TrafficMirrorRuleAction &value)
Definition: TrafficMirrorFilterRule.h:192
Aws::EC2::Model::TrafficMirrorFilterRule::GetProtocol
int GetProtocol() const
Definition: TrafficMirrorFilterRule.h:213
EC2_EXPORTS.h
Aws::EC2::Model::TrafficMirrorFilterRule::SetDestinationCidrBlock
void SetDestinationCidrBlock(Aws::String &&value)
Definition: TrafficMirrorFilterRule.h:311
Aws::EC2::Model::TrafficMirrorFilterRule::SetDescription
void SetDescription(Aws::String &&value)
Definition: TrafficMirrorFilterRule.h:393
Aws::EC2::Model::TrafficMirrorFilterRule::GetTrafficMirrorFilterId
const Aws::String & GetTrafficMirrorFilterId() const
Definition: TrafficMirrorFilterRule.h:89
Aws::EC2::Model::TrafficMirrorFilterRule::WithTrafficMirrorFilterRuleId
TrafficMirrorFilterRule & WithTrafficMirrorFilterRuleId(const Aws::String &value)
Definition: TrafficMirrorFilterRule.h:73