AWS SDK for C++  1.9.132
AWS SDK for C++
SecurityGroupRule.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <aws/ec2/model/Tag.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& GetSecurityGroupRuleId() const{ return m_securityGroupRuleId; }
49 
53  inline bool SecurityGroupRuleIdHasBeenSet() const { return m_securityGroupRuleIdHasBeenSet; }
54 
58  inline void SetSecurityGroupRuleId(const Aws::String& value) { m_securityGroupRuleIdHasBeenSet = true; m_securityGroupRuleId = value; }
59 
63  inline void SetSecurityGroupRuleId(Aws::String&& value) { m_securityGroupRuleIdHasBeenSet = true; m_securityGroupRuleId = std::move(value); }
64 
68  inline void SetSecurityGroupRuleId(const char* value) { m_securityGroupRuleIdHasBeenSet = true; m_securityGroupRuleId.assign(value); }
69 
73  inline SecurityGroupRule& WithSecurityGroupRuleId(const Aws::String& value) { SetSecurityGroupRuleId(value); return *this;}
74 
78  inline SecurityGroupRule& WithSecurityGroupRuleId(Aws::String&& value) { SetSecurityGroupRuleId(std::move(value)); return *this;}
79 
83  inline SecurityGroupRule& WithSecurityGroupRuleId(const char* value) { SetSecurityGroupRuleId(value); return *this;}
84 
85 
89  inline const Aws::String& GetGroupId() const{ return m_groupId; }
90 
94  inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
95 
99  inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
100 
104  inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
105 
109  inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
110 
114  inline SecurityGroupRule& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
115 
119  inline SecurityGroupRule& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
120 
124  inline SecurityGroupRule& WithGroupId(const char* value) { SetGroupId(value); return *this;}
125 
126 
130  inline const Aws::String& GetGroupOwnerId() const{ return m_groupOwnerId; }
131 
135  inline bool GroupOwnerIdHasBeenSet() const { return m_groupOwnerIdHasBeenSet; }
136 
140  inline void SetGroupOwnerId(const Aws::String& value) { m_groupOwnerIdHasBeenSet = true; m_groupOwnerId = value; }
141 
145  inline void SetGroupOwnerId(Aws::String&& value) { m_groupOwnerIdHasBeenSet = true; m_groupOwnerId = std::move(value); }
146 
150  inline void SetGroupOwnerId(const char* value) { m_groupOwnerIdHasBeenSet = true; m_groupOwnerId.assign(value); }
151 
155  inline SecurityGroupRule& WithGroupOwnerId(const Aws::String& value) { SetGroupOwnerId(value); return *this;}
156 
160  inline SecurityGroupRule& WithGroupOwnerId(Aws::String&& value) { SetGroupOwnerId(std::move(value)); return *this;}
161 
165  inline SecurityGroupRule& WithGroupOwnerId(const char* value) { SetGroupOwnerId(value); return *this;}
166 
167 
171  inline bool GetIsEgress() const{ return m_isEgress; }
172 
176  inline bool IsEgressHasBeenSet() const { return m_isEgressHasBeenSet; }
177 
181  inline void SetIsEgress(bool value) { m_isEgressHasBeenSet = true; m_isEgress = value; }
182 
186  inline SecurityGroupRule& WithIsEgress(bool value) { SetIsEgress(value); return *this;}
187 
188 
195  inline const Aws::String& GetIpProtocol() const{ return m_ipProtocol; }
196 
203  inline bool IpProtocolHasBeenSet() const { return m_ipProtocolHasBeenSet; }
204 
211  inline void SetIpProtocol(const Aws::String& value) { m_ipProtocolHasBeenSet = true; m_ipProtocol = value; }
212 
219  inline void SetIpProtocol(Aws::String&& value) { m_ipProtocolHasBeenSet = true; m_ipProtocol = std::move(value); }
220 
227  inline void SetIpProtocol(const char* value) { m_ipProtocolHasBeenSet = true; m_ipProtocol.assign(value); }
228 
235  inline SecurityGroupRule& WithIpProtocol(const Aws::String& value) { SetIpProtocol(value); return *this;}
236 
243  inline SecurityGroupRule& WithIpProtocol(Aws::String&& value) { SetIpProtocol(std::move(value)); return *this;}
244 
251  inline SecurityGroupRule& WithIpProtocol(const char* value) { SetIpProtocol(value); return *this;}
252 
253 
259  inline int GetFromPort() const{ return m_fromPort; }
260 
266  inline bool FromPortHasBeenSet() const { return m_fromPortHasBeenSet; }
267 
273  inline void SetFromPort(int value) { m_fromPortHasBeenSet = true; m_fromPort = value; }
274 
280  inline SecurityGroupRule& WithFromPort(int value) { SetFromPort(value); return *this;}
281 
282 
288  inline int GetToPort() const{ return m_toPort; }
289 
295  inline bool ToPortHasBeenSet() const { return m_toPortHasBeenSet; }
296 
302  inline void SetToPort(int value) { m_toPortHasBeenSet = true; m_toPort = value; }
303 
309  inline SecurityGroupRule& WithToPort(int value) { SetToPort(value); return *this;}
310 
311 
315  inline const Aws::String& GetCidrIpv4() const{ return m_cidrIpv4; }
316 
320  inline bool CidrIpv4HasBeenSet() const { return m_cidrIpv4HasBeenSet; }
321 
325  inline void SetCidrIpv4(const Aws::String& value) { m_cidrIpv4HasBeenSet = true; m_cidrIpv4 = value; }
326 
330  inline void SetCidrIpv4(Aws::String&& value) { m_cidrIpv4HasBeenSet = true; m_cidrIpv4 = std::move(value); }
331 
335  inline void SetCidrIpv4(const char* value) { m_cidrIpv4HasBeenSet = true; m_cidrIpv4.assign(value); }
336 
340  inline SecurityGroupRule& WithCidrIpv4(const Aws::String& value) { SetCidrIpv4(value); return *this;}
341 
345  inline SecurityGroupRule& WithCidrIpv4(Aws::String&& value) { SetCidrIpv4(std::move(value)); return *this;}
346 
350  inline SecurityGroupRule& WithCidrIpv4(const char* value) { SetCidrIpv4(value); return *this;}
351 
352 
356  inline const Aws::String& GetCidrIpv6() const{ return m_cidrIpv6; }
357 
361  inline bool CidrIpv6HasBeenSet() const { return m_cidrIpv6HasBeenSet; }
362 
366  inline void SetCidrIpv6(const Aws::String& value) { m_cidrIpv6HasBeenSet = true; m_cidrIpv6 = value; }
367 
371  inline void SetCidrIpv6(Aws::String&& value) { m_cidrIpv6HasBeenSet = true; m_cidrIpv6 = std::move(value); }
372 
376  inline void SetCidrIpv6(const char* value) { m_cidrIpv6HasBeenSet = true; m_cidrIpv6.assign(value); }
377 
381  inline SecurityGroupRule& WithCidrIpv6(const Aws::String& value) { SetCidrIpv6(value); return *this;}
382 
386  inline SecurityGroupRule& WithCidrIpv6(Aws::String&& value) { SetCidrIpv6(std::move(value)); return *this;}
387 
391  inline SecurityGroupRule& WithCidrIpv6(const char* value) { SetCidrIpv6(value); return *this;}
392 
393 
397  inline const Aws::String& GetPrefixListId() const{ return m_prefixListId; }
398 
402  inline bool PrefixListIdHasBeenSet() const { return m_prefixListIdHasBeenSet; }
403 
407  inline void SetPrefixListId(const Aws::String& value) { m_prefixListIdHasBeenSet = true; m_prefixListId = value; }
408 
412  inline void SetPrefixListId(Aws::String&& value) { m_prefixListIdHasBeenSet = true; m_prefixListId = std::move(value); }
413 
417  inline void SetPrefixListId(const char* value) { m_prefixListIdHasBeenSet = true; m_prefixListId.assign(value); }
418 
422  inline SecurityGroupRule& WithPrefixListId(const Aws::String& value) { SetPrefixListId(value); return *this;}
423 
427  inline SecurityGroupRule& WithPrefixListId(Aws::String&& value) { SetPrefixListId(std::move(value)); return *this;}
428 
432  inline SecurityGroupRule& WithPrefixListId(const char* value) { SetPrefixListId(value); return *this;}
433 
434 
438  inline const ReferencedSecurityGroup& GetReferencedGroupInfo() const{ return m_referencedGroupInfo; }
439 
443  inline bool ReferencedGroupInfoHasBeenSet() const { return m_referencedGroupInfoHasBeenSet; }
444 
448  inline void SetReferencedGroupInfo(const ReferencedSecurityGroup& value) { m_referencedGroupInfoHasBeenSet = true; m_referencedGroupInfo = value; }
449 
453  inline void SetReferencedGroupInfo(ReferencedSecurityGroup&& value) { m_referencedGroupInfoHasBeenSet = true; m_referencedGroupInfo = std::move(value); }
454 
458  inline SecurityGroupRule& WithReferencedGroupInfo(const ReferencedSecurityGroup& value) { SetReferencedGroupInfo(value); return *this;}
459 
463  inline SecurityGroupRule& WithReferencedGroupInfo(ReferencedSecurityGroup&& value) { SetReferencedGroupInfo(std::move(value)); return *this;}
464 
465 
469  inline const Aws::String& GetDescription() const{ return m_description; }
470 
474  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
475 
479  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
480 
484  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
485 
489  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
490 
494  inline SecurityGroupRule& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
495 
499  inline SecurityGroupRule& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
500 
504  inline SecurityGroupRule& WithDescription(const char* value) { SetDescription(value); return *this;}
505 
506 
510  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
511 
515  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
516 
520  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
521 
525  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
526 
530  inline SecurityGroupRule& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
531 
535  inline SecurityGroupRule& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
536 
540  inline SecurityGroupRule& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
541 
545  inline SecurityGroupRule& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
546 
547  private:
548 
549  Aws::String m_securityGroupRuleId;
550  bool m_securityGroupRuleIdHasBeenSet;
551 
552  Aws::String m_groupId;
553  bool m_groupIdHasBeenSet;
554 
555  Aws::String m_groupOwnerId;
556  bool m_groupOwnerIdHasBeenSet;
557 
558  bool m_isEgress;
559  bool m_isEgressHasBeenSet;
560 
561  Aws::String m_ipProtocol;
562  bool m_ipProtocolHasBeenSet;
563 
564  int m_fromPort;
565  bool m_fromPortHasBeenSet;
566 
567  int m_toPort;
568  bool m_toPortHasBeenSet;
569 
570  Aws::String m_cidrIpv4;
571  bool m_cidrIpv4HasBeenSet;
572 
573  Aws::String m_cidrIpv6;
574  bool m_cidrIpv6HasBeenSet;
575 
576  Aws::String m_prefixListId;
577  bool m_prefixListIdHasBeenSet;
578 
579  ReferencedSecurityGroup m_referencedGroupInfo;
580  bool m_referencedGroupInfoHasBeenSet;
581 
582  Aws::String m_description;
583  bool m_descriptionHasBeenSet;
584 
585  Aws::Vector<Tag> m_tags;
586  bool m_tagsHasBeenSet;
587  };
588 
589 } // namespace Model
590 } // namespace EC2
591 } // namespace Aws
Aws::EC2::Model::SecurityGroupRule::GetGroupOwnerId
const Aws::String & GetGroupOwnerId() const
Definition: SecurityGroupRule.h:130
Aws::EC2::Model::SecurityGroupRule::WithTags
SecurityGroupRule & WithTags(Aws::Vector< Tag > &&value)
Definition: SecurityGroupRule.h:535
Aws::EC2::Model::SecurityGroupRule::WithGroupOwnerId
SecurityGroupRule & WithGroupOwnerId(Aws::String &&value)
Definition: SecurityGroupRule.h:160
Aws::EC2::Model::SecurityGroupRule::GetIsEgress
bool GetIsEgress() const
Definition: SecurityGroupRule.h:171
Aws::EC2::Model::SecurityGroupRule::SetCidrIpv6
void SetCidrIpv6(Aws::String &&value)
Definition: SecurityGroupRule.h:371
Aws::EC2::Model::SecurityGroupRule::SetToPort
void SetToPort(int value)
Definition: SecurityGroupRule.h:302
Aws::EC2::Model::Tag
Definition: Tag.h:32
Aws::EC2::Model::SecurityGroupRule::SetIsEgress
void SetIsEgress(bool value)
Definition: SecurityGroupRule.h:181
Aws::EC2::Model::SecurityGroupRule::GroupIdHasBeenSet
bool GroupIdHasBeenSet() const
Definition: SecurityGroupRule.h:94
Aws::EC2::Model::SecurityGroupRule::GetToPort
int GetToPort() const
Definition: SecurityGroupRule.h:288
Aws::EC2::Model::SecurityGroupRule::WithCidrIpv4
SecurityGroupRule & WithCidrIpv4(const Aws::String &value)
Definition: SecurityGroupRule.h:340
Aws::EC2::Model::SecurityGroupRule::ReferencedGroupInfoHasBeenSet
bool ReferencedGroupInfoHasBeenSet() const
Definition: SecurityGroupRule.h:443
Aws::EC2::Model::SecurityGroupRule::CidrIpv6HasBeenSet
bool CidrIpv6HasBeenSet() const
Definition: SecurityGroupRule.h:361
Aws::EC2::Model::SecurityGroupRule::SetGroupId
void SetGroupId(Aws::String &&value)
Definition: SecurityGroupRule.h:104
Aws::EC2::Model::SecurityGroupRule::WithCidrIpv6
SecurityGroupRule & WithCidrIpv6(Aws::String &&value)
Definition: SecurityGroupRule.h:386
Aws::EC2::Model::SecurityGroupRule::SetDescription
void SetDescription(const Aws::String &value)
Definition: SecurityGroupRule.h:479
Aws::EC2::Model::SecurityGroupRule::GetDescription
const Aws::String & GetDescription() const
Definition: SecurityGroupRule.h:469
Aws::EC2::Model::SecurityGroupRule::WithFromPort
SecurityGroupRule & WithFromPort(int value)
Definition: SecurityGroupRule.h:280
Aws::EC2::Model::SecurityGroupRule::SetIpProtocol
void SetIpProtocol(const char *value)
Definition: SecurityGroupRule.h:227
Aws::EC2::Model::SecurityGroupRule::WithGroupOwnerId
SecurityGroupRule & WithGroupOwnerId(const Aws::String &value)
Definition: SecurityGroupRule.h:155
Aws::EC2::Model::SecurityGroupRule::AddTags
SecurityGroupRule & AddTags(const Tag &value)
Definition: SecurityGroupRule.h:540
Aws::EC2::Model::SecurityGroupRule::GetReferencedGroupInfo
const ReferencedSecurityGroup & GetReferencedGroupInfo() const
Definition: SecurityGroupRule.h:438
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::SecurityGroupRule::CidrIpv4HasBeenSet
bool CidrIpv4HasBeenSet() const
Definition: SecurityGroupRule.h:320
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSStreamFwd.h
Aws::EC2::Model::SecurityGroupRule::SetReferencedGroupInfo
void SetReferencedGroupInfo(const ReferencedSecurityGroup &value)
Definition: SecurityGroupRule.h:448
Aws::EC2::Model::SecurityGroupRule::SetCidrIpv4
void SetCidrIpv4(const char *value)
Definition: SecurityGroupRule.h:335
AWSVector.h
Tag.h
Aws::EC2::Model::SecurityGroupRule::SetSecurityGroupRuleId
void SetSecurityGroupRuleId(const Aws::String &value)
Definition: SecurityGroupRule.h:58
Aws::EC2::Model::SecurityGroupRule::SetDescription
void SetDescription(Aws::String &&value)
Definition: SecurityGroupRule.h:484
Aws::EC2::Model::SecurityGroupRule::PrefixListIdHasBeenSet
bool PrefixListIdHasBeenSet() const
Definition: SecurityGroupRule.h:402
Aws::EC2::Model::SecurityGroupRule::WithReferencedGroupInfo
SecurityGroupRule & WithReferencedGroupInfo(ReferencedSecurityGroup &&value)
Definition: SecurityGroupRule.h:463
Aws::EC2::Model::SecurityGroupRule::WithSecurityGroupRuleId
SecurityGroupRule & WithSecurityGroupRuleId(const char *value)
Definition: SecurityGroupRule.h:83
Aws::EC2::Model::SecurityGroupRule::ToPortHasBeenSet
bool ToPortHasBeenSet() const
Definition: SecurityGroupRule.h:295
Aws::EC2::Model::SecurityGroupRule::WithCidrIpv4
SecurityGroupRule & WithCidrIpv4(const char *value)
Definition: SecurityGroupRule.h:350
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::SecurityGroupRule::SetIpProtocol
void SetIpProtocol(const Aws::String &value)
Definition: SecurityGroupRule.h:211
Aws::EC2::Model::SecurityGroupRule::SetGroupOwnerId
void SetGroupOwnerId(const char *value)
Definition: SecurityGroupRule.h:150
Aws::EC2::Model::SecurityGroupRule::SetFromPort
void SetFromPort(int value)
Definition: SecurityGroupRule.h:273
Aws::EC2::Model::SecurityGroupRule::SetIpProtocol
void SetIpProtocol(Aws::String &&value)
Definition: SecurityGroupRule.h:219
Aws::EC2::Model::SecurityGroupRule::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: SecurityGroupRule.h:525
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::SecurityGroupRule::GroupOwnerIdHasBeenSet
bool GroupOwnerIdHasBeenSet() const
Definition: SecurityGroupRule.h:135
Aws::EC2::Model::SecurityGroupRule::SetGroupId
void SetGroupId(const char *value)
Definition: SecurityGroupRule.h:109
Aws::EC2::Model::SecurityGroupRule
Definition: SecurityGroupRule.h:35
Aws::EC2::Model::SecurityGroupRule::GetFromPort
int GetFromPort() const
Definition: SecurityGroupRule.h:259
Aws::EC2::Model::SecurityGroupRule::WithDescription
SecurityGroupRule & WithDescription(const Aws::String &value)
Definition: SecurityGroupRule.h:494
Aws::EC2::Model::SecurityGroupRule::SetPrefixListId
void SetPrefixListId(const Aws::String &value)
Definition: SecurityGroupRule.h:407
Aws::EC2::Model::SecurityGroupRule::SetGroupOwnerId
void SetGroupOwnerId(Aws::String &&value)
Definition: SecurityGroupRule.h:145
Aws::EC2::Model::SecurityGroupRule::WithDescription
SecurityGroupRule & WithDescription(Aws::String &&value)
Definition: SecurityGroupRule.h:499
Aws::EC2::Model::SecurityGroupRule::WithPrefixListId
SecurityGroupRule & WithPrefixListId(const char *value)
Definition: SecurityGroupRule.h:432
Aws::EC2::Model::SecurityGroupRule::SetSecurityGroupRuleId
void SetSecurityGroupRuleId(Aws::String &&value)
Definition: SecurityGroupRule.h:63
Aws::EC2::Model::SecurityGroupRule::WithReferencedGroupInfo
SecurityGroupRule & WithReferencedGroupInfo(const ReferencedSecurityGroup &value)
Definition: SecurityGroupRule.h:458
Aws::EC2::Model::SecurityGroupRule::WithIpProtocol
SecurityGroupRule & WithIpProtocol(const char *value)
Definition: SecurityGroupRule.h:251
Aws::EC2::Model::SecurityGroupRule::WithPrefixListId
SecurityGroupRule & WithPrefixListId(const Aws::String &value)
Definition: SecurityGroupRule.h:422
Aws::EC2::Model::SecurityGroupRule::SecurityGroupRuleIdHasBeenSet
bool SecurityGroupRuleIdHasBeenSet() const
Definition: SecurityGroupRule.h:53
Aws::EC2::Model::SecurityGroupRule::SetCidrIpv6
void SetCidrIpv6(const char *value)
Definition: SecurityGroupRule.h:376
AWSString.h
Aws::EC2::Model::SecurityGroupRule::WithGroupId
SecurityGroupRule & WithGroupId(Aws::String &&value)
Definition: SecurityGroupRule.h:119
Aws::EC2::Model::SecurityGroupRule::SetPrefixListId
void SetPrefixListId(Aws::String &&value)
Definition: SecurityGroupRule.h:412
Aws::EC2::Model::SecurityGroupRule::GetGroupId
const Aws::String & GetGroupId() const
Definition: SecurityGroupRule.h:89
Aws::EC2::Model::SecurityGroupRule::WithIsEgress
SecurityGroupRule & WithIsEgress(bool value)
Definition: SecurityGroupRule.h:186
Aws::EC2::Model::SecurityGroupRule::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::SecurityGroupRule::SetGroupId
void SetGroupId(const Aws::String &value)
Definition: SecurityGroupRule.h:99
Aws::EC2::Model::SecurityGroupRule::SetCidrIpv6
void SetCidrIpv6(const Aws::String &value)
Definition: SecurityGroupRule.h:366
Aws::EC2::Model::SecurityGroupRule::AddTags
SecurityGroupRule & AddTags(Tag &&value)
Definition: SecurityGroupRule.h:545
Aws::EC2::Model::SecurityGroupRule::IsEgressHasBeenSet
bool IsEgressHasBeenSet() const
Definition: SecurityGroupRule.h:176
Aws::EC2::Model::ReferencedSecurityGroup
Definition: ReferencedSecurityGroup.h:33
Aws::EC2::Model::SecurityGroupRule::WithGroupId
SecurityGroupRule & WithGroupId(const char *value)
Definition: SecurityGroupRule.h:124
Aws::EC2::Model::SecurityGroupRule::WithDescription
SecurityGroupRule & WithDescription(const char *value)
Definition: SecurityGroupRule.h:504
Aws::EC2::Model::SecurityGroupRule::FromPortHasBeenSet
bool FromPortHasBeenSet() const
Definition: SecurityGroupRule.h:266
Aws::EC2::Model::SecurityGroupRule::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: SecurityGroupRule.h:520
Aws::EC2::Model::SecurityGroupRule::SetCidrIpv4
void SetCidrIpv4(Aws::String &&value)
Definition: SecurityGroupRule.h:330
Aws::EC2::Model::SecurityGroupRule::SetReferencedGroupInfo
void SetReferencedGroupInfo(ReferencedSecurityGroup &&value)
Definition: SecurityGroupRule.h:453
Aws::EC2::Model::SecurityGroupRule::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: SecurityGroupRule.h:510
Aws::EC2::Model::SecurityGroupRule::WithIpProtocol
SecurityGroupRule & WithIpProtocol(const Aws::String &value)
Definition: SecurityGroupRule.h:235
Aws::EC2::Model::SecurityGroupRule::GetCidrIpv4
const Aws::String & GetCidrIpv4() const
Definition: SecurityGroupRule.h:315
Aws::EC2::Model::SecurityGroupRule::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: SecurityGroupRule.h:474
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::SecurityGroupRule::WithSecurityGroupRuleId
SecurityGroupRule & WithSecurityGroupRuleId(Aws::String &&value)
Definition: SecurityGroupRule.h:78
Aws::EC2::Model::SecurityGroupRule::WithCidrIpv6
SecurityGroupRule & WithCidrIpv6(const char *value)
Definition: SecurityGroupRule.h:391
Aws::EC2::Model::SecurityGroupRule::GetCidrIpv6
const Aws::String & GetCidrIpv6() const
Definition: SecurityGroupRule.h:356
Aws::EC2::Model::SecurityGroupRule::WithIpProtocol
SecurityGroupRule & WithIpProtocol(Aws::String &&value)
Definition: SecurityGroupRule.h:243
Aws::EC2::Model::SecurityGroupRule::SetGroupOwnerId
void SetGroupOwnerId(const Aws::String &value)
Definition: SecurityGroupRule.h:140
Aws::EC2::Model::SecurityGroupRule::GetIpProtocol
const Aws::String & GetIpProtocol() const
Definition: SecurityGroupRule.h:195
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::SecurityGroupRule::SecurityGroupRule
SecurityGroupRule()
Aws::EC2::Model::SecurityGroupRule::SetPrefixListId
void SetPrefixListId(const char *value)
Definition: SecurityGroupRule.h:417
Aws::EC2::Model::SecurityGroupRule::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::SecurityGroupRule::IpProtocolHasBeenSet
bool IpProtocolHasBeenSet() const
Definition: SecurityGroupRule.h:203
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::SecurityGroupRule::SetSecurityGroupRuleId
void SetSecurityGroupRuleId(const char *value)
Definition: SecurityGroupRule.h:68
Aws::EC2::Model::SecurityGroupRule::WithTags
SecurityGroupRule & WithTags(const Aws::Vector< Tag > &value)
Definition: SecurityGroupRule.h:530
Aws::EC2::Model::SecurityGroupRule::WithGroupOwnerId
SecurityGroupRule & WithGroupOwnerId(const char *value)
Definition: SecurityGroupRule.h:165
Aws::EC2::Model::SecurityGroupRule::SetDescription
void SetDescription(const char *value)
Definition: SecurityGroupRule.h:489
Aws::EC2::Model::SecurityGroupRule::WithSecurityGroupRuleId
SecurityGroupRule & WithSecurityGroupRuleId(const Aws::String &value)
Definition: SecurityGroupRule.h:73
Aws::EC2::Model::SecurityGroupRule::SetCidrIpv4
void SetCidrIpv4(const Aws::String &value)
Definition: SecurityGroupRule.h:325
Aws::EC2::Model::SecurityGroupRule::WithCidrIpv6
SecurityGroupRule & WithCidrIpv6(const Aws::String &value)
Definition: SecurityGroupRule.h:381
Aws::EC2::Model::SecurityGroupRule::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: SecurityGroupRule.h:515
Aws::EC2::Model::SecurityGroupRule::operator=
SecurityGroupRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
EC2_EXPORTS.h
Aws::EC2::Model::SecurityGroupRule::GetSecurityGroupRuleId
const Aws::String & GetSecurityGroupRuleId() const
Definition: SecurityGroupRule.h:48
Aws::EC2::Model::SecurityGroupRule::WithPrefixListId
SecurityGroupRule & WithPrefixListId(Aws::String &&value)
Definition: SecurityGroupRule.h:427
Aws::EC2::Model::SecurityGroupRule::GetPrefixListId
const Aws::String & GetPrefixListId() const
Definition: SecurityGroupRule.h:397
Aws::EC2::Model::SecurityGroupRule::WithGroupId
SecurityGroupRule & WithGroupId(const Aws::String &value)
Definition: SecurityGroupRule.h:114
ReferencedSecurityGroup.h
Aws::EC2::Model::SecurityGroupRule::SecurityGroupRule
SecurityGroupRule(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::SecurityGroupRule::WithToPort
SecurityGroupRule & WithToPort(int value)
Definition: SecurityGroupRule.h:309
Aws::EC2::Model::SecurityGroupRule::WithCidrIpv4
SecurityGroupRule & WithCidrIpv4(Aws::String &&value)
Definition: SecurityGroupRule.h:345