7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/crt/cbor/Cbor.h>
16namespace CloudWatchOmni {
27 AWS_CLOUDWATCHOMNI_API
AlertStateData(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
29 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
39 m_thresholdBreachedHasBeenSet =
true;
40 m_thresholdBreached = value;
48 double m_thresholdBreached{0.0};
49 bool m_thresholdBreachedHasBeenSet =
false;
bool ThresholdBreachedHasBeenSet() const
double GetThresholdBreached() const
AWS_CLOUDWATCHOMNI_API AlertStateData()=default
AlertStateData & WithThresholdBreached(double value)
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CLOUDWATCHOMNI_API AlertStateData & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetThresholdBreached(double value)
AWS_CLOUDWATCHOMNI_API AlertStateData(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)