7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/DiskType.h>
48 inline void SetSizeInGB(
long long value) { m_sizeInGBHasBeenSet =
true; m_sizeInGB = value; }
56 inline int GetCount()
const {
return m_count; }
58 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
73 long long m_sizeInGB{0};
74 bool m_sizeInGBHasBeenSet =
false;
77 bool m_countHasBeenSet =
false;
80 bool m_typeHasBeenSet =
false;
DiskInfo & WithType(DiskType value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetSizeInGB(long long value)
AWS_EC2_API DiskInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DiskInfo & WithCount(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API DiskInfo()=default
bool CountHasBeenSet() const
DiskInfo & WithSizeInGB(long long value)
void SetType(DiskType value)
AWS_EC2_API DiskInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SizeInGBHasBeenSet() const
bool TypeHasBeenSet() const
long long GetSizeInGB() const
std::basic_ostream< char, std::char_traits< char > > OStream