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>
50 template<
typename DescriptionT = Aws::String>
51 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
52 template<
typename DescriptionT = Aws::String>
62 template<
typename DeviceNameT = Aws::String>
63 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet =
true; m_deviceName = std::forward<DeviceNameT>(value); }
64 template<
typename DeviceNameT = Aws::String>
74 inline void SetDiskImageSize(
double value) { m_diskImageSizeHasBeenSet =
true; m_diskImageSize = value; }
84 template<
typename FormatT = Aws::String>
85 void SetFormat(FormatT&& value) { m_formatHasBeenSet =
true; m_format = std::forward<FormatT>(value); }
86 template<
typename FormatT = Aws::String>
96 template<
typename ProgressT = Aws::String>
97 void SetProgress(ProgressT&& value) { m_progressHasBeenSet =
true; m_progress = std::forward<ProgressT>(value); }
98 template<
typename ProgressT = Aws::String>
108 template<
typename SnapshotIdT = Aws::String>
109 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet =
true; m_snapshotId = std::forward<SnapshotIdT>(value); }
110 template<
typename SnapshotIdT = Aws::String>
120 template<
typename StatusT = Aws::String>
121 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
122 template<
typename StatusT = Aws::String>
132 template<
typename StatusMessageT = Aws::String>
133 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
134 template<
typename StatusMessageT = Aws::String>
144 template<
typename UrlT = Aws::String>
145 void SetUrl(UrlT&& value) { m_urlHasBeenSet =
true; m_url = std::forward<UrlT>(value); }
146 template<
typename UrlT = Aws::String>
156 template<
typename UserBucketT = UserBucketDetails>
157 void SetUserBucket(UserBucketT&& value) { m_userBucketHasBeenSet =
true; m_userBucket = std::forward<UserBucketT>(value); }
158 template<
typename UserBucketT = UserBucketDetails>
164 bool m_descriptionHasBeenSet =
false;
167 bool m_deviceNameHasBeenSet =
false;
169 double m_diskImageSize{0.0};
170 bool m_diskImageSizeHasBeenSet =
false;
173 bool m_formatHasBeenSet =
false;
176 bool m_progressHasBeenSet =
false;
179 bool m_snapshotIdHasBeenSet =
false;
182 bool m_statusHasBeenSet =
false;
185 bool m_statusMessageHasBeenSet =
false;
188 bool m_urlHasBeenSet =
false;
190 UserBucketDetails m_userBucket;
191 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