/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the configuration details of a schedule-triggered flow as defined
* by the user. Currently, these settings only apply to the Scheduled
* trigger type. See Also:
AWS
* API Reference
The scheduling expression that determines the rate at which the schedule
* will run, for example rate(5minutes)
.
The scheduling expression that determines the rate at which the schedule
* will run, for example rate(5minutes)
.
The scheduling expression that determines the rate at which the schedule
* will run, for example rate(5minutes)
.
The scheduling expression that determines the rate at which the schedule
* will run, for example rate(5minutes)
.
The scheduling expression that determines the rate at which the schedule
* will run, for example rate(5minutes)
.
The scheduling expression that determines the rate at which the schedule
* will run, for example rate(5minutes)
.
The scheduling expression that determines the rate at which the schedule
* will run, for example rate(5minutes)
.
The scheduling expression that determines the rate at which the schedule
* will run, for example rate(5minutes)
.
Specifies whether a scheduled flow has an incremental data transfer or a * complete data transfer for each flow run.
*/ inline const DataPullMode& GetDataPullMode() const{ return m_dataPullMode; } /** *Specifies whether a scheduled flow has an incremental data transfer or a * complete data transfer for each flow run.
*/ inline bool DataPullModeHasBeenSet() const { return m_dataPullModeHasBeenSet; } /** *Specifies whether a scheduled flow has an incremental data transfer or a * complete data transfer for each flow run.
*/ inline void SetDataPullMode(const DataPullMode& value) { m_dataPullModeHasBeenSet = true; m_dataPullMode = value; } /** *Specifies whether a scheduled flow has an incremental data transfer or a * complete data transfer for each flow run.
*/ inline void SetDataPullMode(DataPullMode&& value) { m_dataPullModeHasBeenSet = true; m_dataPullMode = std::move(value); } /** *Specifies whether a scheduled flow has an incremental data transfer or a * complete data transfer for each flow run.
*/ inline ScheduledTriggerProperties& WithDataPullMode(const DataPullMode& value) { SetDataPullMode(value); return *this;} /** *Specifies whether a scheduled flow has an incremental data transfer or a * complete data transfer for each flow run.
*/ inline ScheduledTriggerProperties& WithDataPullMode(DataPullMode&& value) { SetDataPullMode(std::move(value)); return *this;} /** *The time at which the scheduled flow starts. The time is formatted as a
* timestamp that follows the ISO 8601 standard, such as
* 2022-04-26T13:00:00-07:00
.
The time at which the scheduled flow starts. The time is formatted as a
* timestamp that follows the ISO 8601 standard, such as
* 2022-04-26T13:00:00-07:00
.
The time at which the scheduled flow starts. The time is formatted as a
* timestamp that follows the ISO 8601 standard, such as
* 2022-04-26T13:00:00-07:00
.
The time at which the scheduled flow starts. The time is formatted as a
* timestamp that follows the ISO 8601 standard, such as
* 2022-04-26T13:00:00-07:00
.
The time at which the scheduled flow starts. The time is formatted as a
* timestamp that follows the ISO 8601 standard, such as
* 2022-04-26T13:00:00-07:00
.
The time at which the scheduled flow starts. The time is formatted as a
* timestamp that follows the ISO 8601 standard, such as
* 2022-04-26T13:00:00-07:00
.
The time at which the scheduled flow ends. The time is formatted as a
* timestamp that follows the ISO 8601 standard, such as
* 2022-04-27T13:00:00-07:00
.
The time at which the scheduled flow ends. The time is formatted as a
* timestamp that follows the ISO 8601 standard, such as
* 2022-04-27T13:00:00-07:00
.
The time at which the scheduled flow ends. The time is formatted as a
* timestamp that follows the ISO 8601 standard, such as
* 2022-04-27T13:00:00-07:00
.
The time at which the scheduled flow ends. The time is formatted as a
* timestamp that follows the ISO 8601 standard, such as
* 2022-04-27T13:00:00-07:00
.
The time at which the scheduled flow ends. The time is formatted as a
* timestamp that follows the ISO 8601 standard, such as
* 2022-04-27T13:00:00-07:00
.
The time at which the scheduled flow ends. The time is formatted as a
* timestamp that follows the ISO 8601 standard, such as
* 2022-04-27T13:00:00-07:00
.
Specifies the time zone used when referring to the dates and times of a
* scheduled flow, such as America/New_York
. This time zone is only a
* descriptive label. It doesn't affect how Amazon AppFlow interprets the
* timestamps that you specify to schedule the flow.
If you want to schedule
* a flow by using times in a particular time zone, indicate the time zone as a UTC
* offset in your timestamps. For example, the UTC offsets for the
* America/New_York
timezone are -04:00
EDT and
* -05:00 EST
.
Specifies the time zone used when referring to the dates and times of a
* scheduled flow, such as America/New_York
. This time zone is only a
* descriptive label. It doesn't affect how Amazon AppFlow interprets the
* timestamps that you specify to schedule the flow.
If you want to schedule
* a flow by using times in a particular time zone, indicate the time zone as a UTC
* offset in your timestamps. For example, the UTC offsets for the
* America/New_York
timezone are -04:00
EDT and
* -05:00 EST
.
Specifies the time zone used when referring to the dates and times of a
* scheduled flow, such as America/New_York
. This time zone is only a
* descriptive label. It doesn't affect how Amazon AppFlow interprets the
* timestamps that you specify to schedule the flow.
If you want to schedule
* a flow by using times in a particular time zone, indicate the time zone as a UTC
* offset in your timestamps. For example, the UTC offsets for the
* America/New_York
timezone are -04:00
EDT and
* -05:00 EST
.
Specifies the time zone used when referring to the dates and times of a
* scheduled flow, such as America/New_York
. This time zone is only a
* descriptive label. It doesn't affect how Amazon AppFlow interprets the
* timestamps that you specify to schedule the flow.
If you want to schedule
* a flow by using times in a particular time zone, indicate the time zone as a UTC
* offset in your timestamps. For example, the UTC offsets for the
* America/New_York
timezone are -04:00
EDT and
* -05:00 EST
.
Specifies the time zone used when referring to the dates and times of a
* scheduled flow, such as America/New_York
. This time zone is only a
* descriptive label. It doesn't affect how Amazon AppFlow interprets the
* timestamps that you specify to schedule the flow.
If you want to schedule
* a flow by using times in a particular time zone, indicate the time zone as a UTC
* offset in your timestamps. For example, the UTC offsets for the
* America/New_York
timezone are -04:00
EDT and
* -05:00 EST
.
Specifies the time zone used when referring to the dates and times of a
* scheduled flow, such as America/New_York
. This time zone is only a
* descriptive label. It doesn't affect how Amazon AppFlow interprets the
* timestamps that you specify to schedule the flow.
If you want to schedule
* a flow by using times in a particular time zone, indicate the time zone as a UTC
* offset in your timestamps. For example, the UTC offsets for the
* America/New_York
timezone are -04:00
EDT and
* -05:00 EST
.
Specifies the time zone used when referring to the dates and times of a
* scheduled flow, such as America/New_York
. This time zone is only a
* descriptive label. It doesn't affect how Amazon AppFlow interprets the
* timestamps that you specify to schedule the flow.
If you want to schedule
* a flow by using times in a particular time zone, indicate the time zone as a UTC
* offset in your timestamps. For example, the UTC offsets for the
* America/New_York
timezone are -04:00
EDT and
* -05:00 EST
.
Specifies the time zone used when referring to the dates and times of a
* scheduled flow, such as America/New_York
. This time zone is only a
* descriptive label. It doesn't affect how Amazon AppFlow interprets the
* timestamps that you specify to schedule the flow.
If you want to schedule
* a flow by using times in a particular time zone, indicate the time zone as a UTC
* offset in your timestamps. For example, the UTC offsets for the
* America/New_York
timezone are -04:00
EDT and
* -05:00 EST
.
Specifies the optional offset that is added to the time interval for a * schedule-triggered flow.
*/ inline long long GetScheduleOffset() const{ return m_scheduleOffset; } /** *Specifies the optional offset that is added to the time interval for a * schedule-triggered flow.
*/ inline bool ScheduleOffsetHasBeenSet() const { return m_scheduleOffsetHasBeenSet; } /** *Specifies the optional offset that is added to the time interval for a * schedule-triggered flow.
*/ inline void SetScheduleOffset(long long value) { m_scheduleOffsetHasBeenSet = true; m_scheduleOffset = value; } /** *Specifies the optional offset that is added to the time interval for a * schedule-triggered flow.
*/ inline ScheduledTriggerProperties& WithScheduleOffset(long long value) { SetScheduleOffset(value); return *this;} /** *Specifies the date range for the records to import from the connector in the * first flow run.
*/ inline const Aws::Utils::DateTime& GetFirstExecutionFrom() const{ return m_firstExecutionFrom; } /** *Specifies the date range for the records to import from the connector in the * first flow run.
*/ inline bool FirstExecutionFromHasBeenSet() const { return m_firstExecutionFromHasBeenSet; } /** *Specifies the date range for the records to import from the connector in the * first flow run.
*/ inline void SetFirstExecutionFrom(const Aws::Utils::DateTime& value) { m_firstExecutionFromHasBeenSet = true; m_firstExecutionFrom = value; } /** *Specifies the date range for the records to import from the connector in the * first flow run.
*/ inline void SetFirstExecutionFrom(Aws::Utils::DateTime&& value) { m_firstExecutionFromHasBeenSet = true; m_firstExecutionFrom = std::move(value); } /** *Specifies the date range for the records to import from the connector in the * first flow run.
*/ inline ScheduledTriggerProperties& WithFirstExecutionFrom(const Aws::Utils::DateTime& value) { SetFirstExecutionFrom(value); return *this;} /** *Specifies the date range for the records to import from the connector in the * first flow run.
*/ inline ScheduledTriggerProperties& WithFirstExecutionFrom(Aws::Utils::DateTime&& value) { SetFirstExecutionFrom(std::move(value)); return *this;} /** *Defines how many times a scheduled flow fails consecutively before Amazon * AppFlow deactivates it.
*/ inline int GetFlowErrorDeactivationThreshold() const{ return m_flowErrorDeactivationThreshold; } /** *Defines how many times a scheduled flow fails consecutively before Amazon * AppFlow deactivates it.
*/ inline bool FlowErrorDeactivationThresholdHasBeenSet() const { return m_flowErrorDeactivationThresholdHasBeenSet; } /** *Defines how many times a scheduled flow fails consecutively before Amazon * AppFlow deactivates it.
*/ inline void SetFlowErrorDeactivationThreshold(int value) { m_flowErrorDeactivationThresholdHasBeenSet = true; m_flowErrorDeactivationThreshold = value; } /** *Defines how many times a scheduled flow fails consecutively before Amazon * AppFlow deactivates it.
*/ inline ScheduledTriggerProperties& WithFlowErrorDeactivationThreshold(int value) { SetFlowErrorDeactivationThreshold(value); return *this;} private: Aws::String m_scheduleExpression; bool m_scheduleExpressionHasBeenSet = false; DataPullMode m_dataPullMode; bool m_dataPullModeHasBeenSet = false; Aws::Utils::DateTime m_scheduleStartTime; bool m_scheduleStartTimeHasBeenSet = false; Aws::Utils::DateTime m_scheduleEndTime; bool m_scheduleEndTimeHasBeenSet = false; Aws::String m_timezone; bool m_timezoneHasBeenSet = false; long long m_scheduleOffset; bool m_scheduleOffsetHasBeenSet = false; Aws::Utils::DateTime m_firstExecutionFrom; bool m_firstExecutionFromHasBeenSet = false; int m_flowErrorDeactivationThreshold; bool m_flowErrorDeactivationThresholdHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws