7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/model/PITPolicyRuleUnits.h>
47 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
57 inline void SetInterval(
int value) { m_intervalHasBeenSet =
true; m_interval = value; }
67 inline void SetRetentionDuration(
int value) { m_retentionDurationHasBeenSet =
true; m_retentionDuration = value; }
75 inline long long GetRuleID()
const{
return m_ruleID; }
77 inline void SetRuleID(
long long value) { m_ruleIDHasBeenSet =
true; m_ruleID = value; }
95 bool m_enabledHasBeenSet =
false;
98 bool m_intervalHasBeenSet =
false;
100 int m_retentionDuration;
101 bool m_retentionDurationHasBeenSet =
false;
104 bool m_ruleIDHasBeenSet =
false;
107 bool m_unitsHasBeenSet =
false;
AWS_DRS_API PITPolicyRule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUnits(const PITPolicyRuleUnits &value)
void SetRetentionDuration(int value)
PITPolicyRule & WithUnits(const PITPolicyRuleUnits &value)
long long GetRuleID() const
void SetUnits(PITPolicyRuleUnits &&value)
PITPolicyRule & WithRuleID(long long value)
bool UnitsHasBeenSet() const
const PITPolicyRuleUnits & GetUnits() const
int GetRetentionDuration() const
void SetInterval(int value)
void SetRuleID(long long value)
PITPolicyRule & WithEnabled(bool value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DRS_API PITPolicyRule()
PITPolicyRule & WithInterval(int value)
bool RetentionDurationHasBeenSet() const
PITPolicyRule & WithUnits(PITPolicyRuleUnits &&value)
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