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); }
66 inline void SetDirection(
const char* value) { m_directionHasBeenSet =
true; m_direction.assign(value); }
80 inline void SetSecurityGroupId(
const char* value) { m_securityGroupIdHasBeenSet =
true; m_securityGroupId.assign(value); }
106 inline void SetPrefixListId(
const char* value) { m_prefixListIdHasBeenSet =
true; m_prefixListId.assign(value); }
120 inline void SetProtocol(
const char* value) { m_protocolHasBeenSet =
true; m_protocol.assign(value); }
128 bool m_cidrHasBeenSet =
false;
131 bool m_directionHasBeenSet =
false;
134 bool m_securityGroupIdHasBeenSet =
false;
137 bool m_portRangeHasBeenSet =
false;
140 bool m_prefixListIdHasBeenSet =
false;
143 bool m_protocolHasBeenSet =
false;
AnalysisSecurityGroupRule & WithPrefixListId(Aws::String &&value)
void SetPrefixListId(const Aws::String &value)
AnalysisSecurityGroupRule & WithPortRange(PortRange &&value)
void SetSecurityGroupId(const Aws::String &value)
void SetProtocol(const Aws::String &value)
void SetCidr(const char *value)
bool DirectionHasBeenSet() const
AnalysisSecurityGroupRule & WithDirection(const Aws::String &value)
AnalysisSecurityGroupRule & WithCidr(const char *value)
void SetSecurityGroupId(Aws::String &&value)
const Aws::String & GetSecurityGroupId() const
AWS_EC2_API AnalysisSecurityGroupRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool CidrHasBeenSet() const
AWS_EC2_API AnalysisSecurityGroupRule(const Aws::Utils::Xml::XmlNode &xmlNode)
AnalysisSecurityGroupRule & WithSecurityGroupId(const Aws::String &value)
AnalysisSecurityGroupRule & WithPrefixListId(const char *value)
bool ProtocolHasBeenSet() const
bool PrefixListIdHasBeenSet() const
const PortRange & GetPortRange() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetPrefixListId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDirection(Aws::String &&value)
const Aws::String & GetDirection() const
void SetProtocol(Aws::String &&value)
AnalysisSecurityGroupRule & WithProtocol(const char *value)
AWS_EC2_API AnalysisSecurityGroupRule()
const Aws::String & GetProtocol() const
AnalysisSecurityGroupRule & WithProtocol(Aws::String &&value)
AnalysisSecurityGroupRule & WithPortRange(const PortRange &value)
AnalysisSecurityGroupRule & WithDirection(Aws::String &&value)
void SetPrefixListId(const char *value)
bool SecurityGroupIdHasBeenSet() const
AnalysisSecurityGroupRule & WithSecurityGroupId(Aws::String &&value)
const Aws::String & GetCidr() const
AnalysisSecurityGroupRule & WithCidr(const Aws::String &value)
AnalysisSecurityGroupRule & WithPrefixListId(const Aws::String &value)
AnalysisSecurityGroupRule & WithProtocol(const Aws::String &value)
void SetCidr(const Aws::String &value)
bool PortRangeHasBeenSet() const
void SetPrefixListId(Aws::String &&value)
AnalysisSecurityGroupRule & WithDirection(const char *value)
AnalysisSecurityGroupRule & WithCidr(Aws::String &&value)
void SetProtocol(const char *value)
void SetDirection(const Aws::String &value)
void SetPortRange(PortRange &&value)
void SetPortRange(const PortRange &value)
void SetCidr(Aws::String &&value)
void SetSecurityGroupId(const char *value)
void SetDirection(const char *value)
AnalysisSecurityGroupRule & WithSecurityGroupId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream