AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduledTriggerProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appflow/model/DataPullMode.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Appflow
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_APPFLOW_API ScheduledTriggerProperties();
41 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetScheduleExpression() const{ return m_scheduleExpression; }
50 inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; }
51 inline void SetScheduleExpression(const Aws::String& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = value; }
52 inline void SetScheduleExpression(Aws::String&& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = std::move(value); }
53 inline void SetScheduleExpression(const char* value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression.assign(value); }
55 inline ScheduledTriggerProperties& WithScheduleExpression(Aws::String&& value) { SetScheduleExpression(std::move(value)); return *this;}
56 inline ScheduledTriggerProperties& WithScheduleExpression(const char* value) { SetScheduleExpression(value); return *this;}
58
60
64 inline const DataPullMode& GetDataPullMode() const{ return m_dataPullMode; }
65 inline bool DataPullModeHasBeenSet() const { return m_dataPullModeHasBeenSet; }
66 inline void SetDataPullMode(const DataPullMode& value) { m_dataPullModeHasBeenSet = true; m_dataPullMode = value; }
67 inline void SetDataPullMode(DataPullMode&& value) { m_dataPullModeHasBeenSet = true; m_dataPullMode = std::move(value); }
68 inline ScheduledTriggerProperties& WithDataPullMode(const DataPullMode& value) { SetDataPullMode(value); return *this;}
69 inline ScheduledTriggerProperties& WithDataPullMode(DataPullMode&& value) { SetDataPullMode(std::move(value)); return *this;}
71
73
78 inline const Aws::Utils::DateTime& GetScheduleStartTime() const{ return m_scheduleStartTime; }
79 inline bool ScheduleStartTimeHasBeenSet() const { return m_scheduleStartTimeHasBeenSet; }
80 inline void SetScheduleStartTime(const Aws::Utils::DateTime& value) { m_scheduleStartTimeHasBeenSet = true; m_scheduleStartTime = value; }
81 inline void SetScheduleStartTime(Aws::Utils::DateTime&& value) { m_scheduleStartTimeHasBeenSet = true; m_scheduleStartTime = std::move(value); }
85
87
92 inline const Aws::Utils::DateTime& GetScheduleEndTime() const{ return m_scheduleEndTime; }
93 inline bool ScheduleEndTimeHasBeenSet() const { return m_scheduleEndTimeHasBeenSet; }
94 inline void SetScheduleEndTime(const Aws::Utils::DateTime& value) { m_scheduleEndTimeHasBeenSet = true; m_scheduleEndTime = value; }
95 inline void SetScheduleEndTime(Aws::Utils::DateTime&& value) { m_scheduleEndTimeHasBeenSet = true; m_scheduleEndTime = std::move(value); }
99
101
111 inline const Aws::String& GetTimezone() const{ return m_timezone; }
112 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
113 inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; }
114 inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); }
115 inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); }
116 inline ScheduledTriggerProperties& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
117 inline ScheduledTriggerProperties& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
118 inline ScheduledTriggerProperties& WithTimezone(const char* value) { SetTimezone(value); return *this;}
120
122
126 inline long long GetScheduleOffset() const{ return m_scheduleOffset; }
127 inline bool ScheduleOffsetHasBeenSet() const { return m_scheduleOffsetHasBeenSet; }
128 inline void SetScheduleOffset(long long value) { m_scheduleOffsetHasBeenSet = true; m_scheduleOffset = value; }
129 inline ScheduledTriggerProperties& WithScheduleOffset(long long value) { SetScheduleOffset(value); return *this;}
131
133
137 inline const Aws::Utils::DateTime& GetFirstExecutionFrom() const{ return m_firstExecutionFrom; }
138 inline bool FirstExecutionFromHasBeenSet() const { return m_firstExecutionFromHasBeenSet; }
139 inline void SetFirstExecutionFrom(const Aws::Utils::DateTime& value) { m_firstExecutionFromHasBeenSet = true; m_firstExecutionFrom = value; }
140 inline void SetFirstExecutionFrom(Aws::Utils::DateTime&& value) { m_firstExecutionFromHasBeenSet = true; m_firstExecutionFrom = std::move(value); }
144
146
150 inline int GetFlowErrorDeactivationThreshold() const{ return m_flowErrorDeactivationThreshold; }
151 inline bool FlowErrorDeactivationThresholdHasBeenSet() const { return m_flowErrorDeactivationThresholdHasBeenSet; }
152 inline void SetFlowErrorDeactivationThreshold(int value) { m_flowErrorDeactivationThresholdHasBeenSet = true; m_flowErrorDeactivationThreshold = value; }
155 private:
156
157 Aws::String m_scheduleExpression;
158 bool m_scheduleExpressionHasBeenSet = false;
159
160 DataPullMode m_dataPullMode;
161 bool m_dataPullModeHasBeenSet = false;
162
163 Aws::Utils::DateTime m_scheduleStartTime;
164 bool m_scheduleStartTimeHasBeenSet = false;
165
166 Aws::Utils::DateTime m_scheduleEndTime;
167 bool m_scheduleEndTimeHasBeenSet = false;
168
169 Aws::String m_timezone;
170 bool m_timezoneHasBeenSet = false;
171
172 long long m_scheduleOffset;
173 bool m_scheduleOffsetHasBeenSet = false;
174
175 Aws::Utils::DateTime m_firstExecutionFrom;
176 bool m_firstExecutionFromHasBeenSet = false;
177
178 int m_flowErrorDeactivationThreshold;
179 bool m_flowErrorDeactivationThresholdHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace Appflow
184} // namespace Aws
ScheduledTriggerProperties & WithDataPullMode(const DataPullMode &value)
ScheduledTriggerProperties & WithFlowErrorDeactivationThreshold(int value)
ScheduledTriggerProperties & WithScheduleExpression(const char *value)
const Aws::Utils::DateTime & GetScheduleEndTime() const
AWS_APPFLOW_API ScheduledTriggerProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API ScheduledTriggerProperties(Aws::Utils::Json::JsonView jsonValue)
ScheduledTriggerProperties & WithScheduleOffset(long long value)
ScheduledTriggerProperties & WithScheduleEndTime(Aws::Utils::DateTime &&value)
void SetScheduleEndTime(const Aws::Utils::DateTime &value)
ScheduledTriggerProperties & WithTimezone(const Aws::String &value)
ScheduledTriggerProperties & WithTimezone(const char *value)
const Aws::Utils::DateTime & GetScheduleStartTime() const
ScheduledTriggerProperties & WithScheduleStartTime(const Aws::Utils::DateTime &value)
void SetScheduleStartTime(const Aws::Utils::DateTime &value)
ScheduledTriggerProperties & WithScheduleEndTime(const Aws::Utils::DateTime &value)
ScheduledTriggerProperties & WithScheduleExpression(const Aws::String &value)
ScheduledTriggerProperties & WithFirstExecutionFrom(const Aws::Utils::DateTime &value)
ScheduledTriggerProperties & WithDataPullMode(DataPullMode &&value)
ScheduledTriggerProperties & WithScheduleExpression(Aws::String &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFirstExecutionFrom(const Aws::Utils::DateTime &value)
ScheduledTriggerProperties & WithScheduleStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetFirstExecutionFrom() const
ScheduledTriggerProperties & WithTimezone(Aws::String &&value)
ScheduledTriggerProperties & WithFirstExecutionFrom(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue