AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TumblingWindow.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
43 {
44 public:
45 AWS_IOTSITEWISE_API TumblingWindow();
46 AWS_IOTSITEWISE_API TumblingWindow(Aws::Utils::Json::JsonView jsonValue);
47 AWS_IOTSITEWISE_API TumblingWindow& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
62 inline const Aws::String& GetInterval() const{ return m_interval; }
63 inline bool IntervalHasBeenSet() const { return m_intervalHasBeenSet; }
64 inline void SetInterval(const Aws::String& value) { m_intervalHasBeenSet = true; m_interval = value; }
65 inline void SetInterval(Aws::String&& value) { m_intervalHasBeenSet = true; m_interval = std::move(value); }
66 inline void SetInterval(const char* value) { m_intervalHasBeenSet = true; m_interval.assign(value); }
67 inline TumblingWindow& WithInterval(const Aws::String& value) { SetInterval(value); return *this;}
68 inline TumblingWindow& WithInterval(Aws::String&& value) { SetInterval(std::move(value)); return *this;}
69 inline TumblingWindow& WithInterval(const char* value) { SetInterval(value); return *this;}
71
73
101 inline const Aws::String& GetOffset() const{ return m_offset; }
102 inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; }
103 inline void SetOffset(const Aws::String& value) { m_offsetHasBeenSet = true; m_offset = value; }
104 inline void SetOffset(Aws::String&& value) { m_offsetHasBeenSet = true; m_offset = std::move(value); }
105 inline void SetOffset(const char* value) { m_offsetHasBeenSet = true; m_offset.assign(value); }
106 inline TumblingWindow& WithOffset(const Aws::String& value) { SetOffset(value); return *this;}
107 inline TumblingWindow& WithOffset(Aws::String&& value) { SetOffset(std::move(value)); return *this;}
108 inline TumblingWindow& WithOffset(const char* value) { SetOffset(value); return *this;}
110 private:
111
112 Aws::String m_interval;
113 bool m_intervalHasBeenSet = false;
114
115 Aws::String m_offset;
116 bool m_offsetHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace IoTSiteWise
121} // namespace Aws
void SetInterval(const Aws::String &value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
TumblingWindow & WithInterval(Aws::String &&value)
void SetInterval(Aws::String &&value)
const Aws::String & GetInterval() const
AWS_IOTSITEWISE_API TumblingWindow & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API TumblingWindow(Aws::Utils::Json::JsonView jsonValue)
TumblingWindow & WithInterval(const Aws::String &value)
const Aws::String & GetOffset() const
TumblingWindow & WithOffset(const Aws::String &value)
void SetOffset(const Aws::String &value)
TumblingWindow & WithInterval(const char *value)
TumblingWindow & WithOffset(Aws::String &&value)
TumblingWindow & WithOffset(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue