7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
44 inline int GetFrom()
const{
return m_from; }
46 inline void SetFrom(
int value) { m_fromHasBeenSet =
true; m_from = value; }
54 inline int GetTo()
const{
return m_to; }
56 inline void SetTo(
int value) { m_toHasBeenSet =
true; m_to = value; }
62 bool m_fromHasBeenSet =
false;
65 bool m_toHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool ToHasBeenSet() const
AWS_EC2_API PortRange & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool FromHasBeenSet() const
PortRange & WithTo(int value)
AWS_EC2_API PortRange(const Aws::Utils::Xml::XmlNode &xmlNode)
PortRange & WithFrom(int value)
std::basic_ostream< char, std::char_traits< char > > OStream