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>
52 template<
typename InstanceIdT = Aws::String>
53 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
54 template<
typename InstanceIdT = Aws::String>
64 template<
typename BundleIdT = Aws::String>
65 void SetBundleId(BundleIdT&& value) { m_bundleIdHasBeenSet =
true; m_bundleId = std::forward<BundleIdT>(value); }
66 template<
typename BundleIdT = Aws::String>
86 template<
typename StartTimeT = Aws::Utils::DateTime>
87 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
88 template<
typename StartTimeT = Aws::Utils::DateTime>
98 template<
typename UpdateTimeT = Aws::Utils::DateTime>
99 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet =
true; m_updateTime = std::forward<UpdateTimeT>(value); }
100 template<
typename UpdateTimeT = Aws::Utils::DateTime>
110 template<
typename StorageT = Storage>
111 void SetStorage(StorageT&& value) { m_storageHasBeenSet =
true; m_storage = std::forward<StorageT>(value); }
112 template<
typename StorageT = Storage>
122 template<
typename ProgressT = Aws::String>
123 void SetProgress(ProgressT&& value) { m_progressHasBeenSet =
true; m_progress = std::forward<ProgressT>(value); }
124 template<
typename ProgressT = Aws::String>
134 template<
typename BundleTaskErrorT = BundleTaskError>
135 void SetBundleTaskError(BundleTaskErrorT&& value) { m_bundleTaskErrorHasBeenSet =
true; m_bundleTaskError = std::forward<BundleTaskErrorT>(value); }
136 template<
typename BundleTaskErrorT = BundleTaskError>
142 bool m_instanceIdHasBeenSet =
false;
145 bool m_bundleIdHasBeenSet =
false;
148 bool m_stateHasBeenSet =
false;
151 bool m_startTimeHasBeenSet =
false;
154 bool m_updateTimeHasBeenSet =
false;
157 bool m_storageHasBeenSet =
false;
160 bool m_progressHasBeenSet =
false;
162 BundleTaskError m_bundleTaskError;
163 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