7#include <aws/route53-recovery-control-config/Route53RecoveryControlConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/route53-recovery-control-config/model/RuleConfig.h>
11#include <aws/route53-recovery-control-config/model/Status.h>
24namespace Route53RecoveryControlConfig
59 inline void SetControlPanelArn(
const char* value) { m_controlPanelArnHasBeenSet =
true; m_controlPanelArn.assign(value); }
80 inline GatingRule&
AddGatingControls(
const char* value) { m_gatingControlsHasBeenSet =
true; m_gatingControls.push_back(value);
return *
this; }
92 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); }
167 inline void SetWaitPeriodMs(
int value) { m_waitPeriodMsHasBeenSet =
true; m_waitPeriodMs = value; }
179 inline void SetOwner(
const char* value) { m_ownerHasBeenSet =
true; m_owner.assign(value); }
187 bool m_controlPanelArnHasBeenSet =
false;
190 bool m_gatingControlsHasBeenSet =
false;
193 bool m_nameHasBeenSet =
false;
196 bool m_ruleConfigHasBeenSet =
false;
199 bool m_safetyRuleArnHasBeenSet =
false;
202 bool m_statusHasBeenSet =
false;
205 bool m_targetControlsHasBeenSet =
false;
208 bool m_waitPeriodMsHasBeenSet =
false;
211 bool m_ownerHasBeenSet =
false;
GatingRule & AddTargetControls(const char *value)
void SetControlPanelArn(const char *value)
bool GatingControlsHasBeenSet() const
void SetSafetyRuleArn(const Aws::String &value)
bool RuleConfigHasBeenSet() const
void SetTargetControls(Aws::Vector< Aws::String > &&value)
GatingRule & WithControlPanelArn(Aws::String &&value)
void SetSafetyRuleArn(const char *value)
bool TargetControlsHasBeenSet() const
GatingRule & WithSafetyRuleArn(Aws::String &&value)
GatingRule & WithOwner(const char *value)
const Aws::Vector< Aws::String > & GetGatingControls() const
void SetGatingControls(const Aws::Vector< Aws::String > &value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API GatingRule()
AWS_ROUTE53RECOVERYCONTROLCONFIG_API GatingRule(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetControlPanelArn() const
void SetOwner(Aws::String &&value)
GatingRule & AddTargetControls(Aws::String &&value)
const Aws::String & GetName() const
bool StatusHasBeenSet() const
const Status & GetStatus() const
const RuleConfig & GetRuleConfig() const
bool ControlPanelArnHasBeenSet() const
void SetGatingControls(Aws::Vector< Aws::String > &&value)
GatingRule & AddTargetControls(const Aws::String &value)
void SetRuleConfig(RuleConfig &&value)
void SetName(const Aws::String &value)
bool SafetyRuleArnHasBeenSet() const
void SetStatus(const Status &value)
GatingRule & WithWaitPeriodMs(int value)
void SetOwner(const char *value)
GatingRule & AddGatingControls(const Aws::String &value)
GatingRule & WithControlPanelArn(const char *value)
const Aws::String & GetSafetyRuleArn() const
bool NameHasBeenSet() const
void SetOwner(const Aws::String &value)
void SetStatus(Status &&value)
void SetTargetControls(const Aws::Vector< Aws::String > &value)
void SetControlPanelArn(const Aws::String &value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API GatingRule & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetTargetControls() const
GatingRule & WithSafetyRuleArn(const char *value)
GatingRule & WithStatus(Status &&value)
bool WaitPeriodMsHasBeenSet() const
void SetRuleConfig(const RuleConfig &value)
GatingRule & WithName(const char *value)
void SetControlPanelArn(Aws::String &&value)
GatingRule & AddGatingControls(const char *value)
GatingRule & WithGatingControls(const Aws::Vector< Aws::String > &value)
GatingRule & WithStatus(const Status &value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
GatingRule & WithControlPanelArn(const Aws::String &value)
void SetName(const char *value)
GatingRule & WithRuleConfig(const RuleConfig &value)
GatingRule & WithTargetControls(Aws::Vector< Aws::String > &&value)
void SetWaitPeriodMs(int value)
void SetSafetyRuleArn(Aws::String &&value)
void SetName(Aws::String &&value)
GatingRule & WithTargetControls(const Aws::Vector< Aws::String > &value)
GatingRule & WithName(const Aws::String &value)
const Aws::String & GetOwner() const
int GetWaitPeriodMs() const
GatingRule & WithOwner(Aws::String &&value)
GatingRule & WithRuleConfig(RuleConfig &&value)
GatingRule & WithSafetyRuleArn(const Aws::String &value)
bool OwnerHasBeenSet() const
GatingRule & WithGatingControls(Aws::Vector< Aws::String > &&value)
GatingRule & WithOwner(const Aws::String &value)
GatingRule & WithName(Aws::String &&value)
GatingRule & AddGatingControls(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue