7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/ClientData.h>
12#include <aws/ec2/model/SnapshotDiskContainer.h>
13#include <aws/ec2/model/TagSpecification.h>
45 template <
typename ClientDataT = ClientData>
47 m_clientDataHasBeenSet =
true;
48 m_clientData = std::forward<ClientDataT>(value);
50 template <
typename ClientDataT = ClientData>
63 template <
typename ClientTokenT = Aws::String>
65 m_clientTokenHasBeenSet =
true;
66 m_clientToken = std::forward<ClientTokenT>(value);
68 template <
typename ClientTokenT = Aws::String>
81 template <
typename DescriptionT = Aws::String>
83 m_descriptionHasBeenSet =
true;
84 m_description = std::forward<DescriptionT>(value);
86 template <
typename DescriptionT = Aws::String>
99 template <
typename DiskContainerT = SnapshotDiskContainer>
101 m_diskContainerHasBeenSet =
true;
102 m_diskContainer = std::forward<DiskContainerT>(value);
104 template <
typename DiskContainerT = SnapshotDiskContainer>
121 m_dryRunHasBeenSet =
true;
141 m_encryptedHasBeenSet =
true;
175 template <
typename KmsKeyIdT = Aws::String>
177 m_kmsKeyIdHasBeenSet =
true;
178 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
180 template <
typename KmsKeyIdT = Aws::String>
193 template <
typename RoleNameT = Aws::String>
195 m_roleNameHasBeenSet =
true;
196 m_roleName = std::forward<RoleNameT>(value);
198 template <
typename RoleNameT = Aws::String>
211 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
213 m_tagSpecificationsHasBeenSet =
true;
214 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
216 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
221 template <
typename TagSpecificationsT = TagSpecification>
223 m_tagSpecificationsHasBeenSet =
true;
224 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
237 bool m_dryRun{
false};
239 bool m_encrypted{
false};
246 bool m_clientDataHasBeenSet =
false;
247 bool m_clientTokenHasBeenSet =
false;
248 bool m_descriptionHasBeenSet =
false;
249 bool m_diskContainerHasBeenSet =
false;
250 bool m_dryRunHasBeenSet =
false;
251 bool m_encryptedHasBeenSet =
false;
252 bool m_kmsKeyIdHasBeenSet =
false;
253 bool m_roleNameHasBeenSet =
false;
254 bool m_tagSpecificationsHasBeenSet =
false;
bool TagSpecificationsHasBeenSet() const
void SetRoleName(RoleNameT &&value)
void SetDryRun(bool value)
bool RoleNameHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
bool DryRunHasBeenSet() const
void SetEncrypted(bool value)
bool KmsKeyIdHasBeenSet() const
const SnapshotDiskContainer & GetDiskContainer() const
ImportSnapshotRequest & WithKmsKeyId(KmsKeyIdT &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetDiskContainer(DiskContainerT &&value)
ImportSnapshotRequest & WithRoleName(RoleNameT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetClientToken() const
AWS_EC2_API ImportSnapshotRequest()=default
ImportSnapshotRequest & WithDescription(DescriptionT &&value)
bool GetEncrypted() const
ImportSnapshotRequest & WithEncrypted(bool value)
void SetTagSpecifications(TagSpecificationsT &&value)
const Aws::String & GetDescription() const
void SetClientData(ClientDataT &&value)
ImportSnapshotRequest & AddTagSpecifications(TagSpecificationsT &&value)
void SetDescription(DescriptionT &&value)
ImportSnapshotRequest & WithDryRun(bool value)
void SetKmsKeyId(KmsKeyIdT &&value)
ImportSnapshotRequest & WithTagSpecifications(TagSpecificationsT &&value)
bool ClientTokenHasBeenSet() const
const Aws::String & GetKmsKeyId() const
const Aws::String & GetRoleName() const
bool EncryptedHasBeenSet() const
bool DiskContainerHasBeenSet() const
ImportSnapshotRequest & WithDiskContainer(DiskContainerT &&value)
const ClientData & GetClientData() const
bool DescriptionHasBeenSet() const
bool ClientDataHasBeenSet() const
virtual const char * GetServiceRequestName() const override
ImportSnapshotRequest & WithClientToken(ClientTokenT &&value)
ImportSnapshotRequest & WithClientData(ClientDataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector