AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ScheduleT = Schedule>
49 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet = true; m_schedule = std::forward<ScheduleT>(value); }
50 template<typename ScheduleT = Schedule>
51 DatasetTrigger& WithSchedule(ScheduleT&& value) { SetSchedule(std::forward<ScheduleT>(value)); return *this;}
53
55
59 inline const TriggeringDataset& GetDataset() const { return m_dataset; }
60 inline bool DatasetHasBeenSet() const { return m_datasetHasBeenSet; }
61 template<typename DatasetT = TriggeringDataset>
62 void SetDataset(DatasetT&& value) { m_datasetHasBeenSet = true; m_dataset = std::forward<DatasetT>(value); }
63 template<typename DatasetT = TriggeringDataset>
64 DatasetTrigger& WithDataset(DatasetT&& value) { SetDataset(std::forward<DatasetT>(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
AWS_IOTANALYTICS_API DatasetTrigger()=default
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTANALYTICS_API DatasetTrigger & operator=(Aws::Utils::Json::JsonView jsonValue)
const TriggeringDataset & GetDataset() const
DatasetTrigger & WithDataset(DatasetT &&value)
DatasetTrigger & WithSchedule(ScheduleT &&value)
AWS_IOTANALYTICS_API DatasetTrigger(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue