7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/dlm/model/RetentionIntervalUnitValues.h>
57 inline int GetCount()
const {
return m_count; }
59 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
70 inline void SetInterval(
int value) { m_intervalHasBeenSet =
true; m_interval = value; }
88 bool m_countHasBeenSet =
false;
91 bool m_intervalHasBeenSet =
false;
94 bool m_intervalUnitHasBeenSet =
false;
void SetIntervalUnit(RetentionIntervalUnitValues value)
AWS_DLM_API RetentionArchiveTier()=default
RetentionArchiveTier & WithInterval(int value)
RetentionArchiveTier & WithCount(int value)
RetentionIntervalUnitValues GetIntervalUnit() const
AWS_DLM_API RetentionArchiveTier(Aws::Utils::Json::JsonView jsonValue)
bool CountHasBeenSet() const
AWS_DLM_API RetentionArchiveTier & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IntervalHasBeenSet() const
void SetInterval(int value)
RetentionArchiveTier & WithIntervalUnit(RetentionIntervalUnitValues value)
bool IntervalUnitHasBeenSet() const
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
RetentionIntervalUnitValues
Aws::Utils::Json::JsonValue JsonValue