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/BundleTaskState.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/ec2/model/Storage.h>
13#include <aws/ec2/model/BundleTaskError.h>
54 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
68 inline void SetBundleId(
const char* value) { m_bundleIdHasBeenSet =
true; m_bundleId.assign(value); }
117 inline void SetStorage(
Storage&& value) { m_storageHasBeenSet =
true; m_storage = std::move(value); }
130 inline void SetProgress(
const char* value) { m_progressHasBeenSet =
true; m_progress.assign(value); }
150 bool m_instanceIdHasBeenSet =
false;
153 bool m_bundleIdHasBeenSet =
false;
156 bool m_stateHasBeenSet =
false;
159 bool m_startTimeHasBeenSet =
false;
162 bool m_updateTimeHasBeenSet =
false;
165 bool m_storageHasBeenSet =
false;
168 bool m_progressHasBeenSet =
false;
171 bool m_bundleTaskErrorHasBeenSet =
false;
void SetUpdateTime(const Aws::Utils::DateTime &value)
void SetState(const BundleTaskState &value)
bool StorageHasBeenSet() const
bool UpdateTimeHasBeenSet() const
BundleTask & WithBundleId(const char *value)
BundleTask & WithStartTime(const Aws::Utils::DateTime &value)
BundleTask & WithBundleTaskError(const BundleTaskError &value)
void SetInstanceId(const Aws::String &value)
const Aws::String & GetBundleId() const
BundleTask & WithState(const BundleTaskState &value)
BundleTask & WithProgress(Aws::String &&value)
void SetStorage(const Storage &value)
void SetBundleId(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
void SetProgress(const char *value)
BundleTask & WithStorage(const Storage &value)
void SetStartTime(Aws::Utils::DateTime &&value)
const Aws::String & GetInstanceId() const
bool InstanceIdHasBeenSet() const
BundleTask & WithBundleId(const Aws::String &value)
BundleTask & WithUpdateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetProgress() const
BundleTask & WithBundleTaskError(BundleTaskError &&value)
void SetBundleTaskError(BundleTaskError &&value)
const BundleTaskError & GetBundleTaskError() const
BundleTask & WithBundleId(Aws::String &&value)
void SetInstanceId(Aws::String &&value)
bool StateHasBeenSet() const
void SetState(BundleTaskState &&value)
void SetBundleId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
BundleTask & WithUpdateTime(const Aws::Utils::DateTime &value)
AWS_EC2_API BundleTask(const Aws::Utils::Xml::XmlNode &xmlNode)
const BundleTaskState & GetState() const
bool StartTimeHasBeenSet() const
void SetUpdateTime(Aws::Utils::DateTime &&value)
const Storage & GetStorage() const
BundleTask & WithProgress(const Aws::String &value)
BundleTask & WithStorage(Storage &&value)
bool BundleTaskErrorHasBeenSet() const
void SetBundleId(const char *value)
const Aws::Utils::DateTime & GetUpdateTime() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
BundleTask & WithInstanceId(const Aws::String &value)
BundleTask & WithInstanceId(const char *value)
void SetInstanceId(const char *value)
void SetBundleTaskError(const BundleTaskError &value)
AWS_EC2_API BundleTask & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
BundleTask & WithState(BundleTaskState &&value)
bool BundleIdHasBeenSet() const
BundleTask & WithStartTime(Aws::Utils::DateTime &&value)
BundleTask & WithInstanceId(Aws::String &&value)
bool ProgressHasBeenSet() const
void SetProgress(Aws::String &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetStorage(Storage &&value)
BundleTask & WithProgress(const char *value)
void SetProgress(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