7#include <aws/rbin/RecycleBin_EXPORTS.h>
8#include <aws/rbin/model/RetentionPeriodUnit.h>
48 inline void SetRetentionPeriodValue(
int value) { m_retentionPeriodValueHasBeenSet =
true; m_retentionPeriodValue = value; }
66 int m_retentionPeriodValue;
67 bool m_retentionPeriodValueHasBeenSet =
false;
70 bool m_retentionPeriodUnitHasBeenSet =
false;
bool RetentionPeriodUnitHasBeenSet() const
RetentionPeriod & WithRetentionPeriodUnit(const RetentionPeriodUnit &value)
RetentionPeriod & WithRetentionPeriodUnit(RetentionPeriodUnit &&value)
void SetRetentionPeriodUnit(const RetentionPeriodUnit &value)
AWS_RECYCLEBIN_API RetentionPeriod(Aws::Utils::Json::JsonView jsonValue)
bool RetentionPeriodValueHasBeenSet() const
AWS_RECYCLEBIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRetentionPeriodUnit(RetentionPeriodUnit &&value)
void SetRetentionPeriodValue(int value)
RetentionPeriod & WithRetentionPeriodValue(int value)
const RetentionPeriodUnit & GetRetentionPeriodUnit() const
AWS_RECYCLEBIN_API RetentionPeriod & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RECYCLEBIN_API RetentionPeriod()
int GetRetentionPeriodValue() const
Aws::Utils::Json::JsonValue JsonValue