7#include <aws/route53-recovery-control-config/Route53RecoveryControlConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53-recovery-control-config/model/RuleConfig.h>
11#include <aws/route53-recovery-control-config/model/Status.h>
24namespace Route53RecoveryControlConfig
74 inline void SetControlPanelArn(
const char* value) { m_controlPanelArnHasBeenSet =
true; m_controlPanelArn.assign(value); }
89 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
120 inline void SetSafetyRuleArn(
const char* value) { m_safetyRuleArnHasBeenSet =
true; m_safetyRuleArn.assign(value); }
133 inline void SetStatus(
const Status& value) { m_statusHasBeenSet =
true; m_status = value; }
134 inline void SetStatus(
Status&& value) { m_statusHasBeenSet =
true; m_status = std::move(value); }
147 inline void SetWaitPeriodMs(
int value) { m_waitPeriodMsHasBeenSet =
true; m_waitPeriodMs = value; }
159 inline void SetOwner(
const char* value) { m_ownerHasBeenSet =
true; m_owner.assign(value); }
167 bool m_assertedControlsHasBeenSet =
false;
170 bool m_controlPanelArnHasBeenSet =
false;
173 bool m_nameHasBeenSet =
false;
176 bool m_ruleConfigHasBeenSet =
false;
179 bool m_safetyRuleArnHasBeenSet =
false;
182 bool m_statusHasBeenSet =
false;
185 bool m_waitPeriodMsHasBeenSet =
false;
188 bool m_ownerHasBeenSet =
false;
int GetWaitPeriodMs() const
bool AssertedControlsHasBeenSet() const
AssertionRule & WithControlPanelArn(const Aws::String &value)
void SetOwner(const char *value)
AssertionRule & WithName(Aws::String &&value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAssertedControls(Aws::Vector< Aws::String > &&value)
bool ControlPanelArnHasBeenSet() const
AssertionRule & WithAssertedControls(const Aws::Vector< Aws::String > &value)
void SetName(const Aws::String &value)
bool SafetyRuleArnHasBeenSet() const
void SetRuleConfig(RuleConfig &&value)
void SetOwner(const Aws::String &value)
void SetSafetyRuleArn(const char *value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API AssertionRule(Aws::Utils::Json::JsonView jsonValue)
void SetSafetyRuleArn(const Aws::String &value)
const Aws::String & GetControlPanelArn() const
bool WaitPeriodMsHasBeenSet() const
AssertionRule & WithOwner(const Aws::String &value)
bool RuleConfigHasBeenSet() const
AssertionRule & WithName(const Aws::String &value)
AssertionRule & WithStatus(const Status &value)
bool OwnerHasBeenSet() const
void SetControlPanelArn(const char *value)
AssertionRule & WithControlPanelArn(Aws::String &&value)
AssertionRule & WithOwner(const char *value)
const Aws::Vector< Aws::String > & GetAssertedControls() const
void SetName(const char *value)
void SetControlPanelArn(const Aws::String &value)
AssertionRule & WithControlPanelArn(const char *value)
AssertionRule & WithSafetyRuleArn(Aws::String &&value)
AssertionRule & WithAssertedControls(Aws::Vector< Aws::String > &&value)
void SetName(Aws::String &&value)
bool NameHasBeenSet() const
AssertionRule & AddAssertedControls(const char *value)
void SetWaitPeriodMs(int value)
AssertionRule & AddAssertedControls(Aws::String &&value)
AssertionRule & WithSafetyRuleArn(const Aws::String &value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API AssertionRule()
const Aws::String & GetSafetyRuleArn() const
AssertionRule & WithName(const char *value)
void SetControlPanelArn(Aws::String &&value)
void SetStatus(Status &&value)
AssertionRule & WithRuleConfig(const RuleConfig &value)
void SetOwner(Aws::String &&value)
AssertionRule & WithStatus(Status &&value)
AssertionRule & WithSafetyRuleArn(const char *value)
const RuleConfig & GetRuleConfig() const
AssertionRule & WithOwner(Aws::String &&value)
const Status & GetStatus() const
AWS_ROUTE53RECOVERYCONTROLCONFIG_API AssertionRule & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetSafetyRuleArn(Aws::String &&value)
AssertionRule & WithRuleConfig(RuleConfig &&value)
void SetStatus(const Status &value)
AssertionRule & AddAssertedControls(const Aws::String &value)
bool StatusHasBeenSet() const
void SetAssertedControls(const Aws::Vector< Aws::String > &value)
void SetRuleConfig(const RuleConfig &value)
AssertionRule & WithWaitPeriodMs(int value)
const Aws::String & GetOwner() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue