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>
43 template <
typename DescriptionT = Aws::String>
45 m_descriptionHasBeenSet =
true;
46 m_description = std::forward<DescriptionT>(value);
48 template <
typename DescriptionT = Aws::String>
62 m_diskImageSizeHasBeenSet =
true;
63 m_diskImageSize = value;
78 m_encryptedHasBeenSet =
true;
93 template <
typename FormatT = Aws::String>
95 m_formatHasBeenSet =
true;
96 m_format = std::forward<FormatT>(value);
98 template <
typename FormatT = Aws::String>
112 template <
typename KmsKeyIdT = Aws::String>
114 m_kmsKeyIdHasBeenSet =
true;
115 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
117 template <
typename KmsKeyIdT = Aws::String>
130 template <
typename ProgressT = Aws::String>
132 m_progressHasBeenSet =
true;
133 m_progress = std::forward<ProgressT>(value);
135 template <
typename ProgressT = Aws::String>
148 template <
typename SnapshotIdT = Aws::String>
150 m_snapshotIdHasBeenSet =
true;
151 m_snapshotId = std::forward<SnapshotIdT>(value);
153 template <
typename SnapshotIdT = Aws::String>
166 template <
typename StatusT = Aws::String>
168 m_statusHasBeenSet =
true;
169 m_status = std::forward<StatusT>(value);
171 template <
typename StatusT = Aws::String>
184 template <
typename StatusMessageT = Aws::String>
186 m_statusMessageHasBeenSet =
true;
187 m_statusMessage = std::forward<StatusMessageT>(value);
189 template <
typename StatusMessageT = Aws::String>
202 template <
typename UrlT = Aws::String>
204 m_urlHasBeenSet =
true;
205 m_url = std::forward<UrlT>(value);
207 template <
typename UrlT = Aws::String>
209 SetUrl(std::forward<UrlT>(value));
220 template <
typename UserBucketT = UserBucketDetails>
222 m_userBucketHasBeenSet =
true;
223 m_userBucket = std::forward<UserBucketT>(value);
225 template <
typename UserBucketT = UserBucketDetails>
234 double m_diskImageSize{0.0};
236 bool m_encrypted{
false};
252 UserBucketDetails m_userBucket;
253 bool m_descriptionHasBeenSet =
false;
254 bool m_diskImageSizeHasBeenSet =
false;
255 bool m_encryptedHasBeenSet =
false;
256 bool m_formatHasBeenSet =
false;
257 bool m_kmsKeyIdHasBeenSet =
false;
258 bool m_progressHasBeenSet =
false;
259 bool m_snapshotIdHasBeenSet =
false;
260 bool m_statusHasBeenSet =
false;
261 bool m_statusMessageHasBeenSet =
false;
262 bool m_urlHasBeenSet =
false;
263 bool m_userBucketHasBeenSet =
false;
const Aws::String & GetStatus() const
void SetProgress(ProgressT &&value)
SnapshotTaskDetail & WithUrl(UrlT &&value)
bool UserBucketHasBeenSet() const
SnapshotTaskDetail & WithEncrypted(bool value)
void SetUrl(UrlT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SnapshotTaskDetail & WithDiskImageSize(double value)
void SetUserBucket(UserBucketT &&value)
void SetStatus(StatusT &&value)
void SetStatusMessage(StatusMessageT &&value)
AWS_EC2_API SnapshotTaskDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetProgress() const
bool FormatHasBeenSet() const
void SetFormat(FormatT &&value)
AWS_EC2_API SnapshotTaskDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
double GetDiskImageSize() const
bool KmsKeyIdHasBeenSet() const
bool EncryptedHasBeenSet() const
void SetSnapshotId(SnapshotIdT &&value)
const Aws::String & GetUrl() const
const UserBucketDetails & GetUserBucket() const
bool ProgressHasBeenSet() const
void SetEncrypted(bool value)
SnapshotTaskDetail & WithProgress(ProgressT &&value)
bool DiskImageSizeHasBeenSet() const
SnapshotTaskDetail & WithFormat(FormatT &&value)
const Aws::String & GetSnapshotId() const
SnapshotTaskDetail & WithStatusMessage(StatusMessageT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetDescription() const
const Aws::String & GetKmsKeyId() const
bool SnapshotIdHasBeenSet() const
bool GetEncrypted() const
bool StatusHasBeenSet() const
SnapshotTaskDetail & WithUserBucket(UserBucketT &&value)
bool StatusMessageHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
AWS_EC2_API SnapshotTaskDetail()=default
void SetDiskImageSize(double value)
bool UrlHasBeenSet() const
const Aws::String & GetStatusMessage() const
SnapshotTaskDetail & WithKmsKeyId(KmsKeyIdT &&value)
bool DescriptionHasBeenSet() const
SnapshotTaskDetail & WithStatus(StatusT &&value)
const Aws::String & GetFormat() const
void SetDescription(DescriptionT &&value)
SnapshotTaskDetail & WithDescription(DescriptionT &&value)
SnapshotTaskDetail & WithSnapshotId(SnapshotIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream