7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/BundleTaskError.h>
12#include <aws/ec2/model/BundleTaskState.h>
13#include <aws/ec2/model/Storage.h>
46 template <
typename InstanceIdT = Aws::String>
48 m_instanceIdHasBeenSet =
true;
49 m_instanceId = std::forward<InstanceIdT>(value);
51 template <
typename InstanceIdT = Aws::String>
64 template <
typename BundleIdT = Aws::String>
66 m_bundleIdHasBeenSet =
true;
67 m_bundleId = std::forward<BundleIdT>(value);
69 template <
typename BundleIdT = Aws::String>
83 m_stateHasBeenSet =
true;
98 template <
typename StartTimeT = Aws::Utils::DateTime>
100 m_startTimeHasBeenSet =
true;
101 m_startTime = std::forward<StartTimeT>(value);
103 template <
typename StartTimeT = Aws::Utils::DateTime>
116 template <
typename UpdateTimeT = Aws::Utils::DateTime>
118 m_updateTimeHasBeenSet =
true;
119 m_updateTime = std::forward<UpdateTimeT>(value);
121 template <
typename UpdateTimeT = Aws::Utils::DateTime>
134 template <
typename StorageT = Storage>
136 m_storageHasBeenSet =
true;
137 m_storage = std::forward<StorageT>(value);
139 template <
typename StorageT = Storage>
152 template <
typename ProgressT = Aws::String>
154 m_progressHasBeenSet =
true;
155 m_progress = std::forward<ProgressT>(value);
157 template <
typename ProgressT = Aws::String>
170 template <
typename BundleTaskErrorT = BundleTaskError>
172 m_bundleTaskErrorHasBeenSet =
true;
173 m_bundleTaskError = std::forward<BundleTaskErrorT>(value);
175 template <
typename BundleTaskErrorT = BundleTaskError>
196 BundleTaskError m_bundleTaskError;
197 bool m_instanceIdHasBeenSet =
false;
198 bool m_bundleIdHasBeenSet =
false;
199 bool m_stateHasBeenSet =
false;
200 bool m_startTimeHasBeenSet =
false;
201 bool m_updateTimeHasBeenSet =
false;
202 bool m_storageHasBeenSet =
false;
203 bool m_progressHasBeenSet =
false;
204 bool m_bundleTaskErrorHasBeenSet =
false;
bool StorageHasBeenSet() const
bool UpdateTimeHasBeenSet() const
BundleTask & WithState(BundleTaskState value)
BundleTask & WithStorage(StorageT &&value)
void SetBundleTaskError(BundleTaskErrorT &&value)
const Aws::String & GetBundleId() const
const Aws::Utils::DateTime & GetStartTime() const
void SetState(BundleTaskState value)
void SetProgress(ProgressT &&value)
const Aws::String & GetInstanceId() const
bool InstanceIdHasBeenSet() const
const Aws::String & GetProgress() const
const BundleTaskError & GetBundleTaskError() const
void SetUpdateTime(UpdateTimeT &&value)
bool StateHasBeenSet() const
BundleTask & WithUpdateTime(UpdateTimeT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
BundleTask & WithInstanceId(InstanceIdT &&value)
void SetStorage(StorageT &&value)
AWS_EC2_API BundleTask(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API BundleTask()=default
bool StartTimeHasBeenSet() const
BundleTask & WithStartTime(StartTimeT &&value)
const Storage & GetStorage() const
void SetBundleId(BundleIdT &&value)
BundleTask & WithBundleId(BundleIdT &&value)
BundleTaskState GetState() const
bool BundleTaskErrorHasBeenSet() const
const Aws::Utils::DateTime & GetUpdateTime() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
BundleTask & WithProgress(ProgressT &&value)
AWS_EC2_API BundleTask & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool BundleIdHasBeenSet() const
void SetInstanceId(InstanceIdT &&value)
void SetStartTime(StartTimeT &&value)
bool ProgressHasBeenSet() const
BundleTask & WithBundleTaskError(BundleTaskErrorT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream