7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
47 inline void SetFromPort(
int value) { m_fromPortHasBeenSet =
true; m_fromPort = value; }
58 inline void SetToPort(
int value) { m_toPortHasBeenSet =
true; m_toPort = value; }
64 bool m_fromPortHasBeenSet =
false;
67 bool m_toPortHasBeenSet =
false;
TrafficMirrorPortRange & WithFromPort(int value)
AWS_EC2_API TrafficMirrorPortRange & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool ToPortHasBeenSet() const
void SetFromPort(int value)
AWS_EC2_API TrafficMirrorPortRange()
bool FromPortHasBeenSet() const
void SetToPort(int value)
TrafficMirrorPortRange & WithToPort(int value)
AWS_EC2_API TrafficMirrorPortRange(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_ostream< char, std::char_traits< char > > OStream