7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/model/ClientData.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/SnapshotDiskContainer.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/TagSpecification.h>
63 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
77 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
104 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
118 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
149 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
163 inline void SetRoleName(
const char* value) { m_roleNameHasBeenSet =
true; m_roleName.assign(value); }
185 bool m_clientDataHasBeenSet =
false;
188 bool m_clientTokenHasBeenSet =
false;
191 bool m_descriptionHasBeenSet =
false;
194 bool m_diskContainerHasBeenSet =
false;
197 bool m_dryRunHasBeenSet =
false;
200 bool m_encryptedHasBeenSet =
false;
203 bool m_kmsKeyIdHasBeenSet =
false;
206 bool m_roleNameHasBeenSet =
false;
209 bool m_tagSpecificationsHasBeenSet =
false;
void SetClientToken(Aws::String &&value)
bool TagSpecificationsHasBeenSet() const
ImportSnapshotRequest & WithRoleName(Aws::String &&value)
void SetClientToken(const char *value)
void SetDiskContainer(SnapshotDiskContainer &&value)
void SetDryRun(bool value)
ImportSnapshotRequest & WithDiskContainer(const SnapshotDiskContainer &value)
void SetRoleName(const char *value)
bool RoleNameHasBeenSet() const
ImportSnapshotRequest & WithRoleName(const char *value)
ImportSnapshotRequest & WithClientData(ClientData &&value)
ImportSnapshotRequest & WithKmsKeyId(const Aws::String &value)
void SetDescription(Aws::String &&value)
ImportSnapshotRequest & WithClientToken(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
bool DryRunHasBeenSet() const
ImportSnapshotRequest & WithKmsKeyId(const char *value)
void SetEncrypted(bool value)
bool KmsKeyIdHasBeenSet() const
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
const SnapshotDiskContainer & GetDiskContainer() const
void SetDiskContainer(const SnapshotDiskContainer &value)
ImportSnapshotRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
ImportSnapshotRequest & WithDiskContainer(SnapshotDiskContainer &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetKmsKeyId(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
ImportSnapshotRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
const Aws::String & GetClientToken() const
ImportSnapshotRequest & WithDescription(Aws::String &&value)
void SetRoleName(Aws::String &&value)
AWS_EC2_API ImportSnapshotRequest()
bool GetEncrypted() const
void SetKmsKeyId(const char *value)
ImportSnapshotRequest & AddTagSpecifications(TagSpecification &&value)
ImportSnapshotRequest & WithEncrypted(bool value)
const Aws::String & GetDescription() const
ImportSnapshotRequest & WithDescription(const char *value)
ImportSnapshotRequest & WithDryRun(bool value)
void SetDescription(const Aws::String &value)
bool ClientTokenHasBeenSet() const
void SetClientData(ClientData &&value)
const Aws::String & GetKmsKeyId() const
ImportSnapshotRequest & WithClientData(const ClientData &value)
const Aws::String & GetRoleName() const
bool EncryptedHasBeenSet() const
ImportSnapshotRequest & WithClientToken(Aws::String &&value)
void SetDescription(const char *value)
bool DiskContainerHasBeenSet() const
void SetClientData(const ClientData &value)
void SetKmsKeyId(Aws::String &&value)
ImportSnapshotRequest & WithClientToken(const char *value)
const ClientData & GetClientData() const
void SetRoleName(const Aws::String &value)
bool DescriptionHasBeenSet() const
bool ClientDataHasBeenSet() const
ImportSnapshotRequest & WithDescription(const Aws::String &value)
ImportSnapshotRequest & WithRoleName(const Aws::String &value)
void SetClientToken(const Aws::String &value)
ImportSnapshotRequest & WithKmsKeyId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ImportSnapshotRequest & AddTagSpecifications(const TagSpecification &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector