AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetTrigger.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/model/Schedule.h>
9#include <aws/iotanalytics/model/TriggeringDataset.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTAnalytics
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTANALYTICS_API DatasetTrigger();
37 AWS_IOTANALYTICS_API DatasetTrigger(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTANALYTICS_API DatasetTrigger& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Schedule& GetSchedule() const{ return m_schedule; }
47 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
48 inline void SetSchedule(const Schedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
49 inline void SetSchedule(Schedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
50 inline DatasetTrigger& WithSchedule(const Schedule& value) { SetSchedule(value); return *this;}
51 inline DatasetTrigger& WithSchedule(Schedule&& value) { SetSchedule(std::move(value)); return *this;}
53
55
59 inline const TriggeringDataset& GetDataset() const{ return m_dataset; }
60 inline bool DatasetHasBeenSet() const { return m_datasetHasBeenSet; }
61 inline void SetDataset(const TriggeringDataset& value) { m_datasetHasBeenSet = true; m_dataset = value; }
62 inline void SetDataset(TriggeringDataset&& value) { m_datasetHasBeenSet = true; m_dataset = std::move(value); }
63 inline DatasetTrigger& WithDataset(const TriggeringDataset& value) { SetDataset(value); return *this;}
64 inline DatasetTrigger& WithDataset(TriggeringDataset&& value) { SetDataset(std::move(value)); return *this;}
66 private:
67
68 Schedule m_schedule;
69 bool m_scheduleHasBeenSet = false;
70
71 TriggeringDataset m_dataset;
72 bool m_datasetHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace IoTAnalytics
77} // namespace Aws
void SetSchedule(const Schedule &value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDataset(const TriggeringDataset &value)
DatasetTrigger & WithSchedule(const Schedule &value)
DatasetTrigger & WithDataset(const TriggeringDataset &value)
AWS_IOTANALYTICS_API DatasetTrigger & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasetTrigger & WithDataset(TriggeringDataset &&value)
DatasetTrigger & WithSchedule(Schedule &&value)
const TriggeringDataset & GetDataset() const
void SetDataset(TriggeringDataset &&value)
AWS_IOTANALYTICS_API DatasetTrigger(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue