AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
RedshiftLineageSyncConfigurationOutput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/LineageSyncSchedule.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataZone {
21namespace Model {
22
29 public:
30 AWS_DATAZONE_API RedshiftLineageSyncConfigurationOutput() = default;
33 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetLineageJobId() const { return m_lineageJobId; }
40 inline bool LineageJobIdHasBeenSet() const { return m_lineageJobIdHasBeenSet; }
41 template <typename LineageJobIdT = Aws::String>
42 void SetLineageJobId(LineageJobIdT&& value) {
43 m_lineageJobIdHasBeenSet = true;
44 m_lineageJobId = std::forward<LineageJobIdT>(value);
45 }
46 template <typename LineageJobIdT = Aws::String>
48 SetLineageJobId(std::forward<LineageJobIdT>(value));
49 return *this;
50 }
52
54
58 inline bool GetEnabled() const { return m_enabled; }
59 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
60 inline void SetEnabled(bool value) {
61 m_enabledHasBeenSet = true;
62 m_enabled = value;
63 }
65 SetEnabled(value);
66 return *this;
67 }
69
71
74 inline const LineageSyncSchedule& GetSchedule() const { return m_schedule; }
75 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
76 template <typename ScheduleT = LineageSyncSchedule>
77 void SetSchedule(ScheduleT&& value) {
78 m_scheduleHasBeenSet = true;
79 m_schedule = std::forward<ScheduleT>(value);
80 }
81 template <typename ScheduleT = LineageSyncSchedule>
83 SetSchedule(std::forward<ScheduleT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_lineageJobId;
89
90 bool m_enabled{false};
91
92 LineageSyncSchedule m_schedule;
93 bool m_lineageJobIdHasBeenSet = false;
94 bool m_enabledHasBeenSet = false;
95 bool m_scheduleHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace DataZone
100} // namespace Aws
RedshiftLineageSyncConfigurationOutput & WithSchedule(ScheduleT &&value)
AWS_DATAZONE_API RedshiftLineageSyncConfigurationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API RedshiftLineageSyncConfigurationOutput(Aws::Utils::Json::JsonView jsonValue)
RedshiftLineageSyncConfigurationOutput & WithLineageJobId(LineageJobIdT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue