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>
49 template<
typename DescriptionT = Aws::String>
50 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
51 template<
typename DescriptionT = Aws::String>
61 inline void SetDiskImageSize(
double value) { m_diskImageSizeHasBeenSet =
true; m_diskImageSize = value; }
71 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
81 template<
typename FormatT = Aws::String>
82 void SetFormat(FormatT&& value) { m_formatHasBeenSet =
true; m_format = std::forward<FormatT>(value); }
83 template<
typename FormatT = Aws::String>
94 template<
typename KmsKeyIdT = Aws::String>
95 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
96 template<
typename KmsKeyIdT = Aws::String>
106 template<
typename ProgressT = Aws::String>
107 void SetProgress(ProgressT&& value) { m_progressHasBeenSet =
true; m_progress = std::forward<ProgressT>(value); }
108 template<
typename ProgressT = Aws::String>
118 template<
typename SnapshotIdT = Aws::String>
119 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet =
true; m_snapshotId = std::forward<SnapshotIdT>(value); }
120 template<
typename SnapshotIdT = Aws::String>
130 template<
typename StatusT = Aws::String>
131 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
132 template<
typename StatusT = Aws::String>
142 template<
typename StatusMessageT = Aws::String>
143 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
144 template<
typename StatusMessageT = Aws::String>
154 template<
typename UrlT = Aws::String>
155 void SetUrl(UrlT&& value) { m_urlHasBeenSet =
true; m_url = std::forward<UrlT>(value); }
156 template<
typename UrlT = Aws::String>
166 template<
typename UserBucketT = UserBucketDetails>
167 void SetUserBucket(UserBucketT&& value) { m_userBucketHasBeenSet =
true; m_userBucket = std::forward<UserBucketT>(value); }
168 template<
typename UserBucketT = UserBucketDetails>
174 bool m_descriptionHasBeenSet =
false;
176 double m_diskImageSize{0.0};
177 bool m_diskImageSizeHasBeenSet =
false;
179 bool m_encrypted{
false};
180 bool m_encryptedHasBeenSet =
false;
183 bool m_formatHasBeenSet =
false;
186 bool m_kmsKeyIdHasBeenSet =
false;
189 bool m_progressHasBeenSet =
false;
192 bool m_snapshotIdHasBeenSet =
false;
195 bool m_statusHasBeenSet =
false;
198 bool m_statusMessageHasBeenSet =
false;
201 bool m_urlHasBeenSet =
false;
203 UserBucketDetails m_userBucket;
204 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