@@ -128,112 +128,184 @@ namespace Model
128
128
129
129
130
130
/* *
131
- * <p> Specifies the scheduled start time for a schedule-triggered flow. </p>
131
+ * <p>The time at which the scheduled flow starts. The time is formatted as a
132
+ * timestamp that follows the ISO 8601 standard, such as
133
+ * <code>2022-04-26T13:00:00-07:00</code>.</p>
132
134
*/
133
135
inline const Aws::Utils::DateTime& GetScheduleStartTime () const { return m_scheduleStartTime; }
134
136
135
137
/* *
136
- * <p> Specifies the scheduled start time for a schedule-triggered flow. </p>
138
+ * <p>The time at which the scheduled flow starts. The time is formatted as a
139
+ * timestamp that follows the ISO 8601 standard, such as
140
+ * <code>2022-04-26T13:00:00-07:00</code>.</p>
137
141
*/
138
142
inline bool ScheduleStartTimeHasBeenSet () const { return m_scheduleStartTimeHasBeenSet; }
139
143
140
144
/* *
141
- * <p> Specifies the scheduled start time for a schedule-triggered flow. </p>
145
+ * <p>The time at which the scheduled flow starts. The time is formatted as a
146
+ * timestamp that follows the ISO 8601 standard, such as
147
+ * <code>2022-04-26T13:00:00-07:00</code>.</p>
142
148
*/
143
149
inline void SetScheduleStartTime (const Aws::Utils::DateTime& value) { m_scheduleStartTimeHasBeenSet = true ; m_scheduleStartTime = value; }
144
150
145
151
/* *
146
- * <p> Specifies the scheduled start time for a schedule-triggered flow. </p>
152
+ * <p>The time at which the scheduled flow starts. The time is formatted as a
153
+ * timestamp that follows the ISO 8601 standard, such as
154
+ * <code>2022-04-26T13:00:00-07:00</code>.</p>
147
155
*/
148
156
inline void SetScheduleStartTime (Aws::Utils::DateTime&& value) { m_scheduleStartTimeHasBeenSet = true ; m_scheduleStartTime = std::move (value); }
149
157
150
158
/* *
151
- * <p> Specifies the scheduled start time for a schedule-triggered flow. </p>
159
+ * <p>The time at which the scheduled flow starts. The time is formatted as a
160
+ * timestamp that follows the ISO 8601 standard, such as
161
+ * <code>2022-04-26T13:00:00-07:00</code>.</p>
152
162
*/
153
163
inline ScheduledTriggerProperties& WithScheduleStartTime (const Aws::Utils::DateTime& value) { SetScheduleStartTime (value); return *this ;}
154
164
155
165
/* *
156
- * <p> Specifies the scheduled start time for a schedule-triggered flow. </p>
166
+ * <p>The time at which the scheduled flow starts. The time is formatted as a
167
+ * timestamp that follows the ISO 8601 standard, such as
168
+ * <code>2022-04-26T13:00:00-07:00</code>.</p>
157
169
*/
158
170
inline ScheduledTriggerProperties& WithScheduleStartTime (Aws::Utils::DateTime&& value) { SetScheduleStartTime (std::move (value)); return *this ;}
159
171
160
172
161
173
/* *
162
- * <p> Specifies the scheduled end time for a schedule-triggered flow. </p>
174
+ * <p>The time at which the scheduled flow ends. The time is formatted as a
175
+ * timestamp that follows the ISO 8601 standard, such as
176
+ * <code>2022-04-27T13:00:00-07:00</code>.</p>
163
177
*/
164
178
inline const Aws::Utils::DateTime& GetScheduleEndTime () const { return m_scheduleEndTime; }
165
179
166
180
/* *
167
- * <p> Specifies the scheduled end time for a schedule-triggered flow. </p>
181
+ * <p>The time at which the scheduled flow ends. The time is formatted as a
182
+ * timestamp that follows the ISO 8601 standard, such as
183
+ * <code>2022-04-27T13:00:00-07:00</code>.</p>
168
184
*/
169
185
inline bool ScheduleEndTimeHasBeenSet () const { return m_scheduleEndTimeHasBeenSet; }
170
186
171
187
/* *
172
- * <p> Specifies the scheduled end time for a schedule-triggered flow. </p>
188
+ * <p>The time at which the scheduled flow ends. The time is formatted as a
189
+ * timestamp that follows the ISO 8601 standard, such as
190
+ * <code>2022-04-27T13:00:00-07:00</code>.</p>
173
191
*/
174
192
inline void SetScheduleEndTime (const Aws::Utils::DateTime& value) { m_scheduleEndTimeHasBeenSet = true ; m_scheduleEndTime = value; }
175
193
176
194
/* *
177
- * <p> Specifies the scheduled end time for a schedule-triggered flow. </p>
195
+ * <p>The time at which the scheduled flow ends. The time is formatted as a
196
+ * timestamp that follows the ISO 8601 standard, such as
197
+ * <code>2022-04-27T13:00:00-07:00</code>.</p>
178
198
*/
179
199
inline void SetScheduleEndTime (Aws::Utils::DateTime&& value) { m_scheduleEndTimeHasBeenSet = true ; m_scheduleEndTime = std::move (value); }
180
200
181
201
/* *
182
- * <p> Specifies the scheduled end time for a schedule-triggered flow. </p>
202
+ * <p>The time at which the scheduled flow ends. The time is formatted as a
203
+ * timestamp that follows the ISO 8601 standard, such as
204
+ * <code>2022-04-27T13:00:00-07:00</code>.</p>
183
205
*/
184
206
inline ScheduledTriggerProperties& WithScheduleEndTime (const Aws::Utils::DateTime& value) { SetScheduleEndTime (value); return *this ;}
185
207
186
208
/* *
187
- * <p> Specifies the scheduled end time for a schedule-triggered flow. </p>
209
+ * <p>The time at which the scheduled flow ends. The time is formatted as a
210
+ * timestamp that follows the ISO 8601 standard, such as
211
+ * <code>2022-04-27T13:00:00-07:00</code>.</p>
188
212
*/
189
213
inline ScheduledTriggerProperties& WithScheduleEndTime (Aws::Utils::DateTime&& value) { SetScheduleEndTime (std::move (value)); return *this ;}
190
214
191
215
192
216
/* *
193
- * <p> Specifies the time zone used when referring to the date and time of a
194
- * scheduled-triggered flow, such as <code>America/New_York</code>. </p>
217
+ * <p>Specifies the time zone used when referring to the dates and times of a
218
+ * scheduled flow, such as <code>America/New_York</code>. This time zone is only a
219
+ * descriptive label. It doesn't affect how Amazon AppFlow interprets the
220
+ * timestamps that you specify to schedule the flow.</p> <p>If you want to schedule
221
+ * a flow by using times in a particular time zone, indicate the time zone as a UTC
222
+ * offset in your timestamps. For example, the UTC offsets for the
223
+ * <code>America/New_York</code> timezone are <code>-04:00</code> EDT and
224
+ * <code>-05:00 EST</code>.</p>
195
225
*/
196
226
inline const Aws::String& GetTimezone () const { return m_timezone; }
197
227
198
228
/* *
199
- * <p> Specifies the time zone used when referring to the date and time of a
200
- * scheduled-triggered flow, such as <code>America/New_York</code>. </p>
229
+ * <p>Specifies the time zone used when referring to the dates and times of a
230
+ * scheduled flow, such as <code>America/New_York</code>. This time zone is only a
231
+ * descriptive label. It doesn't affect how Amazon AppFlow interprets the
232
+ * timestamps that you specify to schedule the flow.</p> <p>If you want to schedule
233
+ * a flow by using times in a particular time zone, indicate the time zone as a UTC
234
+ * offset in your timestamps. For example, the UTC offsets for the
235
+ * <code>America/New_York</code> timezone are <code>-04:00</code> EDT and
236
+ * <code>-05:00 EST</code>.</p>
201
237
*/
202
238
inline bool TimezoneHasBeenSet () const { return m_timezoneHasBeenSet; }
203
239
204
240
/* *
205
- * <p> Specifies the time zone used when referring to the date and time of a
206
- * scheduled-triggered flow, such as <code>America/New_York</code>. </p>
241
+ * <p>Specifies the time zone used when referring to the dates and times of a
242
+ * scheduled flow, such as <code>America/New_York</code>. This time zone is only a
243
+ * descriptive label. It doesn't affect how Amazon AppFlow interprets the
244
+ * timestamps that you specify to schedule the flow.</p> <p>If you want to schedule
245
+ * a flow by using times in a particular time zone, indicate the time zone as a UTC
246
+ * offset in your timestamps. For example, the UTC offsets for the
247
+ * <code>America/New_York</code> timezone are <code>-04:00</code> EDT and
248
+ * <code>-05:00 EST</code>.</p>
207
249
*/
208
250
inline void SetTimezone (const Aws::String& value) { m_timezoneHasBeenSet = true ; m_timezone = value; }
209
251
210
252
/* *
211
- * <p> Specifies the time zone used when referring to the date and time of a
212
- * scheduled-triggered flow, such as <code>America/New_York</code>. </p>
253
+ * <p>Specifies the time zone used when referring to the dates and times of a
254
+ * scheduled flow, such as <code>America/New_York</code>. This time zone is only a
255
+ * descriptive label. It doesn't affect how Amazon AppFlow interprets the
256
+ * timestamps that you specify to schedule the flow.</p> <p>If you want to schedule
257
+ * a flow by using times in a particular time zone, indicate the time zone as a UTC
258
+ * offset in your timestamps. For example, the UTC offsets for the
259
+ * <code>America/New_York</code> timezone are <code>-04:00</code> EDT and
260
+ * <code>-05:00 EST</code>.</p>
213
261
*/
214
262
inline void SetTimezone (Aws::String&& value) { m_timezoneHasBeenSet = true ; m_timezone = std::move (value); }
215
263
216
264
/* *
217
- * <p> Specifies the time zone used when referring to the date and time of a
218
- * scheduled-triggered flow, such as <code>America/New_York</code>. </p>
265
+ * <p>Specifies the time zone used when referring to the dates and times of a
266
+ * scheduled flow, such as <code>America/New_York</code>. This time zone is only a
267
+ * descriptive label. It doesn't affect how Amazon AppFlow interprets the
268
+ * timestamps that you specify to schedule the flow.</p> <p>If you want to schedule
269
+ * a flow by using times in a particular time zone, indicate the time zone as a UTC
270
+ * offset in your timestamps. For example, the UTC offsets for the
271
+ * <code>America/New_York</code> timezone are <code>-04:00</code> EDT and
272
+ * <code>-05:00 EST</code>.</p>
219
273
*/
220
274
inline void SetTimezone (const char * value) { m_timezoneHasBeenSet = true ; m_timezone.assign (value); }
221
275
222
276
/* *
223
- * <p> Specifies the time zone used when referring to the date and time of a
224
- * scheduled-triggered flow, such as <code>America/New_York</code>. </p>
277
+ * <p>Specifies the time zone used when referring to the dates and times of a
278
+ * scheduled flow, such as <code>America/New_York</code>. This time zone is only a
279
+ * descriptive label. It doesn't affect how Amazon AppFlow interprets the
280
+ * timestamps that you specify to schedule the flow.</p> <p>If you want to schedule
281
+ * a flow by using times in a particular time zone, indicate the time zone as a UTC
282
+ * offset in your timestamps. For example, the UTC offsets for the
283
+ * <code>America/New_York</code> timezone are <code>-04:00</code> EDT and
284
+ * <code>-05:00 EST</code>.</p>
225
285
*/
226
286
inline ScheduledTriggerProperties& WithTimezone (const Aws::String& value) { SetTimezone (value); return *this ;}
227
287
228
288
/* *
229
- * <p> Specifies the time zone used when referring to the date and time of a
230
- * scheduled-triggered flow, such as <code>America/New_York</code>. </p>
289
+ * <p>Specifies the time zone used when referring to the dates and times of a
290
+ * scheduled flow, such as <code>America/New_York</code>. This time zone is only a
291
+ * descriptive label. It doesn't affect how Amazon AppFlow interprets the
292
+ * timestamps that you specify to schedule the flow.</p> <p>If you want to schedule
293
+ * a flow by using times in a particular time zone, indicate the time zone as a UTC
294
+ * offset in your timestamps. For example, the UTC offsets for the
295
+ * <code>America/New_York</code> timezone are <code>-04:00</code> EDT and
296
+ * <code>-05:00 EST</code>.</p>
231
297
*/
232
298
inline ScheduledTriggerProperties& WithTimezone (Aws::String&& value) { SetTimezone (std::move (value)); return *this ;}
233
299
234
300
/* *
235
- * <p> Specifies the time zone used when referring to the date and time of a
236
- * scheduled-triggered flow, such as <code>America/New_York</code>. </p>
301
+ * <p>Specifies the time zone used when referring to the dates and times of a
302
+ * scheduled flow, such as <code>America/New_York</code>. This time zone is only a
303
+ * descriptive label. It doesn't affect how Amazon AppFlow interprets the
304
+ * timestamps that you specify to schedule the flow.</p> <p>If you want to schedule
305
+ * a flow by using times in a particular time zone, indicate the time zone as a UTC
306
+ * offset in your timestamps. For example, the UTC offsets for the
307
+ * <code>America/New_York</code> timezone are <code>-04:00</code> EDT and
308
+ * <code>-05:00 EST</code>.</p>
237
309
*/
238
310
inline ScheduledTriggerProperties& WithTimezone (const char * value) { SetTimezone (value); return *this ;}
239
311
@@ -299,6 +371,31 @@ namespace Model
299
371
*/
300
372
inline ScheduledTriggerProperties& WithFirstExecutionFrom (Aws::Utils::DateTime&& value) { SetFirstExecutionFrom (std::move (value)); return *this ;}
301
373
374
+
375
+ /* *
376
+ * <p>Defines how many times a scheduled flow fails consecutively before Amazon
377
+ * AppFlow deactivates it.</p>
378
+ */
379
+ inline int GetFlowErrorDeactivationThreshold () const { return m_flowErrorDeactivationThreshold; }
380
+
381
+ /* *
382
+ * <p>Defines how many times a scheduled flow fails consecutively before Amazon
383
+ * AppFlow deactivates it.</p>
384
+ */
385
+ inline bool FlowErrorDeactivationThresholdHasBeenSet () const { return m_flowErrorDeactivationThresholdHasBeenSet; }
386
+
387
+ /* *
388
+ * <p>Defines how many times a scheduled flow fails consecutively before Amazon
389
+ * AppFlow deactivates it.</p>
390
+ */
391
+ inline void SetFlowErrorDeactivationThreshold (int value) { m_flowErrorDeactivationThresholdHasBeenSet = true ; m_flowErrorDeactivationThreshold = value; }
392
+
393
+ /* *
394
+ * <p>Defines how many times a scheduled flow fails consecutively before Amazon
395
+ * AppFlow deactivates it.</p>
396
+ */
397
+ inline ScheduledTriggerProperties& WithFlowErrorDeactivationThreshold (int value) { SetFlowErrorDeactivationThreshold (value); return *this ;}
398
+
302
399
private:
303
400
304
401
Aws::String m_scheduleExpression;
@@ -321,6 +418,9 @@ namespace Model
321
418
322
419
Aws::Utils::DateTime m_firstExecutionFrom;
323
420
bool m_firstExecutionFromHasBeenSet;
421
+
422
+ int m_flowErrorDeactivationThreshold;
423
+ bool m_flowErrorDeactivationThresholdHasBeenSet;
324
424
};
325
425
326
426
} // namespace Model
0 commit comments