AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
RedshiftLineageSyncConfigurationInput.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/LineageSyncSchedule.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 DataZone
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DATAZONE_API RedshiftLineageSyncConfigurationInput() = default;
37 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline bool GetEnabled() const { return m_enabled; }
46 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
47 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
48 inline RedshiftLineageSyncConfigurationInput& WithEnabled(bool value) { SetEnabled(value); return *this;}
50
52
55 inline const LineageSyncSchedule& GetSchedule() const { return m_schedule; }
56 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
57 template<typename ScheduleT = LineageSyncSchedule>
58 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet = true; m_schedule = std::forward<ScheduleT>(value); }
59 template<typename ScheduleT = LineageSyncSchedule>
60 RedshiftLineageSyncConfigurationInput& WithSchedule(ScheduleT&& value) { SetSchedule(std::forward<ScheduleT>(value)); return *this;}
62 private:
63
64 bool m_enabled{false};
65 bool m_enabledHasBeenSet = false;
66
67 LineageSyncSchedule m_schedule;
68 bool m_scheduleHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace DataZone
73} // namespace Aws
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftLineageSyncConfigurationInput & WithSchedule(ScheduleT &&value)
AWS_DATAZONE_API RedshiftLineageSyncConfigurationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API RedshiftLineageSyncConfigurationInput(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue