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; }
73 inline void SetServiceSize(
int value) { m_serviceSizeHasBeenSet =
true; m_serviceSize = value; }
87 inline void SetFaultTolerance(
int value) { m_faultToleranceHasBeenSet =
true; m_faultTolerance = value; }
92 double m_storageLimit{0.0};
93 bool m_storageLimitHasBeenSet =
false;
96 bool m_storageUnitHasBeenSet =
false;
99 bool m_serviceSizeHasBeenSet =
false;
101 int m_faultTolerance{0};
102 bool m_faultToleranceHasBeenSet =
false;
int GetFaultTolerance() const
bool StorageLimitHasBeenSet() const
AWS_SNOWBALL_API S3OnDeviceServiceConfiguration()=default
bool StorageUnitHasBeenSet() const
StorageUnit GetStorageUnit() const
void SetStorageUnit(StorageUnit value)
bool ServiceSizeHasBeenSet() const
S3OnDeviceServiceConfiguration & WithStorageUnit(StorageUnit value)
S3OnDeviceServiceConfiguration & WithFaultTolerance(int value)
int GetServiceSize() const
void SetFaultTolerance(int value)
S3OnDeviceServiceConfiguration & WithStorageLimit(double value)
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)
Aws::Utils::Json::JsonValue JsonValue