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