7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2Request.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/TagSpecification.h>
13#include <aws/ec2/model/VolumeType.h>
45 template <
typename SourceVolumeIdT = Aws::String>
47 m_sourceVolumeIdHasBeenSet =
true;
48 m_sourceVolumeId = std::forward<SourceVolumeIdT>(value);
50 template <
typename SourceVolumeIdT = Aws::String>
70 inline int GetIops()
const {
return m_iops; }
73 m_iopsHasBeenSet =
true;
92 inline int GetSize()
const {
return m_size; }
95 m_sizeHasBeenSet =
true;
112 m_volumeTypeHasBeenSet =
true;
113 m_volumeType = value;
131 m_dryRunHasBeenSet =
true;
146 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
148 m_tagSpecificationsHasBeenSet =
true;
149 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
151 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
156 template <
typename TagSpecificationsT = TagSpecification>
158 m_tagSpecificationsHasBeenSet =
true;
159 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
176 m_multiAttachEnabledHasBeenSet =
true;
177 m_multiAttachEnabled = value;
195 m_throughputHasBeenSet =
true;
196 m_throughput = value;
213 template <
typename ClientTokenT = Aws::String>
215 m_clientTokenHasBeenSet =
true;
216 m_clientToken = std::forward<ClientTokenT>(value);
218 template <
typename ClientTokenT = Aws::String>
233 bool m_dryRun{
false};
237 bool m_multiAttachEnabled{
false};
242 bool m_sourceVolumeIdHasBeenSet =
false;
243 bool m_iopsHasBeenSet =
false;
244 bool m_sizeHasBeenSet =
false;
245 bool m_volumeTypeHasBeenSet =
false;
246 bool m_dryRunHasBeenSet =
false;
247 bool m_tagSpecificationsHasBeenSet =
false;
248 bool m_multiAttachEnabledHasBeenSet =
false;
249 bool m_throughputHasBeenSet =
false;
250 bool m_clientTokenHasBeenSet =
true;
bool MultiAttachEnabledHasBeenSet() const
bool DryRunHasBeenSet() const
VolumeType GetVolumeType() const
AWS_EC2_API CopyVolumesRequest()=default
void SetDryRun(bool value)
bool ThroughputHasBeenSet() const
void SetTagSpecifications(TagSpecificationsT &&value)
bool SizeHasBeenSet() const
CopyVolumesRequest & WithDryRun(bool value)
const Aws::String & GetClientToken() const
CopyVolumesRequest & AddTagSpecifications(TagSpecificationsT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool SourceVolumeIdHasBeenSet() const
CopyVolumesRequest & WithSourceVolumeId(SourceVolumeIdT &&value)
CopyVolumesRequest & WithVolumeType(VolumeType value)
void SetSourceVolumeId(SourceVolumeIdT &&value)
CopyVolumesRequest & WithIops(int value)
void SetMultiAttachEnabled(bool value)
const Aws::String & GetSourceVolumeId() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CopyVolumesRequest & WithThroughput(int value)
void SetClientToken(ClientTokenT &&value)
CopyVolumesRequest & WithClientToken(ClientTokenT &&value)
CopyVolumesRequest & WithSize(int value)
bool GetMultiAttachEnabled() const
int GetThroughput() const
bool TagSpecificationsHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
void SetVolumeType(VolumeType value)
virtual const char * GetServiceRequestName() const override
bool ClientTokenHasBeenSet() const
bool IopsHasBeenSet() const
bool VolumeTypeHasBeenSet() const
CopyVolumesRequest & WithMultiAttachEnabled(bool value)
CopyVolumesRequest & WithTagSpecifications(TagSpecificationsT &&value)
void SetThroughput(int value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector