7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/cloudwatchomni/model/QueryLanguage.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
20namespace CloudWatchOmni {
32 AWS_CLOUDWATCHOMNI_API
AlertRuleQuery(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 m_languageHasBeenSet =
true;
58 template <
typename ExpressionT = Aws::String>
60 m_expressionHasBeenSet =
true;
61 m_expression = std::forward<ExpressionT>(value);
63 template <
typename ExpressionT = Aws::String>
73 bool m_languageHasBeenSet =
false;
74 bool m_expressionHasBeenSet =
false;
AWS_CLOUDWATCHOMNI_API AlertRuleQuery & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AlertRuleQuery & WithLanguage(QueryLanguage value)
void SetExpression(ExpressionT &&value)
bool LanguageHasBeenSet() const
const Aws::String & GetExpression() const
bool ExpressionHasBeenSet() const
AWS_CLOUDWATCHOMNI_API AlertRuleQuery(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CLOUDWATCHOMNI_API AlertRuleQuery()=default
AlertRuleQuery & WithExpression(ExpressionT &&value)
void SetLanguage(QueryLanguage value)
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
QueryLanguage GetLanguage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String