AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
LineageSyncOutput.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/Timezone.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
31 public:
32 AWS_DATAZONE_API LineageSyncOutput() = default;
33 AWS_DATAZONE_API LineageSyncOutput(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetLineageJobId() const { return m_lineageJobId; }
42 inline bool LineageJobIdHasBeenSet() const { return m_lineageJobIdHasBeenSet; }
43 template <typename LineageJobIdT = Aws::String>
44 void SetLineageJobId(LineageJobIdT&& value) {
45 m_lineageJobIdHasBeenSet = true;
46 m_lineageJobId = std::forward<LineageJobIdT>(value);
47 }
48 template <typename LineageJobIdT = Aws::String>
49 LineageSyncOutput& WithLineageJobId(LineageJobIdT&& value) {
50 SetLineageJobId(std::forward<LineageJobIdT>(value));
51 return *this;
52 }
54
56
59 inline Timezone GetTimezone() const { return m_timezone; }
60 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
61 inline void SetTimezone(Timezone value) {
62 m_timezoneHasBeenSet = true;
63 m_timezone = value;
64 }
66 SetTimezone(value);
67 return *this;
68 }
70
72
75 inline bool GetEnabled() const { return m_enabled; }
76 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
77 inline void SetEnabled(bool value) {
78 m_enabledHasBeenSet = true;
79 m_enabled = value;
80 }
81 inline LineageSyncOutput& WithEnabled(bool value) {
82 SetEnabled(value);
83 return *this;
84 }
86
88
91 inline const Aws::String& GetSchedule() const { return m_schedule; }
92 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
93 template <typename ScheduleT = Aws::String>
94 void SetSchedule(ScheduleT&& value) {
95 m_scheduleHasBeenSet = true;
96 m_schedule = std::forward<ScheduleT>(value);
97 }
98 template <typename ScheduleT = Aws::String>
99 LineageSyncOutput& WithSchedule(ScheduleT&& value) {
100 SetSchedule(std::forward<ScheduleT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_lineageJobId;
106
107 Timezone m_timezone{Timezone::NOT_SET};
108
109 bool m_enabled{false};
110
111 Aws::String m_schedule;
112 bool m_lineageJobIdHasBeenSet = false;
113 bool m_timezoneHasBeenSet = false;
114 bool m_enabledHasBeenSet = false;
115 bool m_scheduleHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace DataZone
120} // namespace Aws
LineageSyncOutput & WithEnabled(bool value)
LineageSyncOutput & WithSchedule(ScheduleT &&value)
AWS_DATAZONE_API LineageSyncOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API LineageSyncOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLineageJobId() const
void SetLineageJobId(LineageJobIdT &&value)
const Aws::String & GetSchedule() const
LineageSyncOutput & WithTimezone(Timezone value)
AWS_DATAZONE_API LineageSyncOutput()=default
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
LineageSyncOutput & WithLineageJobId(LineageJobIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue