AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RedshiftLineageSyncConfigurationOutput.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/LineageSyncSchedule.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 DataZone
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DATAZONE_API RedshiftLineageSyncConfigurationOutput() = default;
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline bool GetEnabled() const { return m_enabled; }
47 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
48 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
49 inline RedshiftLineageSyncConfigurationOutput& WithEnabled(bool value) { SetEnabled(value); return *this;}
51
53
56 inline const Aws::String& GetLineageJobId() const { return m_lineageJobId; }
57 inline bool LineageJobIdHasBeenSet() const { return m_lineageJobIdHasBeenSet; }
58 template<typename LineageJobIdT = Aws::String>
59 void SetLineageJobId(LineageJobIdT&& value) { m_lineageJobIdHasBeenSet = true; m_lineageJobId = std::forward<LineageJobIdT>(value); }
60 template<typename LineageJobIdT = Aws::String>
61 RedshiftLineageSyncConfigurationOutput& WithLineageJobId(LineageJobIdT&& value) { SetLineageJobId(std::forward<LineageJobIdT>(value)); return *this;}
63
65
68 inline const LineageSyncSchedule& GetSchedule() const { return m_schedule; }
69 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
70 template<typename ScheduleT = LineageSyncSchedule>
71 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet = true; m_schedule = std::forward<ScheduleT>(value); }
72 template<typename ScheduleT = LineageSyncSchedule>
73 RedshiftLineageSyncConfigurationOutput& WithSchedule(ScheduleT&& value) { SetSchedule(std::forward<ScheduleT>(value)); return *this;}
75 private:
76
77 bool m_enabled{false};
78 bool m_enabledHasBeenSet = false;
79
80 Aws::String m_lineageJobId;
81 bool m_lineageJobIdHasBeenSet = false;
82
83 LineageSyncSchedule m_schedule;
84 bool m_scheduleHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace DataZone
89} // 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