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>
10#include <aws/monitoring/model/ManagedRuleState.h>
51 template<
typename TemplateNameT = Aws::String>
52 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet =
true; m_templateName = std::forward<TemplateNameT>(value); }
53 template<
typename TemplateNameT = Aws::String>
64 template<
typename ResourceARNT = Aws::String>
65 void SetResourceARN(ResourceARNT&& value) { m_resourceARNHasBeenSet =
true; m_resourceARN = std::forward<ResourceARNT>(value); }
66 template<
typename ResourceARNT = Aws::String>
78 template<
typename RuleStateT = ManagedRuleState>
79 void SetRuleState(RuleStateT&& value) { m_ruleStateHasBeenSet =
true; m_ruleState = std::forward<RuleStateT>(value); }
80 template<
typename RuleStateT = ManagedRuleState>
86 bool m_templateNameHasBeenSet =
false;
89 bool m_resourceARNHasBeenSet =
false;
92 bool m_ruleStateHasBeenSet =
false;
AWS_CLOUDWATCH_API ManagedRuleDescription()=default
ManagedRuleDescription & WithTemplateName(TemplateNameT &&value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDWATCH_API ManagedRuleDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ResourceARNHasBeenSet() const
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetResourceARN(ResourceARNT &&value)
const Aws::String & GetResourceARN() const
bool RuleStateHasBeenSet() const
const ManagedRuleState & GetRuleState() const
ManagedRuleDescription & WithRuleState(RuleStateT &&value)
void SetTemplateName(TemplateNameT &&value)
ManagedRuleDescription & WithResourceARN(ResourceARNT &&value)
AWS_CLOUDWATCH_API ManagedRuleDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetTemplateName() const
bool TemplateNameHasBeenSet() const
void SetRuleState(RuleStateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream