7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/model/PITPolicyRuleUnits.h>
42 m_enabledHasBeenSet =
true;
58 m_intervalHasBeenSet =
true;
74 m_retentionDurationHasBeenSet =
true;
75 m_retentionDuration = value;
87 inline long long GetRuleID()
const {
return m_ruleID; }
90 m_ruleIDHasBeenSet =
true;
106 m_unitsHasBeenSet =
true;
115 bool m_enabled{
false};
119 int m_retentionDuration{0};
121 long long m_ruleID{0};
124 bool m_enabledHasBeenSet =
false;
125 bool m_intervalHasBeenSet =
false;
126 bool m_retentionDurationHasBeenSet =
false;
127 bool m_ruleIDHasBeenSet =
false;
128 bool m_unitsHasBeenSet =
false;
AWS_DRS_API PITPolicyRule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRetentionDuration(int value)
long long GetRuleID() const
PITPolicyRule & WithRuleID(long long value)
bool UnitsHasBeenSet() const
int GetRetentionDuration() const
void SetUnits(PITPolicyRuleUnits value)
void SetInterval(int value)
PITPolicyRuleUnits GetUnits() const
AWS_DRS_API PITPolicyRule()=default
void SetRuleID(long long value)
PITPolicyRule & WithEnabled(bool value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
PITPolicyRule & WithInterval(int value)
PITPolicyRule & WithUnits(PITPolicyRuleUnits value)
bool RetentionDurationHasBeenSet() const
PITPolicyRule & WithRetentionDuration(int value)
bool EnabledHasBeenSet() const
bool RuleIDHasBeenSet() const
void SetEnabled(bool value)
AWS_DRS_API PITPolicyRule(Aws::Utils::Json::JsonView jsonValue)
bool IntervalHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue