7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/UserBucketDetails.h>
44 template <
typename DescriptionT = Aws::String>
46 m_descriptionHasBeenSet =
true;
47 m_description = std::forward<DescriptionT>(value);
49 template <
typename DescriptionT = Aws::String>
62 template <
typename DeviceNameT = Aws::String>
64 m_deviceNameHasBeenSet =
true;
65 m_deviceName = std::forward<DeviceNameT>(value);
67 template <
typename DeviceNameT = Aws::String>
81 m_diskImageSizeHasBeenSet =
true;
82 m_diskImageSize = value;
96 template <
typename FormatT = Aws::String>
98 m_formatHasBeenSet =
true;
99 m_format = std::forward<FormatT>(value);
101 template <
typename FormatT = Aws::String>
114 template <
typename ProgressT = Aws::String>
116 m_progressHasBeenSet =
true;
117 m_progress = std::forward<ProgressT>(value);
119 template <
typename ProgressT = Aws::String>
132 template <
typename SnapshotIdT = Aws::String>
134 m_snapshotIdHasBeenSet =
true;
135 m_snapshotId = std::forward<SnapshotIdT>(value);
137 template <
typename SnapshotIdT = Aws::String>
150 template <
typename StatusT = Aws::String>
152 m_statusHasBeenSet =
true;
153 m_status = std::forward<StatusT>(value);
155 template <
typename StatusT = Aws::String>
168 template <
typename StatusMessageT = Aws::String>
170 m_statusMessageHasBeenSet =
true;
171 m_statusMessage = std::forward<StatusMessageT>(value);
173 template <
typename StatusMessageT = Aws::String>
186 template <
typename UrlT = Aws::String>
188 m_urlHasBeenSet =
true;
189 m_url = std::forward<UrlT>(value);
191 template <
typename UrlT = Aws::String>
193 SetUrl(std::forward<UrlT>(value));
204 template <
typename UserBucketT = UserBucketDetails>
206 m_userBucketHasBeenSet =
true;
207 m_userBucket = std::forward<UserBucketT>(value);
209 template <
typename UserBucketT = UserBucketDetails>
220 double m_diskImageSize{0.0};
234 UserBucketDetails m_userBucket;
235 bool m_descriptionHasBeenSet =
false;
236 bool m_deviceNameHasBeenSet =
false;
237 bool m_diskImageSizeHasBeenSet =
false;
238 bool m_formatHasBeenSet =
false;
239 bool m_progressHasBeenSet =
false;
240 bool m_snapshotIdHasBeenSet =
false;
241 bool m_statusHasBeenSet =
false;
242 bool m_statusMessageHasBeenSet =
false;
243 bool m_urlHasBeenSet =
false;
244 bool m_userBucketHasBeenSet =
false;
SnapshotDetail & WithStatus(StatusT &&value)
void SetDiskImageSize(double value)
void SetUserBucket(UserBucketT &&value)
SnapshotDetail & WithDeviceName(DeviceNameT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SnapshotDetail & WithSnapshotId(SnapshotIdT &&value)
void SetSnapshotId(SnapshotIdT &&value)
const Aws::String & GetUrl() const
bool SnapshotIdHasBeenSet() const
const Aws::String & GetSnapshotId() const
const Aws::String & GetFormat() const
void SetStatus(StatusT &&value)
void SetDescription(DescriptionT &&value)
void SetFormat(FormatT &&value)
SnapshotDetail & WithUrl(UrlT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool DeviceNameHasBeenSet() const
bool StatusMessageHasBeenSet() const
const UserBucketDetails & GetUserBucket() const
const Aws::String & GetDeviceName() const
bool UserBucketHasBeenSet() const
bool DiskImageSizeHasBeenSet() const
SnapshotDetail & WithDiskImageSize(double value)
bool ProgressHasBeenSet() const
double GetDiskImageSize() const
const Aws::String & GetStatus() const
AWS_EC2_API SnapshotDetail()=default
SnapshotDetail & WithProgress(ProgressT &&value)
void SetProgress(ProgressT &&value)
void SetDeviceName(DeviceNameT &&value)
bool FormatHasBeenSet() const
void SetUrl(UrlT &&value)
const Aws::String & GetProgress() const
SnapshotDetail & WithFormat(FormatT &&value)
AWS_EC2_API SnapshotDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API SnapshotDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetDescription() const
void SetStatusMessage(StatusMessageT &&value)
bool StatusHasBeenSet() const
SnapshotDetail & WithUserBucket(UserBucketT &&value)
const Aws::String & GetStatusMessage() const
bool UrlHasBeenSet() const
SnapshotDetail & WithStatusMessage(StatusMessageT &&value)
bool DescriptionHasBeenSet() const
SnapshotDetail & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream