7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/monitoring/CloudWatch_EXPORTS.h>
34 AWS_CLOUDWATCH_API
InsightRule(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_CLOUDWATCH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
62 template <
typename StateT = Aws::String>
64 m_stateHasBeenSet =
true;
65 m_state = std::forward<StateT>(value);
67 template <
typename StateT = Aws::String>
69 SetState(std::forward<StateT>(value));
82 template <
typename SchemaT = Aws::String>
84 m_schemaHasBeenSet =
true;
85 m_schema = std::forward<SchemaT>(value);
87 template <
typename SchemaT = Aws::String>
105 template <
typename DefinitionT = Aws::String>
107 m_definitionHasBeenSet =
true;
108 m_definition = std::forward<DefinitionT>(value);
110 template <
typename DefinitionT = Aws::String>
124 m_managedRuleHasBeenSet =
true;
125 m_managedRule = value;
144 m_applyOnTransformedLogsHasBeenSet =
true;
145 m_applyOnTransformedLogs = value;
161 bool m_managedRule{
false};
163 bool m_applyOnTransformedLogs{
false};
164 bool m_nameHasBeenSet =
false;
165 bool m_stateHasBeenSet =
false;
166 bool m_schemaHasBeenSet =
false;
167 bool m_definitionHasBeenSet =
false;
168 bool m_managedRuleHasBeenSet =
false;
169 bool m_applyOnTransformedLogsHasBeenSet =
false;
AWS_CLOUDWATCH_API InsightRule()=default
AWS_CLOUDWATCH_API InsightRule & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
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
void SetSchema(SchemaT &&value)
const Aws::String & GetState() const
const Aws::String & GetName() const
InsightRule & WithSchema(SchemaT &&value)
AWS_CLOUDWATCH_API InsightRule(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetDefinition() const
bool GetManagedRule() const
bool SchemaHasBeenSet() const
void SetState(StateT &&value)
InsightRule & WithDefinition(DefinitionT &&value)
InsightRule & WithApplyOnTransformedLogs(bool value)
AWS_CLOUDWATCH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
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