7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/UserBucketDetails.h>
52 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
66 inline void SetDeviceName(
const char* value) { m_deviceNameHasBeenSet =
true; m_deviceName.assign(value); }
78 inline void SetDiskImageSize(
double value) { m_diskImageSizeHasBeenSet =
true; m_diskImageSize = value; }
90 inline void SetFormat(
const char* value) { m_formatHasBeenSet =
true; m_format.assign(value); }
104 inline void SetProgress(
const char* value) { m_progressHasBeenSet =
true; m_progress.assign(value); }
118 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
132 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
146 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
160 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
180 bool m_descriptionHasBeenSet =
false;
183 bool m_deviceNameHasBeenSet =
false;
185 double m_diskImageSize;
186 bool m_diskImageSizeHasBeenSet =
false;
189 bool m_formatHasBeenSet =
false;
192 bool m_progressHasBeenSet =
false;
195 bool m_snapshotIdHasBeenSet =
false;
198 bool m_statusHasBeenSet =
false;
201 bool m_statusMessageHasBeenSet =
false;
204 bool m_urlHasBeenSet =
false;
207 bool m_userBucketHasBeenSet =
false;
void SetSnapshotId(Aws::String &&value)
AWS_EC2_API SnapshotDetail()
void SetDiskImageSize(double value)
void SetStatus(const char *value)
void SetDeviceName(const char *value)
void SetUrl(Aws::String &&value)
void SetDescription(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetUrl() const
bool SnapshotIdHasBeenSet() const
void SetDescription(const Aws::String &value)
const Aws::String & GetSnapshotId() const
void SetUrl(const char *value)
const Aws::String & GetFormat() const
SnapshotDetail & WithUrl(Aws::String &&value)
void SetStatusMessage(Aws::String &&value)
SnapshotDetail & WithStatus(const Aws::String &value)
void SetDescription(Aws::String &&value)
SnapshotDetail & WithFormat(const char *value)
SnapshotDetail & WithDescription(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
SnapshotDetail & WithUserBucket(const UserBucketDetails &value)
void SetStatusMessage(const Aws::String &value)
SnapshotDetail & WithStatusMessage(Aws::String &&value)
bool DeviceNameHasBeenSet() const
bool StatusMessageHasBeenSet() const
SnapshotDetail & WithSnapshotId(const char *value)
const UserBucketDetails & GetUserBucket() const
void SetStatusMessage(const char *value)
SnapshotDetail & WithSnapshotId(Aws::String &&value)
void SetFormat(const Aws::String &value)
void SetDeviceName(Aws::String &&value)
const Aws::String & GetDeviceName() const
SnapshotDetail & WithUrl(const char *value)
void SetFormat(Aws::String &&value)
SnapshotDetail & WithUrl(const Aws::String &value)
bool UserBucketHasBeenSet() const
void SetSnapshotId(const char *value)
SnapshotDetail & WithProgress(const char *value)
void SetUserBucket(const UserBucketDetails &value)
bool DiskImageSizeHasBeenSet() const
SnapshotDetail & WithDiskImageSize(double value)
SnapshotDetail & WithStatusMessage(const char *value)
bool ProgressHasBeenSet() const
void SetUserBucket(UserBucketDetails &&value)
SnapshotDetail & WithDescription(const char *value)
double GetDiskImageSize() const
void SetStatus(Aws::String &&value)
SnapshotDetail & WithStatus(const char *value)
SnapshotDetail & WithFormat(const Aws::String &value)
const Aws::String & GetStatus() const
void SetProgress(const Aws::String &value)
void SetStatus(const Aws::String &value)
SnapshotDetail & WithUserBucket(UserBucketDetails &&value)
void SetUrl(const Aws::String &value)
SnapshotDetail & WithStatusMessage(const Aws::String &value)
bool FormatHasBeenSet() const
SnapshotDetail & WithDeviceName(const char *value)
void SetProgress(const char *value)
const Aws::String & GetProgress() const
AWS_EC2_API SnapshotDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API SnapshotDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SnapshotDetail & WithStatus(Aws::String &&value)
void SetSnapshotId(const Aws::String &value)
SnapshotDetail & WithDescription(const Aws::String &value)
const Aws::String & GetDescription() const
void SetDeviceName(const Aws::String &value)
bool StatusHasBeenSet() const
SnapshotDetail & WithDeviceName(const Aws::String &value)
const Aws::String & GetStatusMessage() const
void SetFormat(const char *value)
SnapshotDetail & WithProgress(Aws::String &&value)
SnapshotDetail & WithFormat(Aws::String &&value)
SnapshotDetail & WithDeviceName(Aws::String &&value)
bool UrlHasBeenSet() const
void SetProgress(Aws::String &&value)
bool DescriptionHasBeenSet() const
SnapshotDetail & WithSnapshotId(const Aws::String &value)
SnapshotDetail & WithProgress(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream