7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/ExportEnvironment.h>
12#include <aws/ec2/model/ExportToS3TaskSpecification.h>
13#include <aws/ec2/model/TagSpecification.h>
66 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
80 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
112 bool m_tagSpecificationsHasBeenSet =
false;
115 bool m_descriptionHasBeenSet =
false;
118 bool m_instanceIdHasBeenSet =
false;
121 bool m_targetEnvironmentHasBeenSet =
false;
124 bool m_exportToS3TaskHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
CreateInstanceExportTaskRequest & WithTargetEnvironment(ExportEnvironment &&value)
void SetExportToS3Task(const ExportToS3TaskSpecification &value)
CreateInstanceExportTaskRequest & AddTagSpecifications(const TagSpecification &value)
CreateInstanceExportTaskRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetInstanceId(const Aws::String &value)
const ExportEnvironment & GetTargetEnvironment() const
CreateInstanceExportTaskRequest & WithExportToS3Task(const ExportToS3TaskSpecification &value)
AWS_EC2_API CreateInstanceExportTaskRequest()
bool DescriptionHasBeenSet() const
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
const ExportToS3TaskSpecification & GetExportToS3Task() const
bool InstanceIdHasBeenSet() const
void SetDescription(Aws::String &&value)
void SetTargetEnvironment(const ExportEnvironment &value)
void SetInstanceId(Aws::String &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
AWS_EC2_API Aws::String SerializePayload() const override
CreateInstanceExportTaskRequest & AddTagSpecifications(TagSpecification &&value)
void SetDescription(const char *value)
CreateInstanceExportTaskRequest & WithDescription(const char *value)
bool ExportToS3TaskHasBeenSet() const
bool TagSpecificationsHasBeenSet() const
void SetDescription(const Aws::String &value)
void SetExportToS3Task(ExportToS3TaskSpecification &&value)
const Aws::String & GetInstanceId() const
CreateInstanceExportTaskRequest & WithInstanceId(const char *value)
void SetInstanceId(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateInstanceExportTaskRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
bool TargetEnvironmentHasBeenSet() const
CreateInstanceExportTaskRequest & WithDescription(Aws::String &&value)
CreateInstanceExportTaskRequest & WithInstanceId(Aws::String &&value)
void SetTargetEnvironment(ExportEnvironment &&value)
CreateInstanceExportTaskRequest & WithInstanceId(const Aws::String &value)
const Aws::String & GetDescription() const
CreateInstanceExportTaskRequest & WithTargetEnvironment(const ExportEnvironment &value)
CreateInstanceExportTaskRequest & WithExportToS3Task(ExportToS3TaskSpecification &&value)
CreateInstanceExportTaskRequest & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector