7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/VolumeType.h>
48 m_deleteOnTerminationHasBeenSet =
true;
49 m_deleteOnTermination = value;
74 inline int GetIops()
const {
return m_iops; }
77 m_iopsHasBeenSet =
true;
92 template <
typename SnapshotIdT = Aws::String>
94 m_snapshotIdHasBeenSet =
true;
95 m_snapshotId = std::forward<SnapshotIdT>(value);
97 template <
typename SnapshotIdT = Aws::String>
119 m_volumeSizeHasBeenSet =
true;
120 m_volumeSize = value;
137 m_volumeTypeHasBeenSet =
true;
138 m_volumeType = value;
159 template <
typename KmsKeyIdT = Aws::String>
161 m_kmsKeyIdHasBeenSet =
true;
162 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
164 template <
typename KmsKeyIdT = Aws::String>
180 m_throughputHasBeenSet =
true;
181 m_throughput = value;
197 template <
typename OutpostArnT = Aws::String>
199 m_outpostArnHasBeenSet =
true;
200 m_outpostArn = std::forward<OutpostArnT>(value);
202 template <
typename OutpostArnT = Aws::String>
230 template <
typename AvailabilityZoneT = Aws::String>
232 m_availabilityZoneHasBeenSet =
true;
233 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
235 template <
typename AvailabilityZoneT = Aws::String>
280 m_encryptedHasBeenSet =
true;
316 m_volumeInitializationRateHasBeenSet =
true;
317 m_volumeInitializationRate = value;
346 template <
typename AvailabilityZoneIdT = Aws::String>
348 m_availabilityZoneIdHasBeenSet =
true;
349 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
351 template <
typename AvailabilityZoneIdT = Aws::String>
358 bool m_deleteOnTermination{
false};
376 bool m_encrypted{
false};
378 int m_volumeInitializationRate{0};
381 bool m_deleteOnTerminationHasBeenSet =
false;
382 bool m_iopsHasBeenSet =
false;
383 bool m_snapshotIdHasBeenSet =
false;
384 bool m_volumeSizeHasBeenSet =
false;
385 bool m_volumeTypeHasBeenSet =
false;
386 bool m_kmsKeyIdHasBeenSet =
false;
387 bool m_throughputHasBeenSet =
false;
388 bool m_outpostArnHasBeenSet =
false;
389 bool m_availabilityZoneHasBeenSet =
false;
390 bool m_encryptedHasBeenSet =
false;
391 bool m_volumeInitializationRateHasBeenSet =
false;
392 bool m_availabilityZoneIdHasBeenSet =
false;
EbsBlockDevice & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
EbsBlockDevice & WithIops(int value)
const Aws::String & GetSnapshotId() const
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
void SetVolumeType(VolumeType value)
void SetEncrypted(bool value)
const Aws::String & GetKmsKeyId() const
bool AvailabilityZoneHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
EbsBlockDevice & WithSnapshotId(SnapshotIdT &&value)
AWS_EC2_API EbsBlockDevice & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool VolumeInitializationRateHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetOutpostArn(OutpostArnT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
bool ThroughputHasBeenSet() const
EbsBlockDevice & WithEncrypted(bool value)
void SetThroughput(int value)
const Aws::String & GetOutpostArn() const
void SetSnapshotId(SnapshotIdT &&value)
VolumeType GetVolumeType() const
bool GetDeleteOnTermination() const
EbsBlockDevice & WithThroughput(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetVolumeInitializationRate(int value)
bool GetEncrypted() const
bool SnapshotIdHasBeenSet() const
EbsBlockDevice & WithOutpostArn(OutpostArnT &&value)
EbsBlockDevice & WithVolumeType(VolumeType value)
const Aws::String & GetAvailabilityZone() const
int GetVolumeInitializationRate() const
bool IopsHasBeenSet() const
EbsBlockDevice & WithDeleteOnTermination(bool value)
int GetThroughput() const
bool OutpostArnHasBeenSet() const
bool VolumeSizeHasBeenSet() const
void SetVolumeSize(int value)
EbsBlockDevice & WithAvailabilityZone(AvailabilityZoneT &&value)
AWS_EC2_API EbsBlockDevice()=default
const Aws::String & GetAvailabilityZoneId() const
bool VolumeTypeHasBeenSet() const
EbsBlockDevice & WithVolumeSize(int value)
bool EncryptedHasBeenSet() const
AWS_EC2_API EbsBlockDevice(const Aws::Utils::Xml::XmlNode &xmlNode)
bool DeleteOnTerminationHasBeenSet() const
bool AvailabilityZoneIdHasBeenSet() const
EbsBlockDevice & WithKmsKeyId(KmsKeyIdT &&value)
void SetDeleteOnTermination(bool value)
int GetVolumeSize() const
EbsBlockDevice & WithVolumeInitializationRate(int value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream