AWS SDK for C++

AWS SDK for C++ Version 1.11.838

Loading...
Searching...
No Matches
LineageSyncInput.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 LineageSyncInput() = default;
33 AWS_DATAZONE_API LineageSyncInput(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline Timezone GetTimezone() const { return m_timezone; }
42 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
43 inline void SetTimezone(Timezone value) {
44 m_timezoneHasBeenSet = true;
45 m_timezone = value;
46 }
48 SetTimezone(value);
49 return *this;
50 }
52
54
57 inline bool GetEnabled() const { return m_enabled; }
58 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
59 inline void SetEnabled(bool value) {
60 m_enabledHasBeenSet = true;
61 m_enabled = value;
62 }
63 inline LineageSyncInput& WithEnabled(bool value) {
64 SetEnabled(value);
65 return *this;
66 }
68
70
73 inline const Aws::String& GetSchedule() const { return m_schedule; }
74 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
75 template <typename ScheduleT = Aws::String>
76 void SetSchedule(ScheduleT&& value) {
77 m_scheduleHasBeenSet = true;
78 m_schedule = std::forward<ScheduleT>(value);
79 }
80 template <typename ScheduleT = Aws::String>
81 LineageSyncInput& WithSchedule(ScheduleT&& value) {
82 SetSchedule(std::forward<ScheduleT>(value));
83 return *this;
84 }
86 private:
87 Timezone m_timezone{Timezone::NOT_SET};
88
89 bool m_enabled{false};
90
91 Aws::String m_schedule;
92 bool m_timezoneHasBeenSet = false;
93 bool m_enabledHasBeenSet = false;
94 bool m_scheduleHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace DataZone
99} // namespace Aws
AWS_DATAZONE_API LineageSyncInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
LineageSyncInput & WithTimezone(Timezone value)
LineageSyncInput & WithSchedule(ScheduleT &&value)
AWS_DATAZONE_API LineageSyncInput(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSchedule() const
LineageSyncInput & WithEnabled(bool value)
AWS_DATAZONE_API LineageSyncInput()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue