7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/monitoring/CloudWatch_EXPORTS.h>
10#include <aws/monitoring/model/ManagedRuleState.h>
34 AWS_CLOUDWATCH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename TemplateNameT = Aws::String>
45 m_templateNameHasBeenSet =
true;
46 m_templateName = std::forward<TemplateNameT>(value);
48 template <
typename TemplateNameT = Aws::String>
62 template <
typename ResourceARNT = Aws::String>
64 m_resourceARNHasBeenSet =
true;
65 m_resourceARN = std::forward<ResourceARNT>(value);
67 template <
typename ResourceARNT = Aws::String>
82 template <
typename RuleStateT = ManagedRuleState>
84 m_ruleStateHasBeenSet =
true;
85 m_ruleState = std::forward<RuleStateT>(value);
87 template <
typename RuleStateT = ManagedRuleState>
99 bool m_templateNameHasBeenSet =
false;
100 bool m_resourceARNHasBeenSet =
false;
101 bool m_ruleStateHasBeenSet =
false;
AWS_CLOUDWATCH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CLOUDWATCH_API ManagedRuleDescription()=default
ManagedRuleDescription & WithTemplateName(TemplateNameT &&value)
bool ResourceARNHasBeenSet() const
void SetResourceARN(ResourceARNT &&value)
const Aws::String & GetResourceARN() const
bool RuleStateHasBeenSet() const
const ManagedRuleState & GetRuleState() const
AWS_CLOUDWATCH_API ManagedRuleDescription(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ManagedRuleDescription & WithRuleState(RuleStateT &&value)
AWS_CLOUDWATCH_API ManagedRuleDescription & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetTemplateName(TemplateNameT &&value)
ManagedRuleDescription & WithResourceARN(ResourceARNT &&value)
const Aws::String & GetTemplateName() const
bool TemplateNameHasBeenSet() const
void SetRuleState(RuleStateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String