7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
54 inline void SetSecurityGroupRuleId(
const char* value) { m_securityGroupRuleIdHasBeenSet =
true; m_securityGroupRuleId.assign(value); }
68 inline void SetGroupId(
const char* value) { m_groupIdHasBeenSet =
true; m_groupId.assign(value); }
80 inline void SetIsEgress(
bool value) { m_isEgressHasBeenSet =
true; m_isEgress = value; }
92 inline void SetIpProtocol(
const char* value) { m_ipProtocolHasBeenSet =
true; m_ipProtocol.assign(value); }
104 inline void SetFromPort(
int value) { m_fromPortHasBeenSet =
true; m_fromPort = value; }
114 inline void SetToPort(
int value) { m_toPortHasBeenSet =
true; m_toPort = value; }
126 inline void SetCidrIpv4(
const char* value) { m_cidrIpv4HasBeenSet =
true; m_cidrIpv4.assign(value); }
140 inline void SetCidrIpv6(
const char* value) { m_cidrIpv6HasBeenSet =
true; m_cidrIpv6.assign(value); }
154 inline void SetPrefixListId(
const char* value) { m_prefixListIdHasBeenSet =
true; m_prefixListId.assign(value); }
168 inline void SetReferencedGroupId(
const char* value) { m_referencedGroupIdHasBeenSet =
true; m_referencedGroupId.assign(value); }
182 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
190 bool m_securityGroupRuleIdHasBeenSet =
false;
193 bool m_groupIdHasBeenSet =
false;
196 bool m_isEgressHasBeenSet =
false;
199 bool m_ipProtocolHasBeenSet =
false;
202 bool m_fromPortHasBeenSet =
false;
205 bool m_toPortHasBeenSet =
false;
208 bool m_cidrIpv4HasBeenSet =
false;
211 bool m_cidrIpv6HasBeenSet =
false;
214 bool m_prefixListIdHasBeenSet =
false;
217 bool m_referencedGroupIdHasBeenSet =
false;
220 bool m_descriptionHasBeenSet =
false;
void SetIpProtocol(Aws::String &&value)
bool CidrIpv4HasBeenSet() const
void SetReferencedGroupId(Aws::String &&value)
RevokedSecurityGroupRule & WithIpProtocol(const Aws::String &value)
void SetCidrIpv6(const char *value)
RevokedSecurityGroupRule & WithPrefixListId(const Aws::String &value)
RevokedSecurityGroupRule & WithDescription(Aws::String &&value)
bool ReferencedGroupIdHasBeenSet() const
RevokedSecurityGroupRule & WithReferencedGroupId(const Aws::String &value)
RevokedSecurityGroupRule & WithReferencedGroupId(const char *value)
RevokedSecurityGroupRule & WithDescription(const char *value)
AWS_EC2_API RevokedSecurityGroupRule(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCidrIpv4(const Aws::String &value)
const Aws::String & GetIpProtocol() const
void SetCidrIpv6(Aws::String &&value)
RevokedSecurityGroupRule & WithCidrIpv6(const char *value)
RevokedSecurityGroupRule & WithCidrIpv4(const Aws::String &value)
void SetIpProtocol(const Aws::String &value)
RevokedSecurityGroupRule & WithReferencedGroupId(Aws::String &&value)
void SetReferencedGroupId(const Aws::String &value)
void SetDescription(const char *value)
void SetPrefixListId(const char *value)
bool IsEgressHasBeenSet() const
RevokedSecurityGroupRule & WithCidrIpv6(const Aws::String &value)
const Aws::String & GetCidrIpv4() const
void SetReferencedGroupId(const char *value)
AWS_EC2_API RevokedSecurityGroupRule()
const Aws::String & GetGroupId() const
const Aws::String & GetDescription() const
void SetCidrIpv6(const Aws::String &value)
RevokedSecurityGroupRule & WithFromPort(int value)
void SetIpProtocol(const char *value)
bool GroupIdHasBeenSet() const
const Aws::String & GetPrefixListId() const
AWS_EC2_API RevokedSecurityGroupRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ToPortHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetPrefixListId(Aws::String &&value)
void SetPrefixListId(const Aws::String &value)
void SetSecurityGroupRuleId(Aws::String &&value)
RevokedSecurityGroupRule & WithSecurityGroupRuleId(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetIsEgress(bool value)
RevokedSecurityGroupRule & WithGroupId(const Aws::String &value)
void SetGroupId(const Aws::String &value)
void SetGroupId(const char *value)
void SetDescription(Aws::String &&value)
RevokedSecurityGroupRule & WithIpProtocol(const char *value)
RevokedSecurityGroupRule & WithCidrIpv6(Aws::String &&value)
RevokedSecurityGroupRule & WithIsEgress(bool value)
RevokedSecurityGroupRule & WithPrefixListId(Aws::String &&value)
const Aws::String & GetReferencedGroupId() const
RevokedSecurityGroupRule & WithGroupId(const char *value)
bool CidrIpv6HasBeenSet() const
void SetCidrIpv4(Aws::String &&value)
void SetSecurityGroupRuleId(const char *value)
void SetFromPort(int value)
void SetCidrIpv4(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
RevokedSecurityGroupRule & WithCidrIpv4(const char *value)
RevokedSecurityGroupRule & WithIpProtocol(Aws::String &&value)
void SetToPort(int value)
bool SecurityGroupRuleIdHasBeenSet() const
void SetGroupId(Aws::String &&value)
RevokedSecurityGroupRule & WithSecurityGroupRuleId(Aws::String &&value)
void SetSecurityGroupRuleId(const Aws::String &value)
RevokedSecurityGroupRule & WithPrefixListId(const char *value)
const Aws::String & GetSecurityGroupRuleId() const
RevokedSecurityGroupRule & WithDescription(const Aws::String &value)
bool IpProtocolHasBeenSet() const
RevokedSecurityGroupRule & WithToPort(int value)
RevokedSecurityGroupRule & WithCidrIpv4(Aws::String &&value)
bool PrefixListIdHasBeenSet() const
void SetDescription(const Aws::String &value)
RevokedSecurityGroupRule & WithSecurityGroupRuleId(const char *value)
const Aws::String & GetCidrIpv6() const
RevokedSecurityGroupRule & WithGroupId(Aws::String &&value)
bool FromPortHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream