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/ExportToS3Task.h>
11#include <aws/ec2/model/InstanceExportDetails.h>
12#include <aws/ec2/model/ExportTaskState.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ec2/model/Tag.h>
55 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
69 inline void SetExportTaskId(
const char* value) { m_exportTaskIdHasBeenSet =
true; m_exportTaskId.assign(value); }
119 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
135 inline ExportTask&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
136 inline ExportTask&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
141 bool m_descriptionHasBeenSet =
false;
144 bool m_exportTaskIdHasBeenSet =
false;
147 bool m_exportToS3TaskHasBeenSet =
false;
150 bool m_instanceExportDetailsHasBeenSet =
false;
153 bool m_stateHasBeenSet =
false;
156 bool m_statusMessageHasBeenSet =
false;
159 bool m_tagsHasBeenSet =
false;
ExportTask & WithState(ExportTaskState &&value)
ExportTask & WithTags(const Aws::Vector< Tag > &value)
ExportTask & WithState(const ExportTaskState &value)
void SetExportTaskId(const Aws::String &value)
void SetInstanceExportDetails(InstanceExportDetails &&value)
void SetStatusMessage(const Aws::String &value)
void SetExportToS3Task(ExportToS3Task &&value)
const InstanceExportDetails & GetInstanceExportDetails() const
bool InstanceExportDetailsHasBeenSet() const
ExportTask & WithExportTaskId(const Aws::String &value)
bool TagsHasBeenSet() const
bool StatusMessageHasBeenSet() const
ExportTask & WithInstanceExportDetails(const InstanceExportDetails &value)
const ExportToS3Task & GetExportToS3Task() const
ExportTask & WithInstanceExportDetails(InstanceExportDetails &&value)
ExportTask & AddTags(const Tag &value)
ExportTask & WithDescription(const Aws::String &value)
const ExportTaskState & GetState() const
bool ExportToS3TaskHasBeenSet() const
const Aws::String & GetStatusMessage() const
void SetInstanceExportDetails(const InstanceExportDetails &value)
const Aws::String & GetExportTaskId() const
bool ExportTaskIdHasBeenSet() const
ExportTask & WithStatusMessage(const char *value)
ExportTask & WithExportTaskId(const char *value)
ExportTask & WithExportToS3Task(const ExportToS3Task &value)
ExportTask & WithExportToS3Task(ExportToS3Task &&value)
ExportTask & WithDescription(Aws::String &&value)
ExportTask & WithStatusMessage(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_EC2_API ExportTask & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetState(const ExportTaskState &value)
void SetDescription(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetExportTaskId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetDescription() const
void SetStatusMessage(const char *value)
void SetState(ExportTaskState &&value)
void SetExportToS3Task(const ExportToS3Task &value)
ExportTask & WithTags(Aws::Vector< Tag > &&value)
AWS_EC2_API ExportTask(const Aws::Utils::Xml::XmlNode &xmlNode)
ExportTask & WithExportTaskId(Aws::String &&value)
ExportTask & WithDescription(const char *value)
void SetStatusMessage(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetExportTaskId(Aws::String &&value)
ExportTask & WithStatusMessage(const Aws::String &value)
void SetDescription(Aws::String &&value)
bool DescriptionHasBeenSet() const
bool StateHasBeenSet() const
ExportTask & AddTags(Tag &&value)
void SetDescription(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