/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The DatasetTrigger
that specifies when the dataset is
* automatically updated.See Also:
AWS
* API Reference
The Schedule when the trigger is initiated.
*/ inline const Schedule& GetSchedule() const{ return m_schedule; } /** *The Schedule when the trigger is initiated.
*/ inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; } /** *The Schedule when the trigger is initiated.
*/ inline void SetSchedule(const Schedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; } /** *The Schedule when the trigger is initiated.
*/ inline void SetSchedule(Schedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); } /** *The Schedule when the trigger is initiated.
*/ inline DatasetTrigger& WithSchedule(const Schedule& value) { SetSchedule(value); return *this;} /** *The Schedule when the trigger is initiated.
*/ inline DatasetTrigger& WithSchedule(Schedule&& value) { SetSchedule(std::move(value)); return *this;} /** *The dataset whose content creation triggers the creation of this dataset's * contents.
*/ inline const TriggeringDataset& GetDataset() const{ return m_dataset; } /** *The dataset whose content creation triggers the creation of this dataset's * contents.
*/ inline bool DatasetHasBeenSet() const { return m_datasetHasBeenSet; } /** *The dataset whose content creation triggers the creation of this dataset's * contents.
*/ inline void SetDataset(const TriggeringDataset& value) { m_datasetHasBeenSet = true; m_dataset = value; } /** *The dataset whose content creation triggers the creation of this dataset's * contents.
*/ inline void SetDataset(TriggeringDataset&& value) { m_datasetHasBeenSet = true; m_dataset = std::move(value); } /** *The dataset whose content creation triggers the creation of this dataset's * contents.
*/ inline DatasetTrigger& WithDataset(const TriggeringDataset& value) { SetDataset(value); return *this;} /** *The dataset whose content creation triggers the creation of this dataset's * contents.
*/ inline DatasetTrigger& WithDataset(TriggeringDataset&& value) { SetDataset(std::move(value)); return *this;} private: Schedule m_schedule; bool m_scheduleHasBeenSet = false; TriggeringDataset m_dataset; bool m_datasetHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws