7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/snowball/model/StorageUnit.h>
51 inline void SetStorageLimit(
double value) { m_storageLimitHasBeenSet =
true; m_storageLimit = value; }
75 inline void SetServiceSize(
int value) { m_serviceSizeHasBeenSet =
true; m_serviceSize = value; }
89 inline void SetFaultTolerance(
int value) { m_faultToleranceHasBeenSet =
true; m_faultTolerance = value; }
94 double m_storageLimit;
95 bool m_storageLimitHasBeenSet =
false;
98 bool m_storageUnitHasBeenSet =
false;
101 bool m_serviceSizeHasBeenSet =
false;
103 int m_faultTolerance;
104 bool m_faultToleranceHasBeenSet =
false;
void SetStorageUnit(StorageUnit &&value)
S3OnDeviceServiceConfiguration & WithStorageUnit(StorageUnit &&value)
int GetFaultTolerance() const
bool StorageLimitHasBeenSet() const
bool StorageUnitHasBeenSet() const
const StorageUnit & GetStorageUnit() const
bool ServiceSizeHasBeenSet() const
S3OnDeviceServiceConfiguration & WithStorageUnit(const StorageUnit &value)
S3OnDeviceServiceConfiguration & WithFaultTolerance(int value)
int GetServiceSize() const
void SetFaultTolerance(int value)
S3OnDeviceServiceConfiguration & WithStorageLimit(double value)
AWS_SNOWBALL_API S3OnDeviceServiceConfiguration()
AWS_SNOWBALL_API S3OnDeviceServiceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SNOWBALL_API S3OnDeviceServiceConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetServiceSize(int value)
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStorageLimit(double value)
bool FaultToleranceHasBeenSet() const
double GetStorageLimit() const
S3OnDeviceServiceConfiguration & WithServiceSize(int value)
void SetStorageUnit(const StorageUnit &value)
Aws::Utils::Json::JsonValue JsonValue