AWS SDK for C++

AWS SDK for C++ Version 1.11.745

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DataZone {
20namespace Model {
21
28 public:
29 AWS_DATAZONE_API RedshiftLineageSyncConfigurationInput() = default;
32 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline bool GetEnabled() const { return m_enabled; }
40 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
41 inline void SetEnabled(bool value) {
42 m_enabledHasBeenSet = true;
43 m_enabled = value;
44 }
46 SetEnabled(value);
47 return *this;
48 }
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) {
59 m_scheduleHasBeenSet = true;
60 m_schedule = std::forward<ScheduleT>(value);
61 }
62 template <typename ScheduleT = LineageSyncSchedule>
64 SetSchedule(std::forward<ScheduleT>(value));
65 return *this;
66 }
68 private:
69 bool m_enabled{false};
70
71 LineageSyncSchedule m_schedule;
72 bool m_enabledHasBeenSet = false;
73 bool m_scheduleHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace DataZone
78} // 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