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>
10#include <aws/ec2/model/PortRange.h>
51 inline void SetCidr(
const char* value) { m_cidrHasBeenSet =
true; m_cidr.assign(value); }
63 inline void SetEgress(
bool value) { m_egressHasBeenSet =
true; m_egress = value; }
87 inline void SetProtocol(
const char* value) { m_protocolHasBeenSet =
true; m_protocol.assign(value); }
101 inline void SetRuleAction(
const char* value) { m_ruleActionHasBeenSet =
true; m_ruleAction.assign(value); }
113 inline void SetRuleNumber(
int value) { m_ruleNumberHasBeenSet =
true; m_ruleNumber = value; }
119 bool m_cidrHasBeenSet =
false;
122 bool m_egressHasBeenSet =
false;
125 bool m_portRangeHasBeenSet =
false;
128 bool m_protocolHasBeenSet =
false;
131 bool m_ruleActionHasBeenSet =
false;
134 bool m_ruleNumberHasBeenSet =
false;
const PortRange & GetPortRange() const
AnalysisAclRule & WithRuleAction(const Aws::String &value)
AnalysisAclRule & WithRuleAction(Aws::String &&value)
AnalysisAclRule & WithCidr(const Aws::String &value)
const Aws::String & GetCidr() const
void SetRuleNumber(int value)
void SetRuleAction(Aws::String &&value)
AnalysisAclRule & WithRuleAction(const char *value)
AnalysisAclRule & WithEgress(bool value)
AnalysisAclRule & WithRuleNumber(int value)
void SetProtocol(Aws::String &&value)
bool RuleActionHasBeenSet() const
AnalysisAclRule & WithPortRange(PortRange &&value)
bool ProtocolHasBeenSet() const
void SetRuleAction(const char *value)
bool PortRangeHasBeenSet() const
void SetRuleAction(const Aws::String &value)
AWS_EC2_API AnalysisAclRule()
int GetRuleNumber() const
void SetProtocol(const char *value)
AnalysisAclRule & WithProtocol(const char *value)
void SetCidr(Aws::String &&value)
void SetCidr(const char *value)
AWS_EC2_API AnalysisAclRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AnalysisAclRule & WithCidr(Aws::String &&value)
void SetProtocol(const Aws::String &value)
bool EgressHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetRuleAction() const
void SetPortRange(const PortRange &value)
AWS_EC2_API AnalysisAclRule(const Aws::Utils::Xml::XmlNode &xmlNode)
AnalysisAclRule & WithCidr(const char *value)
AnalysisAclRule & WithPortRange(const PortRange &value)
const Aws::String & GetProtocol() const
bool CidrHasBeenSet() const
AnalysisAclRule & WithProtocol(Aws::String &&value)
void SetCidr(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool RuleNumberHasBeenSet() const
void SetPortRange(PortRange &&value)
void SetEgress(bool value)
AnalysisAclRule & WithProtocol(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream