7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/workspaces-instances/WorkspacesInstances_EXPORTS.h>
10#include <aws/workspaces-instances/model/VolumeTypeEnum.h>
20namespace WorkspacesInstances {
32 AWS_WORKSPACESINSTANCES_API
EbsBlockDevice(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_WORKSPACESINSTANCES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
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 int64_t
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};
142 int64_t m_throughput{0};
144 int64_t m_volumeSize{0};
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;
void SetIops(int64_t value)
bool ThroughputHasBeenSet() const
EbsBlockDevice & WithIops(int64_t value)
bool EncryptedHasBeenSet() const
EbsBlockDevice & WithVolumeSize(int64_t value)
bool IopsHasBeenSet() const
void SetVolumeType(VolumeTypeEnum value)
void SetEncrypted(bool value)
bool VolumeTypeHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
AWS_WORKSPACESINSTANCES_API EbsBlockDevice()=default
int64_t GetThroughput() const
bool KmsKeyIdHasBeenSet() const
bool GetEncrypted() const
AWS_WORKSPACESINSTANCES_API EbsBlockDevice & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool VolumeSizeHasBeenSet() const
EbsBlockDevice & WithVolumeType(VolumeTypeEnum value)
int64_t GetVolumeSize() const
EbsBlockDevice & WithThroughput(int64_t value)
VolumeTypeEnum GetVolumeType() const
void SetThroughput(int64_t value)
EbsBlockDevice & WithEncrypted(bool value)
EbsBlockDevice & WithKmsKeyId(KmsKeyIdT &&value)
void SetVolumeSize(int64_t value)
AWS_WORKSPACESINSTANCES_API EbsBlockDevice(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetKmsKeyId() const
AWS_WORKSPACESINSTANCES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String