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; }
78 template<
typename KmsKeyIdT = Aws::String>
79 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
80 template<
typename KmsKeyIdT = Aws::String>
90 template<
typename SnapshotIdT = Aws::String>
91 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet =
true; m_snapshotId = std::forward<SnapshotIdT>(value); }
92 template<
typename SnapshotIdT = Aws::String>
102 inline void SetVolumeSize(
int value) { m_volumeSizeHasBeenSet =
true; m_volumeSize = value; }
123 inline void SetThroughput(
int value) { m_throughputHasBeenSet =
true; m_throughput = value; }
128 bool m_encrypted{
false};
129 bool m_encryptedHasBeenSet =
false;
131 bool m_deleteOnTermination{
false};
132 bool m_deleteOnTerminationHasBeenSet =
false;
135 bool m_iopsHasBeenSet =
false;
138 bool m_kmsKeyIdHasBeenSet =
false;
141 bool m_snapshotIdHasBeenSet =
false;
144 bool m_volumeSizeHasBeenSet =
false;
147 bool m_volumeTypeHasBeenSet =
false;
150 bool m_throughputHasBeenSet =
false;
EbsVolumeType GetVolumeType() const
bool SnapshotIdHasBeenSet() const
AWS_IMAGEBUILDER_API EbsInstanceBlockDeviceSpecification(Aws::Utils::Json::JsonView jsonValue)
void SetEncrypted(bool value)
EbsInstanceBlockDeviceSpecification & WithSnapshotId(SnapshotIdT &&value)
EbsInstanceBlockDeviceSpecification & WithKmsKeyId(KmsKeyIdT &&value)
EbsInstanceBlockDeviceSpecification & WithVolumeSize(int value)
EbsInstanceBlockDeviceSpecification & WithIops(int value)
bool DeleteOnTerminationHasBeenSet() const
bool GetEncrypted() const
AWS_IMAGEBUILDER_API EbsInstanceBlockDeviceSpecification()=default
const Aws::String & GetKmsKeyId() const
int GetThroughput() const
void SetDeleteOnTermination(bool value)
EbsInstanceBlockDeviceSpecification & WithEncrypted(bool value)
bool EncryptedHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
int GetVolumeSize() const
void SetVolumeSize(int value)
bool ThroughputHasBeenSet() const
void SetVolumeType(EbsVolumeType value)
bool GetDeleteOnTermination() const
EbsInstanceBlockDeviceSpecification & WithDeleteOnTermination(bool value)
void SetSnapshotId(SnapshotIdT &&value)
EbsInstanceBlockDeviceSpecification & WithVolumeType(EbsVolumeType value)
EbsInstanceBlockDeviceSpecification & WithThroughput(int value)
void SetThroughput(int value)
void SetKmsKeyId(KmsKeyIdT &&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