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/core/utils/DateTime.h>
52 inline void SetAmiId(
const char* value) { m_amiIdHasBeenSet =
true; m_amiId.assign(value); }
78 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
92 inline void SetS3objectKey(
const char* value) { m_s3objectKeyHasBeenSet =
true; m_s3objectKey.assign(value); }
104 inline void SetProgressPercentage(
int value) { m_progressPercentageHasBeenSet =
true; m_progressPercentage = value; }
117 inline void SetStoreTaskState(
const char* value) { m_storeTaskStateHasBeenSet =
true; m_storeTaskState.assign(value); }
132 inline void SetStoreTaskFailureReason(
const char* value) { m_storeTaskFailureReasonHasBeenSet =
true; m_storeTaskFailureReason.assign(value); }
140 bool m_amiIdHasBeenSet =
false;
143 bool m_taskStartTimeHasBeenSet =
false;
146 bool m_bucketHasBeenSet =
false;
149 bool m_s3objectKeyHasBeenSet =
false;
151 int m_progressPercentage;
152 bool m_progressPercentageHasBeenSet =
false;
155 bool m_storeTaskStateHasBeenSet =
false;
158 bool m_storeTaskFailureReasonHasBeenSet =
false;
void SetStoreTaskState(const char *value)
StoreImageTaskResponse & WithStoreTaskFailureReason(const Aws::String &value)
const Aws::String & GetAmiId() const
StoreImageTaskResponse & WithProgressPercentage(int value)
bool TaskStartTimeHasBeenSet() const
void SetS3objectKey(const char *value)
bool StoreTaskStateHasBeenSet() const
StoreImageTaskResponse & WithStoreTaskFailureReason(const char *value)
void SetBucket(const Aws::String &value)
StoreImageTaskResponse & WithS3objectKey(const Aws::String &value)
StoreImageTaskResponse & WithTaskStartTime(Aws::Utils::DateTime &&value)
void SetTaskStartTime(const Aws::Utils::DateTime &value)
StoreImageTaskResponse & WithAmiId(const char *value)
AWS_EC2_API StoreImageTaskResponse(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTaskStartTime(Aws::Utils::DateTime &&value)
StoreImageTaskResponse & WithBucket(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
StoreImageTaskResponse & WithStoreTaskState(Aws::String &&value)
void SetStoreTaskState(Aws::String &&value)
bool StoreTaskFailureReasonHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetStoreTaskFailureReason() const
const Aws::String & GetStoreTaskState() const
void SetStoreTaskFailureReason(Aws::String &&value)
bool BucketHasBeenSet() const
bool AmiIdHasBeenSet() const
const Aws::String & GetBucket() const
StoreImageTaskResponse & WithS3objectKey(Aws::String &&value)
AWS_EC2_API StoreImageTaskResponse & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetS3objectKey() const
void SetS3objectKey(Aws::String &&value)
StoreImageTaskResponse & WithAmiId(const Aws::String &value)
StoreImageTaskResponse & WithStoreTaskFailureReason(Aws::String &&value)
void SetProgressPercentage(int value)
StoreImageTaskResponse & WithAmiId(Aws::String &&value)
StoreImageTaskResponse & WithTaskStartTime(const Aws::Utils::DateTime &value)
void SetBucket(Aws::String &&value)
bool ProgressPercentageHasBeenSet() const
void SetAmiId(const char *value)
StoreImageTaskResponse & WithStoreTaskState(const Aws::String &value)
const Aws::Utils::DateTime & GetTaskStartTime() const
void SetS3objectKey(const Aws::String &value)
void SetStoreTaskFailureReason(const Aws::String &value)
StoreImageTaskResponse & WithS3objectKey(const char *value)
StoreImageTaskResponse & WithBucket(Aws::String &&value)
AWS_EC2_API StoreImageTaskResponse()
void SetBucket(const char *value)
void SetStoreTaskFailureReason(const char *value)
bool S3objectKeyHasBeenSet() const
StoreImageTaskResponse & WithStoreTaskState(const char *value)
int GetProgressPercentage() const
void SetStoreTaskState(const Aws::String &value)
void SetAmiId(Aws::String &&value)
StoreImageTaskResponse & WithBucket(const Aws::String &value)
void SetAmiId(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