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>
51 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
63 inline void SetDiskImageSize(
double value) { m_diskImageSizeHasBeenSet =
true; m_diskImageSize = value; }
73 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
85 inline void SetFormat(
const char* value) { m_formatHasBeenSet =
true; m_format.assign(value); }
100 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
114 inline void SetProgress(
const char* value) { m_progressHasBeenSet =
true; m_progress.assign(value); }
128 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
142 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
156 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
170 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
190 bool m_descriptionHasBeenSet =
false;
192 double m_diskImageSize;
193 bool m_diskImageSizeHasBeenSet =
false;
196 bool m_encryptedHasBeenSet =
false;
199 bool m_formatHasBeenSet =
false;
202 bool m_kmsKeyIdHasBeenSet =
false;
205 bool m_progressHasBeenSet =
false;
208 bool m_snapshotIdHasBeenSet =
false;
211 bool m_statusHasBeenSet =
false;
214 bool m_statusMessageHasBeenSet =
false;
217 bool m_urlHasBeenSet =
false;
220 bool m_userBucketHasBeenSet =
false;
SnapshotTaskDetail & WithUrl(const char *value)
void SetSnapshotId(Aws::String &&value)
SnapshotTaskDetail & WithUrl(const Aws::String &value)
AWS_EC2_API SnapshotTaskDetail()
SnapshotTaskDetail & WithKmsKeyId(const Aws::String &value)
void SetFormat(const Aws::String &value)
void SetStatus(const char *value)
const Aws::String & GetStatus() const
SnapshotTaskDetail & WithDescription(Aws::String &&value)
bool UserBucketHasBeenSet() const
SnapshotTaskDetail & WithEncrypted(bool value)
void SetProgress(Aws::String &&value)
void SetSnapshotId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SnapshotTaskDetail & WithKmsKeyId(const char *value)
SnapshotTaskDetail & WithDescription(const char *value)
SnapshotTaskDetail & WithProgress(const char *value)
SnapshotTaskDetail & WithDiskImageSize(double value)
void SetProgress(const Aws::String &value)
void SetUserBucket(const UserBucketDetails &value)
void SetStatusMessage(const char *value)
AWS_EC2_API SnapshotTaskDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetProgress() const
SnapshotTaskDetail & WithUrl(Aws::String &&value)
void SetStatus(Aws::String &&value)
bool FormatHasBeenSet() const
void SetDescription(const char *value)
SnapshotTaskDetail & WithStatus(Aws::String &&value)
AWS_EC2_API SnapshotTaskDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetKmsKeyId(Aws::String &&value)
SnapshotTaskDetail & WithProgress(const Aws::String &value)
void SetDescription(const Aws::String &value)
double GetDiskImageSize() const
bool KmsKeyIdHasBeenSet() const
bool EncryptedHasBeenSet() const
void SetProgress(const char *value)
SnapshotTaskDetail & WithProgress(Aws::String &&value)
void SetUrl(Aws::String &&value)
void SetSnapshotId(const Aws::String &value)
const Aws::String & GetUrl() const
const UserBucketDetails & GetUserBucket() const
bool ProgressHasBeenSet() const
void SetEncrypted(bool value)
SnapshotTaskDetail & WithUserBucket(UserBucketDetails &&value)
SnapshotTaskDetail & WithFormat(const char *value)
bool DiskImageSizeHasBeenSet() const
const Aws::String & GetSnapshotId() const
SnapshotTaskDetail & WithStatus(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
SnapshotTaskDetail & WithStatusMessage(const char *value)
void SetKmsKeyId(const char *value)
const Aws::String & GetDescription() const
const Aws::String & GetKmsKeyId() const
bool SnapshotIdHasBeenSet() const
SnapshotTaskDetail & WithFormat(Aws::String &&value)
bool GetEncrypted() const
bool StatusHasBeenSet() const
void SetFormat(Aws::String &&value)
void SetFormat(const char *value)
bool StatusMessageHasBeenSet() const
SnapshotTaskDetail & WithUserBucket(const UserBucketDetails &value)
SnapshotTaskDetail & WithSnapshotId(const Aws::String &value)
void SetStatusMessage(const Aws::String &value)
SnapshotTaskDetail & WithKmsKeyId(Aws::String &&value)
void SetUrl(const Aws::String &value)
void SetDiskImageSize(double value)
SnapshotTaskDetail & WithStatusMessage(const Aws::String &value)
void SetStatus(const Aws::String &value)
void SetUrl(const char *value)
SnapshotTaskDetail & WithStatusMessage(Aws::String &&value)
SnapshotTaskDetail & WithStatus(const Aws::String &value)
void SetUserBucket(UserBucketDetails &&value)
bool UrlHasBeenSet() const
const Aws::String & GetStatusMessage() const
void SetKmsKeyId(const Aws::String &value)
SnapshotTaskDetail & WithSnapshotId(const char *value)
bool DescriptionHasBeenSet() const
void SetStatusMessage(Aws::String &&value)
SnapshotTaskDetail & WithSnapshotId(Aws::String &&value)
SnapshotTaskDetail & WithFormat(const Aws::String &value)
const Aws::String & GetFormat() const
void SetDescription(Aws::String &&value)
SnapshotTaskDetail & WithDescription(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