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; }
67 inline int GetIops()
const{
return m_iops; }
69 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
82 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
96 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
108 inline void SetVolumeSize(
int value) { m_volumeSizeHasBeenSet =
true; m_volumeSize = value; }
130 inline void SetThroughput(
int value) { m_throughputHasBeenSet =
true; m_throughput = value; }
136 bool m_encryptedHasBeenSet =
false;
138 bool m_deleteOnTermination;
139 bool m_deleteOnTerminationHasBeenSet =
false;
142 bool m_iopsHasBeenSet =
false;
145 bool m_kmsKeyIdHasBeenSet =
false;
148 bool m_snapshotIdHasBeenSet =
false;
151 bool m_volumeSizeHasBeenSet =
false;
154 bool m_volumeTypeHasBeenSet =
false;
157 bool m_throughputHasBeenSet =
false;
LaunchTemplateEbsBlockDevice & WithVolumeSize(int value)
bool GetEncrypted() const
void SetThroughput(int value)
void SetSnapshotId(const char *value)
const Aws::String & GetKmsKeyId() const
void SetVolumeType(const VolumeType &value)
LaunchTemplateEbsBlockDevice & WithVolumeType(const VolumeType &value)
void SetVolumeType(VolumeType &&value)
int GetVolumeSize() const
LaunchTemplateEbsBlockDevice & WithSnapshotId(Aws::String &&value)
LaunchTemplateEbsBlockDevice & WithThroughput(int value)
void SetSnapshotId(const Aws::String &value)
bool SnapshotIdHasBeenSet() const
bool GetDeleteOnTermination() const
LaunchTemplateEbsBlockDevice & WithDeleteOnTermination(bool value)
bool KmsKeyIdHasBeenSet() const
void SetKmsKeyId(const char *value)
bool VolumeSizeHasBeenSet() const
int GetThroughput() const
void SetKmsKeyId(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool DeleteOnTerminationHasBeenSet() const
LaunchTemplateEbsBlockDevice & WithSnapshotId(const Aws::String &value)
LaunchTemplateEbsBlockDevice & WithKmsKeyId(const char *value)
AWS_EC2_API LaunchTemplateEbsBlockDevice(const Aws::Utils::Xml::XmlNode &xmlNode)
bool IopsHasBeenSet() const
void SetEncrypted(bool value)
void SetKmsKeyId(Aws::String &&value)
LaunchTemplateEbsBlockDevice & WithKmsKeyId(Aws::String &&value)
bool ThroughputHasBeenSet() const
void SetDeleteOnTermination(bool value)
LaunchTemplateEbsBlockDevice & WithVolumeType(VolumeType &&value)
AWS_EC2_API LaunchTemplateEbsBlockDevice & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const VolumeType & GetVolumeType() const
LaunchTemplateEbsBlockDevice & WithSnapshotId(const char *value)
LaunchTemplateEbsBlockDevice & WithIops(int value)
AWS_EC2_API LaunchTemplateEbsBlockDevice()
bool VolumeTypeHasBeenSet() const
const Aws::String & GetSnapshotId() const
void SetVolumeSize(int value)
bool EncryptedHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
LaunchTemplateEbsBlockDevice & WithKmsKeyId(const Aws::String &value)
LaunchTemplateEbsBlockDevice & WithEncrypted(bool value)
void SetSnapshotId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream