7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/workspaces-instances/WorkspacesInstances_EXPORTS.h>
9#include <aws/workspaces-instances/model/VolumeTypeEnum.h>
20namespace WorkspacesInstances {
43 m_volumeTypeHasBeenSet =
true;
59 m_encryptedHasBeenSet =
true;
74 template <
typename KmsKeyIdT = Aws::String>
76 m_kmsKeyIdHasBeenSet =
true;
77 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
79 template <
typename KmsKeyIdT = Aws::String>
90 inline int GetIops()
const {
return m_iops; }
93 m_iopsHasBeenSet =
true;
109 m_throughputHasBeenSet =
true;
110 m_throughput = value;
125 m_volumeSizeHasBeenSet =
true;
126 m_volumeSize = value;
136 bool m_encrypted{
false};
145 bool m_volumeTypeHasBeenSet =
false;
146 bool m_encryptedHasBeenSet =
false;
147 bool m_kmsKeyIdHasBeenSet =
false;
148 bool m_iopsHasBeenSet =
false;
149 bool m_throughputHasBeenSet =
false;
150 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