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>
52 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
62 inline void SetDeleteOnTermination(
bool value) { m_deleteOnTerminationHasBeenSet =
true; m_deleteOnTermination = value; }
82 inline int GetIops()
const{
return m_iops; }
84 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
97 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
111 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
129 inline void SetVolumeSize(
int value) { m_volumeSizeHasBeenSet =
true; m_volumeSize = value; }
155 inline void SetThroughput(
int value) { m_throughputHasBeenSet =
true; m_throughput = value; }
161 bool m_encryptedHasBeenSet =
false;
163 bool m_deleteOnTermination;
164 bool m_deleteOnTerminationHasBeenSet =
false;
167 bool m_iopsHasBeenSet =
false;
170 bool m_kmsKeyIdHasBeenSet =
false;
173 bool m_snapshotIdHasBeenSet =
false;
176 bool m_volumeSizeHasBeenSet =
false;
179 bool m_volumeTypeHasBeenSet =
false;
182 bool m_throughputHasBeenSet =
false;
bool DeleteOnTerminationHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
LaunchTemplateEbsBlockDeviceRequest & WithIops(int value)
void SetVolumeType(VolumeType &&value)
void SetVolumeSize(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
LaunchTemplateEbsBlockDeviceRequest & WithDeleteOnTermination(bool value)
LaunchTemplateEbsBlockDeviceRequest & WithEncrypted(bool value)
bool EncryptedHasBeenSet() const
AWS_EC2_API LaunchTemplateEbsBlockDeviceRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSnapshotId(const Aws::String &value)
void SetKmsKeyId(const Aws::String &value)
void SetSnapshotId(const char *value)
LaunchTemplateEbsBlockDeviceRequest & WithSnapshotId(Aws::String &&value)
AWS_EC2_API LaunchTemplateEbsBlockDeviceRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetSnapshotId() const
void SetEncrypted(bool value)
bool SnapshotIdHasBeenSet() const
LaunchTemplateEbsBlockDeviceRequest & WithSnapshotId(const Aws::String &value)
LaunchTemplateEbsBlockDeviceRequest & WithSnapshotId(const char *value)
int GetVolumeSize() const
const Aws::String & GetKmsKeyId() const
int GetThroughput() const
LaunchTemplateEbsBlockDeviceRequest & WithKmsKeyId(Aws::String &&value)
bool VolumeSizeHasBeenSet() const
LaunchTemplateEbsBlockDeviceRequest & WithVolumeType(const VolumeType &value)
LaunchTemplateEbsBlockDeviceRequest & WithVolumeType(VolumeType &&value)
void SetKmsKeyId(Aws::String &&value)
bool ThroughputHasBeenSet() const
bool VolumeTypeHasBeenSet() const
AWS_EC2_API LaunchTemplateEbsBlockDeviceRequest()
void SetKmsKeyId(const char *value)
LaunchTemplateEbsBlockDeviceRequest & WithThroughput(int value)
LaunchTemplateEbsBlockDeviceRequest & WithKmsKeyId(const Aws::String &value)
void SetVolumeType(const VolumeType &value)
LaunchTemplateEbsBlockDeviceRequest & WithVolumeSize(int value)
bool IopsHasBeenSet() const
void SetDeleteOnTermination(bool value)
const VolumeType & GetVolumeType() const
bool GetEncrypted() const
void SetSnapshotId(Aws::String &&value)
void SetThroughput(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool GetDeleteOnTermination() const
LaunchTemplateEbsBlockDeviceRequest & WithKmsKeyId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream