7#include <aws/workspaces-instances/WorkspacesInstances_EXPORTS.h>
8#include <aws/workspaces-instances/model/VolumeTypeEnum.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace WorkspacesInstances
58 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
68 template<
typename KmsKeyIdT = Aws::String>
69 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
70 template<
typename KmsKeyIdT = Aws::String>
78 inline int GetIops()
const {
return m_iops; }
80 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
90 inline void SetThroughput(
int value) { m_throughputHasBeenSet =
true; m_throughput = value; }
100 inline void SetVolumeSize(
int value) { m_volumeSizeHasBeenSet =
true; m_volumeSize = value; }
106 bool m_volumeTypeHasBeenSet =
false;
108 bool m_encrypted{
false};
109 bool m_encryptedHasBeenSet =
false;
112 bool m_kmsKeyIdHasBeenSet =
false;
115 bool m_iopsHasBeenSet =
false;
118 bool m_throughputHasBeenSet =
false;
121 bool m_volumeSizeHasBeenSet =
false;
AWS_WORKSPACESINSTANCES_API EbsBlockDevice(Aws::Utils::Json::JsonView jsonValue)
void SetThroughput(int value)
AWS_WORKSPACESINSTANCES_API EbsBlockDevice & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ThroughputHasBeenSet() const
int GetThroughput() const
bool EncryptedHasBeenSet() const
int GetVolumeSize() const
bool IopsHasBeenSet() const
void SetVolumeType(VolumeTypeEnum value)
void SetEncrypted(bool value)
bool VolumeTypeHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
AWS_WORKSPACESINSTANCES_API EbsBlockDevice()=default
bool KmsKeyIdHasBeenSet() const
bool GetEncrypted() const
bool VolumeSizeHasBeenSet() const
EbsBlockDevice & WithIops(int value)
EbsBlockDevice & WithVolumeType(VolumeTypeEnum value)
void SetVolumeSize(int value)
EbsBlockDevice & WithThroughput(int value)
VolumeTypeEnum GetVolumeType() const
EbsBlockDevice & WithEncrypted(bool value)
EbsBlockDevice & WithVolumeSize(int value)
AWS_WORKSPACESINSTANCES_API Aws::Utils::Json::JsonValue Jsonize() const
EbsBlockDevice & WithKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetKmsKeyId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue