7#include <aws/crt/cbor/Cbor.h>
8#include <aws/snowball/Snowball_EXPORTS.h>
9#include <aws/snowball/model/StorageUnit.h>
33 AWS_SNOWBALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
46 m_storageLimitHasBeenSet =
true;
47 m_storageLimit = value;
62 m_storageUnitHasBeenSet =
true;
63 m_storageUnit = value;
80 m_serviceSizeHasBeenSet =
true;
81 m_serviceSize = value;
100 m_faultToleranceHasBeenSet =
true;
101 m_faultTolerance = value;
109 double m_storageLimit{0.0};
113 int64_t m_serviceSize{0};
115 int64_t m_faultTolerance{0};
116 bool m_storageLimitHasBeenSet =
false;
117 bool m_storageUnitHasBeenSet =
false;
118 bool m_serviceSizeHasBeenSet =
false;
119 bool m_faultToleranceHasBeenSet =
false;
S3OnDeviceServiceConfiguration & WithServiceSize(int64_t value)
int64_t GetFaultTolerance() const
bool StorageLimitHasBeenSet() const
AWS_SNOWBALL_API S3OnDeviceServiceConfiguration()=default
bool StorageUnitHasBeenSet() const
StorageUnit GetStorageUnit() const
void SetStorageUnit(StorageUnit value)
S3OnDeviceServiceConfiguration & WithFaultTolerance(int64_t value)
bool ServiceSizeHasBeenSet() const
S3OnDeviceServiceConfiguration & WithStorageUnit(StorageUnit value)
S3OnDeviceServiceConfiguration & WithStorageLimit(double value)
void SetFaultTolerance(int64_t value)
AWS_SNOWBALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_SNOWBALL_API S3OnDeviceServiceConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
int64_t GetServiceSize() const
void SetStorageLimit(double value)
bool FaultToleranceHasBeenSet() const
double GetStorageLimit() const
AWS_SNOWBALL_API S3OnDeviceServiceConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetServiceSize(int64_t value)