7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/DiskImageFormat.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
57 inline long long GetBytes()
const {
return m_bytes; }
59 inline void SetBytes(
long long value) { m_bytesHasBeenSet =
true; m_bytes = value; }
78 template<
typename ImportManifestUrlT = Aws::String>
79 void SetImportManifestUrl(ImportManifestUrlT&& value) { m_importManifestUrlHasBeenSet =
true; m_importManifestUrl = std::forward<ImportManifestUrlT>(value); }
80 template<
typename ImportManifestUrlT = Aws::String>
86 bool m_formatHasBeenSet =
false;
89 bool m_bytesHasBeenSet =
false;
92 bool m_importManifestUrlHasBeenSet =
false;
DiskImageDetail & WithImportManifestUrl(ImportManifestUrlT &&value)
DiskImageFormat GetFormat() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API DiskImageDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
bool FormatHasBeenSet() const
bool ImportManifestUrlHasBeenSet() const
AWS_EC2_API DiskImageDetail()=default
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetFormat(DiskImageFormat value)
long long GetBytes() const
void SetBytes(long long value)
void SetImportManifestUrl(ImportManifestUrlT &&value)
AWS_EC2_API DiskImageDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DiskImageDetail & WithBytes(long long value)
const Aws::String & GetImportManifestUrl() const
bool BytesHasBeenSet() const
DiskImageDetail & WithFormat(DiskImageFormat value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream