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>
53 inline void SetTemplateName(
const char* value) { m_templateNameHasBeenSet =
true; m_templateName.assign(value); }
68 inline void SetResourceARN(
const char* value) { m_resourceARNHasBeenSet =
true; m_resourceARN.assign(value); }
90 bool m_templateNameHasBeenSet =
false;
93 bool m_resourceARNHasBeenSet =
false;
96 bool m_ruleStateHasBeenSet =
false;
void SetRuleState(ManagedRuleState &&value)
ManagedRuleDescription & WithRuleState(const ManagedRuleState &value)
ManagedRuleDescription & WithResourceARN(const Aws::String &value)
void SetTemplateName(Aws::String &&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
const Aws::String & GetResourceARN() const
void SetTemplateName(const char *value)
bool RuleStateHasBeenSet() const
ManagedRuleDescription & WithTemplateName(const char *value)
void SetRuleState(const ManagedRuleState &value)
const ManagedRuleState & GetRuleState() const
AWS_CLOUDWATCH_API ManagedRuleDescription()
ManagedRuleDescription & WithResourceARN(const char *value)
ManagedRuleDescription & WithTemplateName(Aws::String &&value)
void SetResourceARN(Aws::String &&value)
ManagedRuleDescription & WithResourceARN(Aws::String &&value)
ManagedRuleDescription & WithRuleState(ManagedRuleState &&value)
ManagedRuleDescription & WithTemplateName(const Aws::String &value)
AWS_CLOUDWATCH_API ManagedRuleDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetResourceARN(const char *value)
const Aws::String & GetTemplateName() const
bool TemplateNameHasBeenSet() const
void SetResourceARN(const Aws::String &value)
void SetTemplateName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream