AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MetricWindow.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/model/TumblingWindow.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTSiteWise
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTSITEWISE_API MetricWindow();
36 AWS_IOTSITEWISE_API MetricWindow(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTSITEWISE_API MetricWindow& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const TumblingWindow& GetTumbling() const{ return m_tumbling; }
46 inline bool TumblingHasBeenSet() const { return m_tumblingHasBeenSet; }
47 inline void SetTumbling(const TumblingWindow& value) { m_tumblingHasBeenSet = true; m_tumbling = value; }
48 inline void SetTumbling(TumblingWindow&& value) { m_tumblingHasBeenSet = true; m_tumbling = std::move(value); }
49 inline MetricWindow& WithTumbling(const TumblingWindow& value) { SetTumbling(value); return *this;}
50 inline MetricWindow& WithTumbling(TumblingWindow&& value) { SetTumbling(std::move(value)); return *this;}
52 private:
53
54 TumblingWindow m_tumbling;
55 bool m_tumblingHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace IoTSiteWise
60} // namespace Aws
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTumbling(const TumblingWindow &value)
AWS_IOTSITEWISE_API MetricWindow()
MetricWindow & WithTumbling(const TumblingWindow &value)
AWS_IOTSITEWISE_API MetricWindow(Aws::Utils::Json::JsonView jsonValue)
const TumblingWindow & GetTumbling() const
void SetTumbling(TumblingWindow &&value)
AWS_IOTSITEWISE_API MetricWindow & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricWindow & WithTumbling(TumblingWindow &&value)
Aws::Utils::Json::JsonValue JsonValue