7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
46 template <
typename SecurityGroupRuleIdT = Aws::String>
48 m_securityGroupRuleIdHasBeenSet =
true;
49 m_securityGroupRuleId = std::forward<SecurityGroupRuleIdT>(value);
51 template <
typename SecurityGroupRuleIdT = Aws::String>
64 template <
typename GroupIdT = Aws::String>
66 m_groupIdHasBeenSet =
true;
67 m_groupId = std::forward<GroupIdT>(value);
69 template <
typename GroupIdT = Aws::String>
83 m_isEgressHasBeenSet =
true;
98 template <
typename IpProtocolT = Aws::String>
100 m_ipProtocolHasBeenSet =
true;
101 m_ipProtocol = std::forward<IpProtocolT>(value);
103 template <
typename IpProtocolT = Aws::String>
117 m_fromPortHasBeenSet =
true;
133 m_toPortHasBeenSet =
true;
148 template <
typename C
idrIpv4T = Aws::String>
150 m_cidrIpv4HasBeenSet =
true;
151 m_cidrIpv4 = std::forward<CidrIpv4T>(value);
153 template <
typename C
idrIpv4T = Aws::String>
166 template <
typename C
idrIpv6T = Aws::String>
168 m_cidrIpv6HasBeenSet =
true;
169 m_cidrIpv6 = std::forward<CidrIpv6T>(value);
171 template <
typename C
idrIpv6T = Aws::String>
184 template <
typename PrefixListIdT = Aws::String>
186 m_prefixListIdHasBeenSet =
true;
187 m_prefixListId = std::forward<PrefixListIdT>(value);
189 template <
typename PrefixListIdT = Aws::String>
202 template <
typename ReferencedGroupIdT = Aws::String>
204 m_referencedGroupIdHasBeenSet =
true;
205 m_referencedGroupId = std::forward<ReferencedGroupIdT>(value);
207 template <
typename ReferencedGroupIdT = Aws::String>
220 template <
typename DescriptionT = Aws::String>
222 m_descriptionHasBeenSet =
true;
223 m_description = std::forward<DescriptionT>(value);
225 template <
typename DescriptionT = Aws::String>
236 bool m_isEgress{
false};
253 bool m_securityGroupRuleIdHasBeenSet =
false;
254 bool m_groupIdHasBeenSet =
false;
255 bool m_isEgressHasBeenSet =
false;
256 bool m_ipProtocolHasBeenSet =
false;
257 bool m_fromPortHasBeenSet =
false;
258 bool m_toPortHasBeenSet =
false;
259 bool m_cidrIpv4HasBeenSet =
false;
260 bool m_cidrIpv6HasBeenSet =
false;
261 bool m_prefixListIdHasBeenSet =
false;
262 bool m_referencedGroupIdHasBeenSet =
false;
263 bool m_descriptionHasBeenSet =
false;
bool CidrIpv4HasBeenSet() const
void SetReferencedGroupId(ReferencedGroupIdT &&value)
RevokedSecurityGroupRule & WithCidrIpv4(CidrIpv4T &&value)
RevokedSecurityGroupRule & WithSecurityGroupRuleId(SecurityGroupRuleIdT &&value)
bool ReferencedGroupIdHasBeenSet() const
AWS_EC2_API RevokedSecurityGroupRule(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetIpProtocol() const
RevokedSecurityGroupRule & WithGroupId(GroupIdT &&value)
bool IsEgressHasBeenSet() const
const Aws::String & GetCidrIpv4() const
RevokedSecurityGroupRule & WithDescription(DescriptionT &&value)
const Aws::String & GetGroupId() const
const Aws::String & GetDescription() const
RevokedSecurityGroupRule & WithCidrIpv6(CidrIpv6T &&value)
RevokedSecurityGroupRule & WithFromPort(int value)
RevokedSecurityGroupRule & WithReferencedGroupId(ReferencedGroupIdT &&value)
bool GroupIdHasBeenSet() const
const Aws::String & GetPrefixListId() const
AWS_EC2_API RevokedSecurityGroupRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ToPortHasBeenSet() const
void SetPrefixListId(PrefixListIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
RevokedSecurityGroupRule & WithPrefixListId(PrefixListIdT &&value)
void SetIpProtocol(IpProtocolT &&value)
RevokedSecurityGroupRule & WithIpProtocol(IpProtocolT &&value)
bool DescriptionHasBeenSet() const
void SetIsEgress(bool value)
void SetCidrIpv4(CidrIpv4T &&value)
RevokedSecurityGroupRule & WithIsEgress(bool value)
const Aws::String & GetReferencedGroupId() const
bool CidrIpv6HasBeenSet() const
void SetFromPort(int value)
AWS_EC2_API RevokedSecurityGroupRule()=default
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetGroupId(GroupIdT &&value)
void SetDescription(DescriptionT &&value)
void SetToPort(int value)
bool SecurityGroupRuleIdHasBeenSet() const
const Aws::String & GetSecurityGroupRuleId() const
void SetCidrIpv6(CidrIpv6T &&value)
bool IpProtocolHasBeenSet() const
RevokedSecurityGroupRule & WithToPort(int value)
bool PrefixListIdHasBeenSet() const
const Aws::String & GetCidrIpv6() const
bool FromPortHasBeenSet() const
void SetSecurityGroupRuleId(SecurityGroupRuleIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream