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/ImportInstanceTaskDetails.h>
11#include <aws/ec2/model/ImportVolumeTaskDetails.h>
12#include <aws/ec2/model/ConversionTaskState.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ec2/model/Tag.h>
55 inline void SetConversionTaskId(
const char* value) { m_conversionTaskIdHasBeenSet =
true; m_conversionTaskId.assign(value); }
70 inline void SetExpirationTime(
const char* value) { m_expirationTimeHasBeenSet =
true; m_expirationTime.assign(value); }
122 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
144 bool m_conversionTaskIdHasBeenSet =
false;
147 bool m_expirationTimeHasBeenSet =
false;
150 bool m_importInstanceHasBeenSet =
false;
153 bool m_importVolumeHasBeenSet =
false;
156 bool m_stateHasBeenSet =
false;
159 bool m_statusMessageHasBeenSet =
false;
162 bool m_tagsHasBeenSet =
false;
AWS_EC2_API ConversionTask(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetConversionTaskId(Aws::String &&value)
ConversionTask & WithStatusMessage(const Aws::String &value)
void SetImportInstance(const ImportInstanceTaskDetails &value)
void SetImportVolume(ImportVolumeTaskDetails &&value)
void SetState(const ConversionTaskState &value)
ConversionTask & WithConversionTaskId(Aws::String &&value)
ConversionTask & WithImportInstance(const ImportInstanceTaskDetails &value)
ConversionTask & AddTags(Tag &&value)
ConversionTask & WithState(ConversionTaskState &&value)
ConversionTask & WithImportVolume(const ImportVolumeTaskDetails &value)
void SetStatusMessage(const Aws::String &value)
ConversionTask & AddTags(const Tag &value)
ConversionTask & WithStatusMessage(Aws::String &&value)
const Aws::String & GetStatusMessage() const
void SetConversionTaskId(const Aws::String &value)
const ImportInstanceTaskDetails & GetImportInstance() const
AWS_EC2_API ConversionTask()
void SetStatusMessage(Aws::String &&value)
bool ExpirationTimeHasBeenSet() const
void SetState(ConversionTaskState &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTags(const Aws::Vector< Tag > &value)
ConversionTask & WithConversionTaskId(const char *value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetConversionTaskId() const
ConversionTask & WithExpirationTime(Aws::String &&value)
ConversionTask & WithStatusMessage(const char *value)
const ImportVolumeTaskDetails & GetImportVolume() const
ConversionTask & WithState(const ConversionTaskState &value)
bool ImportInstanceHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool ImportVolumeHasBeenSet() const
AWS_EC2_API ConversionTask & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetExpirationTime(const Aws::String &value)
bool ConversionTaskIdHasBeenSet() const
bool TagsHasBeenSet() const
ConversionTask & WithExpirationTime(const Aws::String &value)
void SetConversionTaskId(const char *value)
void SetExpirationTime(const char *value)
const ConversionTaskState & GetState() const
bool StatusMessageHasBeenSet() const
ConversionTask & WithTags(const Aws::Vector< Tag > &value)
ConversionTask & WithTags(Aws::Vector< Tag > &&value)
void SetImportInstance(ImportInstanceTaskDetails &&value)
bool StateHasBeenSet() const
const Aws::String & GetExpirationTime() const
ConversionTask & WithImportVolume(ImportVolumeTaskDetails &&value)
ConversionTask & WithExpirationTime(const char *value)
void SetExpirationTime(Aws::String &&value)
void SetImportVolume(const ImportVolumeTaskDetails &value)
ConversionTask & WithImportInstance(ImportInstanceTaskDetails &&value)
void SetTags(Aws::Vector< Tag > &&value)
ConversionTask & WithConversionTaskId(const Aws::String &value)
void SetStatusMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream