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>
44 m_encryptedHasBeenSet =
true;
60 m_deleteOnTerminationHasBeenSet =
true;
61 m_deleteOnTermination = value;
77 inline int GetIops()
const {
return m_iops; }
80 m_iopsHasBeenSet =
true;
96 m_throughputHasBeenSet =
true;
112 template <
typename KmsKeyIdT = Aws::String>
114 m_kmsKeyIdHasBeenSet =
true;
115 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
117 template <
typename KmsKeyIdT = Aws::String>
130 template <
typename SnapshotIdT = Aws::String>
132 m_snapshotIdHasBeenSet =
true;
133 m_snapshotId = std::forward<SnapshotIdT>(value);
135 template <
typename SnapshotIdT = Aws::String>
149 m_volumeSizeHasBeenSet =
true;
150 m_volumeSize = value;
167 m_volumeTypeHasBeenSet =
true;
168 m_volumeType = value;
176 bool m_encrypted{
false};
178 bool m_deleteOnTermination{
false};
191 bool m_encryptedHasBeenSet =
false;
192 bool m_deleteOnTerminationHasBeenSet =
false;
193 bool m_iopsHasBeenSet =
false;
194 bool m_throughputHasBeenSet =
false;
195 bool m_kmsKeyIdHasBeenSet =
false;
196 bool m_snapshotIdHasBeenSet =
false;
197 bool m_volumeSizeHasBeenSet =
false;
198 bool m_volumeTypeHasBeenSet =
false;
bool EncryptedHasBeenSet() const
EbsBlockDeviceResponse & WithKmsKeyId(KmsKeyIdT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
EbsBlockDeviceResponse & WithSnapshotId(SnapshotIdT &&value)
bool SnapshotIdHasBeenSet() const
void SetVolumeSize(int value)
void SetSnapshotId(SnapshotIdT &&value)
int GetVolumeSize() const
void SetThroughput(int value)
bool ThroughputHasBeenSet() const
bool IopsHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
EbsBlockDeviceResponse & WithEncrypted(bool value)
EbsBlockDeviceResponse & WithIops(int value)
AWS_EC2_API EbsBlockDeviceResponse & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool VolumeSizeHasBeenSet() const
AWS_EC2_API EbsBlockDeviceResponse()=default
const Aws::String & GetKmsKeyId() const
void SetEncrypted(bool value)
VolumeType GetVolumeType() const
EbsBlockDeviceResponse & WithThroughput(int value)
bool GetEncrypted() const
int GetThroughput() const
const Aws::String & GetSnapshotId() const
AWS_EC2_API EbsBlockDeviceResponse(const Aws::Utils::Xml::XmlNode &xmlNode)
EbsBlockDeviceResponse & WithVolumeSize(int value)
void SetDeleteOnTermination(bool value)
bool DeleteOnTerminationHasBeenSet() const
EbsBlockDeviceResponse & WithDeleteOnTermination(bool value)
EbsBlockDeviceResponse & WithVolumeType(VolumeType value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool VolumeTypeHasBeenSet() const
bool GetDeleteOnTermination() const
void SetVolumeType(VolumeType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream