7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/dlm/model/RetentionIntervalUnitValues.h>
50 inline void SetInterval(
int value) { m_intervalHasBeenSet =
true; m_interval = value; }
70 bool m_intervalHasBeenSet =
false;
73 bool m_intervalUnitHasBeenSet =
false;
CrossRegionCopyRetainRule & WithIntervalUnit(const RetentionIntervalUnitValues &value)
const RetentionIntervalUnitValues & GetIntervalUnit() const
void SetIntervalUnit(RetentionIntervalUnitValues &&value)
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
CrossRegionCopyRetainRule & WithInterval(int value)
AWS_DLM_API CrossRegionCopyRetainRule()
void SetInterval(int value)
CrossRegionCopyRetainRule & WithIntervalUnit(RetentionIntervalUnitValues &&value)
void SetIntervalUnit(const RetentionIntervalUnitValues &value)
AWS_DLM_API CrossRegionCopyRetainRule(Aws::Utils::Json::JsonView jsonValue)
bool IntervalUnitHasBeenSet() const
bool IntervalHasBeenSet() const
AWS_DLM_API CrossRegionCopyRetainRule & operator=(Aws::Utils::Json::JsonView jsonValue)
RetentionIntervalUnitValues
Aws::Utils::Json::JsonValue JsonValue