7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/dlm/model/RetentionIntervalUnitValues.h>
82 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
93 inline void SetInterval(
int value) { m_intervalHasBeenSet =
true; m_interval = value; }
116 bool m_countHasBeenSet =
false;
119 bool m_intervalHasBeenSet =
false;
122 bool m_intervalUnitHasBeenSet =
false;
bool IntervalUnitHasBeenSet() const
void SetIntervalUnit(const RetentionIntervalUnitValues &value)
RetainRule & WithCount(int value)
const RetentionIntervalUnitValues & GetIntervalUnit() const
RetainRule & WithInterval(int value)
void SetIntervalUnit(RetentionIntervalUnitValues &&value)
AWS_DLM_API RetainRule & operator=(Aws::Utils::Json::JsonView jsonValue)
RetainRule & WithIntervalUnit(RetentionIntervalUnitValues &&value)
RetainRule & WithIntervalUnit(const RetentionIntervalUnitValues &value)
void SetInterval(int value)
AWS_DLM_API RetainRule(Aws::Utils::Json::JsonView jsonValue)
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
bool CountHasBeenSet() const
bool IntervalHasBeenSet() const
RetentionIntervalUnitValues
Aws::Utils::Json::JsonValue JsonValue