7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 template<
typename RuleNameT = Aws::String>
51 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet =
true; m_ruleName = std::forward<RuleNameT>(value); }
52 template<
typename RuleNameT = Aws::String>
62 template<
typename StateT = Aws::String>
63 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
64 template<
typename StateT = Aws::String>
70 bool m_ruleNameHasBeenSet =
false;
73 bool m_stateHasBeenSet =
false;
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDWATCH_API ManagedRuleState(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetRuleName() const
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_CLOUDWATCH_API ManagedRuleState()=default
bool RuleNameHasBeenSet() const
ManagedRuleState & WithRuleName(RuleNameT &&value)
AWS_CLOUDWATCH_API ManagedRuleState & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool StateHasBeenSet() const
const Aws::String & GetState() const
void SetRuleName(RuleNameT &&value)
void SetState(StateT &&value)
ManagedRuleState & WithState(StateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream