7#include <aws/crt/cbor/Cbor.h>
8#include <aws/keyspaces/Keyspaces_EXPORTS.h>
9#include <aws/keyspaces/model/ThroughputMode.h>
39 AWS_KEYSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
55 m_throughputModeHasBeenSet =
true;
56 m_throughputMode = value;
72 m_readCapacityUnitsHasBeenSet =
true;
73 m_readCapacityUnits = value;
89 m_writeCapacityUnitsHasBeenSet =
true;
90 m_writeCapacityUnits = value;
100 long long m_readCapacityUnits{0};
102 long long m_writeCapacityUnits{0};
103 bool m_throughputModeHasBeenSet =
false;
104 bool m_readCapacityUnitsHasBeenSet =
false;
105 bool m_writeCapacityUnitsHasBeenSet =
false;
bool ThroughputModeHasBeenSet() const
bool WriteCapacityUnitsHasBeenSet() const
CapacitySpecification & WithWriteCapacityUnits(long long value)
AWS_KEYSPACES_API CapacitySpecification()=default
AWS_KEYSPACES_API CapacitySpecification(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetThroughputMode(ThroughputMode value)
bool ReadCapacityUnitsHasBeenSet() const
long long GetReadCapacityUnits() const
CapacitySpecification & WithThroughputMode(ThroughputMode value)
ThroughputMode GetThroughputMode() const
void SetWriteCapacityUnits(long long value)
void SetReadCapacityUnits(long long value)
AWS_KEYSPACES_API CapacitySpecification & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
CapacitySpecification & WithReadCapacityUnits(long long value)
AWS_KEYSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
long long GetWriteCapacityUnits() const