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>
23namespace Route53RecoveryControlConfig
51 template<
typename AssertedControlsT = Aws::Vector<Aws::String>>
52 void SetAssertedControls(AssertedControlsT&& value) { m_assertedControlsHasBeenSet =
true; m_assertedControls = std::forward<AssertedControlsT>(value); }
53 template<
typename AssertedControlsT = Aws::Vector<Aws::String>>
55 template<
typename AssertedControlsT = Aws::String>
56 NewAssertionRule&
AddAssertedControls(AssertedControlsT&& value) { m_assertedControlsHasBeenSet =
true; m_assertedControls.emplace_back(std::forward<AssertedControlsT>(value));
return *
this; }
65 template<
typename ControlPanelArnT = Aws::String>
66 void SetControlPanelArn(ControlPanelArnT&& value) { m_controlPanelArnHasBeenSet =
true; m_controlPanelArn = std::forward<ControlPanelArnT>(value); }
67 template<
typename ControlPanelArnT = Aws::String>
78 template<
typename NameT = Aws::String>
79 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
80 template<
typename NameT = Aws::String>
95 template<
typename RuleConfigT = RuleConfig>
96 void SetRuleConfig(RuleConfigT&& value) { m_ruleConfigHasBeenSet =
true; m_ruleConfig = std::forward<RuleConfigT>(value); }
97 template<
typename RuleConfigT = RuleConfig>
109 inline void SetWaitPeriodMs(
int value) { m_waitPeriodMsHasBeenSet =
true; m_waitPeriodMs = value; }
115 bool m_assertedControlsHasBeenSet =
false;
118 bool m_controlPanelArnHasBeenSet =
false;
121 bool m_nameHasBeenSet =
false;
124 bool m_ruleConfigHasBeenSet =
false;
126 int m_waitPeriodMs{0};
127 bool m_waitPeriodMsHasBeenSet =
false;
bool WaitPeriodMsHasBeenSet() const
void SetWaitPeriodMs(int value)
NewAssertionRule & WithControlPanelArn(ControlPanelArnT &&value)
const Aws::String & GetControlPanelArn() const
NewAssertionRule & WithAssertedControls(AssertedControlsT &&value)
const Aws::Vector< Aws::String > & GetAssertedControls() const
NewAssertionRule & WithWaitPeriodMs(int value)
bool ControlPanelArnHasBeenSet() const
NewAssertionRule & WithName(NameT &&value)
void SetAssertedControls(AssertedControlsT &&value)
void SetControlPanelArn(ControlPanelArnT &&value)
bool RuleConfigHasBeenSet() const
const Aws::String & GetName() const
AWS_ROUTE53RECOVERYCONTROLCONFIG_API NewAssertionRule(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROUTE53RECOVERYCONTROLCONFIG_API NewAssertionRule & operator=(Aws::Utils::Json::JsonView jsonValue)
NewAssertionRule & AddAssertedControls(AssertedControlsT &&value)
const RuleConfig & GetRuleConfig() const
NewAssertionRule & WithRuleConfig(RuleConfigT &&value)
void SetName(NameT &&value)
void SetRuleConfig(RuleConfigT &&value)
bool NameHasBeenSet() const
bool AssertedControlsHasBeenSet() const
int GetWaitPeriodMs() const
AWS_ROUTE53RECOVERYCONTROLCONFIG_API NewAssertionRule()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue