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>
23namespace Route53RecoveryControlConfig
50 inline void SetControlPanelArn(
const char* value) { m_controlPanelArnHasBeenSet =
true; m_controlPanelArn.assign(value); }
80 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
131 inline void SetWaitPeriodMs(
int value) { m_waitPeriodMsHasBeenSet =
true; m_waitPeriodMs = value; }
137 bool m_controlPanelArnHasBeenSet =
false;
140 bool m_gatingControlsHasBeenSet =
false;
143 bool m_nameHasBeenSet =
false;
146 bool m_ruleConfigHasBeenSet =
false;
149 bool m_targetControlsHasBeenSet =
false;
152 bool m_waitPeriodMsHasBeenSet =
false;
AWS_ROUTE53RECOVERYCONTROLCONFIG_API NewGatingRule()
const Aws::Vector< Aws::String > & GetTargetControls() const
NewGatingRule & WithControlPanelArn(const char *value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API NewGatingRule & operator=(Aws::Utils::Json::JsonView jsonValue)
NewGatingRule & WithControlPanelArn(Aws::String &&value)
void SetTargetControls(const Aws::Vector< Aws::String > &value)
void SetName(const Aws::String &value)
NewGatingRule & AddGatingControls(const char *value)
NewGatingRule & WithRuleConfig(const RuleConfig &value)
NewGatingRule & WithGatingControls(Aws::Vector< Aws::String > &&value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
bool TargetControlsHasBeenSet() const
NewGatingRule & WithTargetControls(Aws::Vector< Aws::String > &&value)
NewGatingRule & WithWaitPeriodMs(int value)
void SetWaitPeriodMs(int value)
NewGatingRule & AddGatingControls(const Aws::String &value)
void SetRuleConfig(RuleConfig &&value)
NewGatingRule & WithName(const Aws::String &value)
bool GatingControlsHasBeenSet() const
NewGatingRule & AddTargetControls(Aws::String &&value)
NewGatingRule & WithName(Aws::String &&value)
void SetControlPanelArn(Aws::String &&value)
bool WaitPeriodMsHasBeenSet() const
AWS_ROUTE53RECOVERYCONTROLCONFIG_API NewGatingRule(Aws::Utils::Json::JsonView jsonValue)
NewGatingRule & WithName(const char *value)
void SetControlPanelArn(const Aws::String &value)
void SetName(const char *value)
int GetWaitPeriodMs() const
const Aws::Vector< Aws::String > & GetGatingControls() const
void SetControlPanelArn(const char *value)
NewGatingRule & AddGatingControls(Aws::String &&value)
bool RuleConfigHasBeenSet() const
const Aws::String & GetName() const
NewGatingRule & AddTargetControls(const Aws::String &value)
NewGatingRule & WithGatingControls(const Aws::Vector< Aws::String > &value)
void SetGatingControls(const Aws::Vector< Aws::String > &value)
void SetTargetControls(Aws::Vector< Aws::String > &&value)
const Aws::String & GetControlPanelArn() const
NewGatingRule & WithRuleConfig(RuleConfig &&value)
void SetRuleConfig(const RuleConfig &value)
void SetGatingControls(Aws::Vector< Aws::String > &&value)
bool ControlPanelArnHasBeenSet() const
void SetName(Aws::String &&value)
NewGatingRule & WithControlPanelArn(const Aws::String &value)
bool NameHasBeenSet() const
NewGatingRule & WithTargetControls(const Aws::Vector< Aws::String > &value)
NewGatingRule & AddTargetControls(const char *value)
const RuleConfig & GetRuleConfig() 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