7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9#include <aws/imagebuilder/model/EbsVolumeType.h>
20namespace imagebuilder {
43 m_encryptedHasBeenSet =
true;
59 m_deleteOnTerminationHasBeenSet =
true;
60 m_deleteOnTermination = value;
72 inline int GetIops()
const {
return m_iops; }
75 m_iopsHasBeenSet =
true;
95 template <
typename KmsKeyIdT = Aws::String>
97 m_kmsKeyIdHasBeenSet =
true;
98 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
100 template <
typename KmsKeyIdT = Aws::String>
113 template <
typename SnapshotIdT = Aws::String>
115 m_snapshotIdHasBeenSet =
true;
116 m_snapshotId = std::forward<SnapshotIdT>(value);
118 template <
typename SnapshotIdT = Aws::String>
132 m_volumeSizeHasBeenSet =
true;
133 m_volumeSize = value;
148 m_volumeTypeHasBeenSet =
true;
149 m_volumeType = value;
165 m_throughputHasBeenSet =
true;
166 m_throughput = value;
174 bool m_encrypted{
false};
176 bool m_deleteOnTermination{
false};
189 bool m_encryptedHasBeenSet =
false;
190 bool m_deleteOnTerminationHasBeenSet =
false;
191 bool m_iopsHasBeenSet =
false;
192 bool m_kmsKeyIdHasBeenSet =
false;
193 bool m_snapshotIdHasBeenSet =
false;
194 bool m_volumeSizeHasBeenSet =
false;
195 bool m_volumeTypeHasBeenSet =
false;
196 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