AWS SDK for C++  1.9.160
AWS SDK for C++
TumblingWindow.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoTSiteWise
22 {
23 namespace Model
24 {
25 
43  {
44  public:
49 
50 
61  inline const Aws::String& GetInterval() const{ return m_interval; }
62 
73  inline bool IntervalHasBeenSet() const { return m_intervalHasBeenSet; }
74 
85  inline void SetInterval(const Aws::String& value) { m_intervalHasBeenSet = true; m_interval = value; }
86 
97  inline void SetInterval(Aws::String&& value) { m_intervalHasBeenSet = true; m_interval = std::move(value); }
98 
109  inline void SetInterval(const char* value) { m_intervalHasBeenSet = true; m_interval.assign(value); }
110 
121  inline TumblingWindow& WithInterval(const Aws::String& value) { SetInterval(value); return *this;}
122 
133  inline TumblingWindow& WithInterval(Aws::String&& value) { SetInterval(std::move(value)); return *this;}
134 
145  inline TumblingWindow& WithInterval(const char* value) { SetInterval(value); return *this;}
146 
147 
176  inline const Aws::String& GetOffset() const{ return m_offset; }
177 
206  inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; }
207 
236  inline void SetOffset(const Aws::String& value) { m_offsetHasBeenSet = true; m_offset = value; }
237 
266  inline void SetOffset(Aws::String&& value) { m_offsetHasBeenSet = true; m_offset = std::move(value); }
267 
296  inline void SetOffset(const char* value) { m_offsetHasBeenSet = true; m_offset.assign(value); }
297 
326  inline TumblingWindow& WithOffset(const Aws::String& value) { SetOffset(value); return *this;}
327 
356  inline TumblingWindow& WithOffset(Aws::String&& value) { SetOffset(std::move(value)); return *this;}
357 
386  inline TumblingWindow& WithOffset(const char* value) { SetOffset(value); return *this;}
387 
388  private:
389 
390  Aws::String m_interval;
391  bool m_intervalHasBeenSet;
392 
393  Aws::String m_offset;
394  bool m_offsetHasBeenSet;
395  };
396 
397 } // namespace Model
398 } // namespace IoTSiteWise
399 } // namespace Aws
Aws::IoTSiteWise::Model::TumblingWindow
Definition: TumblingWindow.h:43
Aws::IoTSiteWise::Model::TumblingWindow::WithOffset
TumblingWindow & WithOffset(Aws::String &&value)
Definition: TumblingWindow.h:356
Aws::IoTSiteWise::Model::TumblingWindow::SetOffset
void SetOffset(Aws::String &&value)
Definition: TumblingWindow.h:266
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::TumblingWindow::SetInterval
void SetInterval(const char *value)
Definition: TumblingWindow.h:109
Aws::IoTSiteWise::Model::TumblingWindow::IntervalHasBeenSet
bool IntervalHasBeenSet() const
Definition: TumblingWindow.h:73
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::TumblingWindow::OffsetHasBeenSet
bool OffsetHasBeenSet() const
Definition: TumblingWindow.h:206
Aws::IoTSiteWise::Model::TumblingWindow::WithOffset
TumblingWindow & WithOffset(const Aws::String &value)
Definition: TumblingWindow.h:326
Aws::IoTSiteWise::Model::TumblingWindow::TumblingWindow
TumblingWindow()
Aws::IoTSiteWise::Model::TumblingWindow::GetOffset
const Aws::String & GetOffset() const
Definition: TumblingWindow.h:176
Aws::IoTSiteWise::Model::TumblingWindow::WithInterval
TumblingWindow & WithInterval(const Aws::String &value)
Definition: TumblingWindow.h:121
Aws::IoTSiteWise::Model::TumblingWindow::WithInterval
TumblingWindow & WithInterval(const char *value)
Definition: TumblingWindow.h:145
Aws::IoTSiteWise::Model::TumblingWindow::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::TumblingWindow::operator=
TumblingWindow & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::TumblingWindow::SetInterval
void SetInterval(const Aws::String &value)
Definition: TumblingWindow.h:85
Aws::IoTSiteWise::Model::TumblingWindow::SetOffset
void SetOffset(const char *value)
Definition: TumblingWindow.h:296
Aws::IoTSiteWise::Model::TumblingWindow::GetInterval
const Aws::String & GetInterval() const
Definition: TumblingWindow.h:61
Aws::IoTSiteWise::Model::TumblingWindow::SetInterval
void SetInterval(Aws::String &&value)
Definition: TumblingWindow.h:97
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::TumblingWindow::TumblingWindow
TumblingWindow(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::TumblingWindow::SetOffset
void SetOffset(const Aws::String &value)
Definition: TumblingWindow.h:236
Aws::IoTSiteWise::Model::TumblingWindow::WithInterval
TumblingWindow & WithInterval(Aws::String &&value)
Definition: TumblingWindow.h:133
Aws::IoTSiteWise::Model::TumblingWindow::WithOffset
TumblingWindow & WithOffset(const char *value)
Definition: TumblingWindow.h:386