7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetCancelReason(
const char* value) { m_cancelReasonHasBeenSet =
true; m_cancelReason.assign(value); }
62 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
74 inline void SetImportTaskId(
const char* value) { m_importTaskIdHasBeenSet =
true; m_importTaskId.assign(value); }
82 bool m_cancelReasonHasBeenSet =
false;
85 bool m_dryRunHasBeenSet =
false;
88 bool m_importTaskIdHasBeenSet =
false;
void SetImportTaskId(const Aws::String &value)
CancelImportTaskRequest & WithImportTaskId(const Aws::String &value)
void SetImportTaskId(const char *value)
virtual const char * GetServiceRequestName() const override
bool CancelReasonHasBeenSet() const
void SetCancelReason(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
CancelImportTaskRequest & WithCancelReason(Aws::String &&value)
void SetCancelReason(const char *value)
AWS_EC2_API CancelImportTaskRequest()
void SetCancelReason(const Aws::String &value)
CancelImportTaskRequest & WithDryRun(bool value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool ImportTaskIdHasBeenSet() const
void SetImportTaskId(Aws::String &&value)
CancelImportTaskRequest & WithImportTaskId(const char *value)
CancelImportTaskRequest & WithCancelReason(const char *value)
const Aws::String & GetCancelReason() const
void SetDryRun(bool value)
CancelImportTaskRequest & WithCancelReason(const Aws::String &value)
const Aws::String & GetImportTaskId() const
bool DryRunHasBeenSet() const
CancelImportTaskRequest & WithImportTaskId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String