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>
49 template<
typename ClientDataT = ClientData>
50 void SetClientData(ClientDataT&& value) { m_clientDataHasBeenSet =
true; m_clientData = std::forward<ClientDataT>(value); }
51 template<
typename ClientDataT = ClientData>
61 template<
typename ClientTokenT = Aws::String>
62 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
63 template<
typename ClientTokenT = Aws::String>
73 template<
typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
75 template<
typename DescriptionT = Aws::String>
85 template<
typename DiskContainerT = SnapshotDiskContainer>
86 void SetDiskContainer(DiskContainerT&& value) { m_diskContainerHasBeenSet =
true; m_diskContainer = std::forward<DiskContainerT>(value); }
87 template<
typename DiskContainerT = SnapshotDiskContainer>
100 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
114 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
143 template<
typename KmsKeyIdT = Aws::String>
144 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
145 template<
typename KmsKeyIdT = Aws::String>
155 template<
typename RoleNameT = Aws::String>
156 void SetRoleName(RoleNameT&& value) { m_roleNameHasBeenSet =
true; m_roleName = std::forward<RoleNameT>(value); }
157 template<
typename RoleNameT = Aws::String>
167 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
168 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
169 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
171 template<
typename TagSpecificationsT = TagSpecification>
177 bool m_clientDataHasBeenSet =
false;
180 bool m_clientTokenHasBeenSet =
false;
183 bool m_descriptionHasBeenSet =
false;
186 bool m_diskContainerHasBeenSet =
false;
188 bool m_dryRun{
false};
189 bool m_dryRunHasBeenSet =
false;
191 bool m_encrypted{
false};
192 bool m_encryptedHasBeenSet =
false;
195 bool m_kmsKeyIdHasBeenSet =
false;
198 bool m_roleNameHasBeenSet =
false;
201 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