7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/TagSpecification.h>
13#include <aws/core/utils/UUID.h>
50 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
68 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
86 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
101 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
131 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.assign(value); }
153 bool m_instanceIdHasBeenSet =
false;
156 bool m_snapshotIdHasBeenSet =
false;
159 bool m_clientTokenHasBeenSet =
false;
162 bool m_dryRunHasBeenSet =
false;
165 bool m_tagSpecificationsHasBeenSet =
false;
168 bool m_imageIdHasBeenSet =
false;
170 bool m_deleteReplacedRootVolume;
171 bool m_deleteReplacedRootVolumeHasBeenSet =
false;
void SetDeleteReplacedRootVolume(bool value)
bool ImageIdHasBeenSet() const
const Aws::String & GetClientToken() const
void SetInstanceId(const char *value)
CreateReplaceRootVolumeTaskRequest & WithClientToken(const Aws::String &value)
bool GetDeleteReplacedRootVolume() const
void SetClientToken(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
bool DryRunHasBeenSet() const
void SetImageId(Aws::String &&value)
CreateReplaceRootVolumeTaskRequest & AddTagSpecifications(const TagSpecification &value)
CreateReplaceRootVolumeTaskRequest & WithSnapshotId(const char *value)
void SetSnapshotId(const Aws::String &value)
CreateReplaceRootVolumeTaskRequest & WithDryRun(bool value)
const Aws::String & GetSnapshotId() const
bool SnapshotIdHasBeenSet() const
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetClientToken(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetInstanceId(Aws::String &&value)
CreateReplaceRootVolumeTaskRequest & WithInstanceId(const char *value)
CreateReplaceRootVolumeTaskRequest & WithDeleteReplacedRootVolume(bool value)
CreateReplaceRootVolumeTaskRequest & WithImageId(const Aws::String &value)
void SetImageId(const Aws::String &value)
AWS_EC2_API CreateReplaceRootVolumeTaskRequest()
CreateReplaceRootVolumeTaskRequest & WithSnapshotId(const Aws::String &value)
const Aws::String & GetInstanceId() const
CreateReplaceRootVolumeTaskRequest & WithInstanceId(const Aws::String &value)
CreateReplaceRootVolumeTaskRequest & WithImageId(const char *value)
bool TagSpecificationsHasBeenSet() const
const Aws::String & GetImageId() const
bool DeleteReplacedRootVolumeHasBeenSet() const
void SetClientToken(const Aws::String &value)
CreateReplaceRootVolumeTaskRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
bool InstanceIdHasBeenSet() const
CreateReplaceRootVolumeTaskRequest & WithImageId(Aws::String &&value)
void SetSnapshotId(const char *value)
void SetImageId(const char *value)
CreateReplaceRootVolumeTaskRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateReplaceRootVolumeTaskRequest & WithInstanceId(Aws::String &&value)
CreateReplaceRootVolumeTaskRequest & WithClientToken(const char *value)
CreateReplaceRootVolumeTaskRequest & AddTagSpecifications(TagSpecification &&value)
void SetSnapshotId(Aws::String &&value)
CreateReplaceRootVolumeTaskRequest & WithSnapshotId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetDryRun(bool value)
bool ClientTokenHasBeenSet() const
CreateReplaceRootVolumeTaskRequest & WithClientToken(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector