7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/VolumeType.h>
53 inline void SetDeleteOnTermination(
bool value) { m_deleteOnTerminationHasBeenSet =
true; m_deleteOnTermination = value; }
74 inline int GetIops()
const{
return m_iops; }
76 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
88 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
107 inline void SetVolumeSize(
int value) { m_volumeSizeHasBeenSet =
true; m_volumeSize = value; }
140 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
154 inline void SetThroughput(
int value) { m_throughputHasBeenSet =
true; m_throughput = value; }
168 inline void SetOutpostArn(
const char* value) { m_outpostArnHasBeenSet =
true; m_outpostArn.assign(value); }
211 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
216 bool m_deleteOnTermination;
217 bool m_deleteOnTerminationHasBeenSet =
false;
220 bool m_iopsHasBeenSet =
false;
223 bool m_snapshotIdHasBeenSet =
false;
226 bool m_volumeSizeHasBeenSet =
false;
229 bool m_volumeTypeHasBeenSet =
false;
232 bool m_kmsKeyIdHasBeenSet =
false;
235 bool m_throughputHasBeenSet =
false;
238 bool m_outpostArnHasBeenSet =
false;
241 bool m_encryptedHasBeenSet =
false;
EbsBlockDevice & WithIops(int value)
const Aws::String & GetSnapshotId() const
EbsBlockDevice & WithVolumeType(VolumeType &&value)
void SetEncrypted(bool value)
const Aws::String & GetKmsKeyId() const
void SetSnapshotId(const char *value)
EbsBlockDevice & WithVolumeType(const VolumeType &value)
void SetOutpostArn(Aws::String &&value)
bool KmsKeyIdHasBeenSet() const
void SetOutpostArn(const char *value)
void SetSnapshotId(const Aws::String &value)
EbsBlockDevice & WithSnapshotId(const char *value)
AWS_EC2_API EbsBlockDevice & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetVolumeType(VolumeType &&value)
bool ThroughputHasBeenSet() const
EbsBlockDevice & WithOutpostArn(const Aws::String &value)
EbsBlockDevice & WithEncrypted(bool value)
void SetKmsKeyId(const Aws::String &value)
EbsBlockDevice & WithKmsKeyId(const Aws::String &value)
void SetThroughput(int value)
const Aws::String & GetOutpostArn() const
bool GetDeleteOnTermination() const
EbsBlockDevice & WithOutpostArn(Aws::String &&value)
EbsBlockDevice & WithThroughput(int value)
const VolumeType & GetVolumeType() const
EbsBlockDevice & WithOutpostArn(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool GetEncrypted() const
bool SnapshotIdHasBeenSet() const
EbsBlockDevice & WithKmsKeyId(const char *value)
void SetSnapshotId(Aws::String &&value)
EbsBlockDevice & WithSnapshotId(const Aws::String &value)
bool IopsHasBeenSet() const
EbsBlockDevice & WithDeleteOnTermination(bool value)
EbsBlockDevice & WithKmsKeyId(Aws::String &&value)
int GetThroughput() const
bool OutpostArnHasBeenSet() const
bool VolumeSizeHasBeenSet() const
void SetVolumeSize(int value)
void SetKmsKeyId(Aws::String &&value)
bool VolumeTypeHasBeenSet() const
EbsBlockDevice & WithVolumeSize(int value)
bool EncryptedHasBeenSet() const
AWS_EC2_API EbsBlockDevice()
void SetVolumeType(const VolumeType &value)
EbsBlockDevice & WithSnapshotId(Aws::String &&value)
AWS_EC2_API EbsBlockDevice(const Aws::Utils::Xml::XmlNode &xmlNode)
bool DeleteOnTerminationHasBeenSet() const
void SetKmsKeyId(const char *value)
void SetDeleteOnTermination(bool value)
int GetVolumeSize() const
void SetOutpostArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream