7#include <aws/crt/cbor/Cbor.h>
8#include <aws/monitoring/CloudWatch_EXPORTS.h>
9#include <aws/monitoring/model/SlidingWindow.h>
10#include <aws/monitoring/model/WallClockWindow.h>
38 AWS_CLOUDWATCH_API
EvaluationWindow(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
40 AWS_CLOUDWATCH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
50 template <
typename WallClockWindowT = WallClockWindow>
52 m_wallClockWindowHasBeenSet =
true;
53 m_wallClockWindow = std::forward<WallClockWindowT>(value);
55 template <
typename WallClockWindowT = WallClockWindow>
69 template <
typename Sl
idingWindowT = Sl
idingWindow>
71 m_slidingWindowHasBeenSet =
true;
72 m_slidingWindow = std::forward<SlidingWindowT>(value);
74 template <
typename Sl
idingWindowT = Sl
idingWindow>
84 bool m_wallClockWindowHasBeenSet =
false;
85 bool m_slidingWindowHasBeenSet =
false;
EvaluationWindow & WithWallClockWindow(WallClockWindowT &&value)
bool SlidingWindowHasBeenSet() const
void SetWallClockWindow(WallClockWindowT &&value)
EvaluationWindow & WithSlidingWindow(SlidingWindowT &&value)
AWS_CLOUDWATCH_API EvaluationWindow()=default
void SetSlidingWindow(SlidingWindowT &&value)
AWS_CLOUDWATCH_API EvaluationWindow(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const SlidingWindow & GetSlidingWindow() const
const WallClockWindow & GetWallClockWindow() const
bool WallClockWindowHasBeenSet() const
AWS_CLOUDWATCH_API EvaluationWindow & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CLOUDWATCH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const