7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/monitoring/CloudWatch_EXPORTS.h>
31 AWS_CLOUDWATCH_API
ManagedRuleState(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CLOUDWATCH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename RuleNameT = Aws::String>
44 m_ruleNameHasBeenSet =
true;
45 m_ruleName = std::forward<RuleNameT>(value);
47 template <
typename RuleNameT = Aws::String>
60 template <
typename StateT = Aws::String>
62 m_stateHasBeenSet =
true;
63 m_state = std::forward<StateT>(value);
65 template <
typename StateT = Aws::String>
67 SetState(std::forward<StateT>(value));
75 bool m_ruleNameHasBeenSet =
false;
76 bool m_stateHasBeenSet =
false;
AWS_CLOUDWATCH_API ManagedRuleState(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetRuleName() const
AWS_CLOUDWATCH_API ManagedRuleState()=default
bool RuleNameHasBeenSet() const
ManagedRuleState & WithRuleName(RuleNameT &&value)
AWS_CLOUDWATCH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CLOUDWATCH_API ManagedRuleState & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool StateHasBeenSet() const
const Aws::String & GetState() const
void SetRuleName(RuleNameT &&value)
void SetState(StateT &&value)
ManagedRuleState & WithState(StateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String