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>
49 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
59 inline void SetDeleteOnTermination(
bool value) { m_deleteOnTerminationHasBeenSet =
true; m_deleteOnTermination = value; }
71 inline int GetIops()
const {
return m_iops; }
73 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
83 inline void SetThroughput(
int value) { m_throughputHasBeenSet =
true; m_throughput = value; }
94 template<
typename KmsKeyIdT = Aws::String>
95 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
96 template<
typename KmsKeyIdT = Aws::String>
106 template<
typename SnapshotIdT = Aws::String>
107 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet =
true; m_snapshotId = std::forward<SnapshotIdT>(value); }
108 template<
typename SnapshotIdT = Aws::String>
118 inline void SetVolumeSize(
int value) { m_volumeSizeHasBeenSet =
true; m_volumeSize = value; }
135 bool m_encrypted{
false};
136 bool m_encryptedHasBeenSet =
false;
138 bool m_deleteOnTermination{
false};
139 bool m_deleteOnTerminationHasBeenSet =
false;
142 bool m_iopsHasBeenSet =
false;
145 bool m_throughputHasBeenSet =
false;
148 bool m_kmsKeyIdHasBeenSet =
false;
151 bool m_snapshotIdHasBeenSet =
false;
154 bool m_volumeSizeHasBeenSet =
false;
157 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