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>
52 template<
typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
54 template<
typename NameT = Aws::String>
64 template<
typename StateT = Aws::String>
65 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
66 template<
typename StateT = Aws::String>
78 template<
typename SchemaT = Aws::String>
79 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet =
true; m_schema = std::forward<SchemaT>(value); }
80 template<
typename SchemaT = Aws::String>
95 template<
typename DefinitionT = Aws::String>
96 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet =
true; m_definition = std::forward<DefinitionT>(value); }
97 template<
typename DefinitionT = Aws::String>
107 inline void SetManagedRule(
bool value) { m_managedRuleHasBeenSet =
true; m_managedRule = value; }
127 bool m_nameHasBeenSet =
false;
130 bool m_stateHasBeenSet =
false;
133 bool m_schemaHasBeenSet =
false;
136 bool m_definitionHasBeenSet =
false;
138 bool m_managedRule{
false};
139 bool m_managedRuleHasBeenSet =
false;
141 bool m_applyOnTransformedLogs{
false};
142 bool m_applyOnTransformedLogsHasBeenSet =
false;
AWS_CLOUDWATCH_API InsightRule()=default
void SetManagedRule(bool value)
void SetApplyOnTransformedLogs(bool value)
bool ManagedRuleHasBeenSet() const
bool NameHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetSchema() const
bool ApplyOnTransformedLogsHasBeenSet() const
AWS_CLOUDWATCH_API InsightRule(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSchema(SchemaT &&value)
const Aws::String & GetState() const
const Aws::String & GetName() const
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
InsightRule & WithSchema(SchemaT &&value)
const Aws::String & GetDefinition() const
bool GetManagedRule() const
AWS_CLOUDWATCH_API InsightRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SchemaHasBeenSet() const
void SetState(StateT &&value)
InsightRule & WithDefinition(DefinitionT &&value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
InsightRule & WithApplyOnTransformedLogs(bool value)
bool DefinitionHasBeenSet() const
bool StateHasBeenSet() const
InsightRule & WithName(NameT &&value)
bool GetApplyOnTransformedLogs() const
InsightRule & WithState(StateT &&value)
InsightRule & WithManagedRule(bool value)
void SetDefinition(DefinitionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream