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>
54 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
68 inline void SetState(
const char* value) { m_stateHasBeenSet =
true; m_state.assign(value); }
84 inline void SetSchema(
const char* value) { m_schemaHasBeenSet =
true; m_schema.assign(value); }
103 inline void SetDefinition(
const char* value) { m_definitionHasBeenSet =
true; m_definition.assign(value); }
115 inline void SetManagedRule(
bool value) { m_managedRuleHasBeenSet =
true; m_managedRule = value; }
121 bool m_nameHasBeenSet =
false;
124 bool m_stateHasBeenSet =
false;
127 bool m_schemaHasBeenSet =
false;
130 bool m_definitionHasBeenSet =
false;
133 bool m_managedRuleHasBeenSet =
false;
void SetState(const char *value)
void SetDefinition(const Aws::String &value)
void SetManagedRule(bool value)
bool ManagedRuleHasBeenSet() const
void SetSchema(const Aws::String &value)
AWS_CLOUDWATCH_API InsightRule()
bool NameHasBeenSet() const
void SetName(Aws::String &&value)
InsightRule & WithSchema(Aws::String &&value)
void SetDefinition(Aws::String &&value)
void SetName(const Aws::String &value)
void SetState(const Aws::String &value)
const Aws::String & GetSchema() const
AWS_CLOUDWATCH_API InsightRule(const Aws::Utils::Xml::XmlNode &xmlNode)
InsightRule & WithSchema(const char *value)
InsightRule & WithName(const char *value)
const Aws::String & GetState() const
void SetSchema(Aws::String &&value)
InsightRule & WithState(Aws::String &&value)
const Aws::String & GetName() const
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
InsightRule & WithDefinition(const Aws::String &value)
InsightRule & WithName(Aws::String &&value)
const Aws::String & GetDefinition() const
InsightRule & WithDefinition(Aws::String &&value)
bool GetManagedRule() const
AWS_CLOUDWATCH_API InsightRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SchemaHasBeenSet() const
InsightRule & WithState(const char *value)
void SetName(const char *value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetState(Aws::String &&value)
bool DefinitionHasBeenSet() const
void SetDefinition(const char *value)
InsightRule & WithState(const Aws::String &value)
InsightRule & WithSchema(const Aws::String &value)
InsightRule & WithName(const Aws::String &value)
bool StateHasBeenSet() const
InsightRule & WithDefinition(const char *value)
void SetSchema(const char *value)
InsightRule & WithManagedRule(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream