7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/EbsVolumeType.h>
48 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
58 inline void SetDeleteOnTermination(
bool value) { m_deleteOnTerminationHasBeenSet =
true; m_deleteOnTermination = value; }
66 inline int GetIops()
const{
return m_iops; }
68 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
80 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
94 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
106 inline void SetVolumeSize(
int value) { m_volumeSizeHasBeenSet =
true; m_volumeSize = value; }
129 inline void SetThroughput(
int value) { m_throughputHasBeenSet =
true; m_throughput = value; }
135 bool m_encryptedHasBeenSet =
false;
137 bool m_deleteOnTermination;
138 bool m_deleteOnTerminationHasBeenSet =
false;
141 bool m_iopsHasBeenSet =
false;
144 bool m_kmsKeyIdHasBeenSet =
false;
147 bool m_snapshotIdHasBeenSet =
false;
150 bool m_volumeSizeHasBeenSet =
false;
153 bool m_volumeTypeHasBeenSet =
false;
156 bool m_throughputHasBeenSet =
false;
EbsInstanceBlockDeviceSpecification & WithKmsKeyId(const Aws::String &value)
void SetSnapshotId(const Aws::String &value)
EbsInstanceBlockDeviceSpecification & WithKmsKeyId(Aws::String &&value)
bool SnapshotIdHasBeenSet() const
EbsInstanceBlockDeviceSpecification & WithSnapshotId(Aws::String &&value)
AWS_IMAGEBUILDER_API EbsInstanceBlockDeviceSpecification(Aws::Utils::Json::JsonView jsonValue)
void SetEncrypted(bool value)
EbsInstanceBlockDeviceSpecification & WithVolumeSize(int value)
EbsInstanceBlockDeviceSpecification & WithSnapshotId(const char *value)
EbsInstanceBlockDeviceSpecification & WithIops(int value)
bool DeleteOnTerminationHasBeenSet() const
bool GetEncrypted() const
const EbsVolumeType & GetVolumeType() const
const Aws::String & GetKmsKeyId() const
int GetThroughput() const
EbsInstanceBlockDeviceSpecification & WithVolumeType(EbsVolumeType &&value)
void SetDeleteOnTermination(bool value)
void SetSnapshotId(Aws::String &&value)
EbsInstanceBlockDeviceSpecification & WithEncrypted(bool value)
bool EncryptedHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKmsKeyId(const char *value)
int GetVolumeSize() const
AWS_IMAGEBUILDER_API EbsInstanceBlockDeviceSpecification()
void SetVolumeSize(int value)
void SetVolumeType(EbsVolumeType &&value)
void SetKmsKeyId(Aws::String &&value)
bool ThroughputHasBeenSet() const
EbsInstanceBlockDeviceSpecification & WithSnapshotId(const Aws::String &value)
void SetSnapshotId(const char *value)
void SetVolumeType(const EbsVolumeType &value)
bool GetDeleteOnTermination() const
EbsInstanceBlockDeviceSpecification & WithVolumeType(const EbsVolumeType &value)
EbsInstanceBlockDeviceSpecification & WithDeleteOnTermination(bool value)
EbsInstanceBlockDeviceSpecification & WithKmsKeyId(const char *value)
void SetKmsKeyId(const Aws::String &value)
EbsInstanceBlockDeviceSpecification & WithThroughput(int value)
void SetThroughput(int value)
bool KmsKeyIdHasBeenSet() const
bool VolumeTypeHasBeenSet() const
const Aws::String & GetSnapshotId() const
bool IopsHasBeenSet() const
AWS_IMAGEBUILDER_API EbsInstanceBlockDeviceSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
bool VolumeSizeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue