/**
* 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 scheduled-trigger flow that you
* define. 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 (5 minutes).
*/ inline const Aws::String& GetScheduleExpression() const{ return m_scheduleExpression; } /** *The scheduling expression that determines the rate at which the schedule will * run, for example rate (5 minutes).
*/ inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; } /** *The scheduling expression that determines the rate at which the schedule will * run, for example rate (5 minutes).
*/ inline void SetScheduleExpression(const Aws::String& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = value; } /** *The scheduling expression that determines the rate at which the schedule will * run, for example rate (5 minutes).
*/ inline void SetScheduleExpression(Aws::String&& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = std::move(value); } /** *The scheduling expression that determines the rate at which the schedule will * run, for example rate (5 minutes).
*/ inline void SetScheduleExpression(const char* value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression.assign(value); } /** *The scheduling expression that determines the rate at which the schedule will * run, for example rate (5 minutes).
*/ inline ScheduledTriggerProperties& WithScheduleExpression(const Aws::String& value) { SetScheduleExpression(value); return *this;} /** *The scheduling expression that determines the rate at which the schedule will * run, for example rate (5 minutes).
*/ inline ScheduledTriggerProperties& WithScheduleExpression(Aws::String&& value) { SetScheduleExpression(std::move(value)); return *this;} /** *The scheduling expression that determines the rate at which the schedule will * run, for example rate (5 minutes).
*/ inline ScheduledTriggerProperties& WithScheduleExpression(const char* value) { SetScheduleExpression(value); return *this;} /** *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;} /** *Specifies the scheduled start time for a scheduled-trigger flow.
*/ inline const Aws::Utils::DateTime& GetScheduleStartTime() const{ return m_scheduleStartTime; } /** *Specifies the scheduled start time for a scheduled-trigger flow.
*/ inline bool ScheduleStartTimeHasBeenSet() const { return m_scheduleStartTimeHasBeenSet; } /** *Specifies the scheduled start time for a scheduled-trigger flow.
*/ inline void SetScheduleStartTime(const Aws::Utils::DateTime& value) { m_scheduleStartTimeHasBeenSet = true; m_scheduleStartTime = value; } /** *Specifies the scheduled start time for a scheduled-trigger flow.
*/ inline void SetScheduleStartTime(Aws::Utils::DateTime&& value) { m_scheduleStartTimeHasBeenSet = true; m_scheduleStartTime = std::move(value); } /** *Specifies the scheduled start time for a scheduled-trigger flow.
*/ inline ScheduledTriggerProperties& WithScheduleStartTime(const Aws::Utils::DateTime& value) { SetScheduleStartTime(value); return *this;} /** *Specifies the scheduled start time for a scheduled-trigger flow.
*/ inline ScheduledTriggerProperties& WithScheduleStartTime(Aws::Utils::DateTime&& value) { SetScheduleStartTime(std::move(value)); return *this;} /** *Specifies the scheduled end time for a scheduled-trigger flow.
*/ inline const Aws::Utils::DateTime& GetScheduleEndTime() const{ return m_scheduleEndTime; } /** *Specifies the scheduled end time for a scheduled-trigger flow.
*/ inline bool ScheduleEndTimeHasBeenSet() const { return m_scheduleEndTimeHasBeenSet; } /** *Specifies the scheduled end time for a scheduled-trigger flow.
*/ inline void SetScheduleEndTime(const Aws::Utils::DateTime& value) { m_scheduleEndTimeHasBeenSet = true; m_scheduleEndTime = value; } /** *Specifies the scheduled end time for a scheduled-trigger flow.
*/ inline void SetScheduleEndTime(Aws::Utils::DateTime&& value) { m_scheduleEndTimeHasBeenSet = true; m_scheduleEndTime = std::move(value); } /** *Specifies the scheduled end time for a scheduled-trigger flow.
*/ inline ScheduledTriggerProperties& WithScheduleEndTime(const Aws::Utils::DateTime& value) { SetScheduleEndTime(value); return *this;} /** *Specifies the scheduled end time for a scheduled-trigger flow.
*/ inline ScheduledTriggerProperties& WithScheduleEndTime(Aws::Utils::DateTime&& value) { SetScheduleEndTime(std::move(value)); return *this;} /** *Specifies the time zone used when referring to the date and time of a * scheduled-triggered flow, such as America/New_York.
*/ inline const Aws::String& GetTimezone() const{ return m_timezone; } /** *Specifies the time zone used when referring to the date and time of a * scheduled-triggered flow, such as America/New_York.
*/ inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; } /** *Specifies the time zone used when referring to the date and time of a * scheduled-triggered flow, such as America/New_York.
*/ inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; } /** *Specifies the time zone used when referring to the date and time of a * scheduled-triggered flow, such as America/New_York.
*/ inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); } /** *Specifies the time zone used when referring to the date and time of a * scheduled-triggered flow, such as America/New_York.
*/ inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); } /** *Specifies the time zone used when referring to the date and time of a * scheduled-triggered flow, such as America/New_York.
*/ inline ScheduledTriggerProperties& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;} /** *Specifies the time zone used when referring to the date and time of a * scheduled-triggered flow, such as America/New_York.
*/ inline ScheduledTriggerProperties& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;} /** *Specifies the time zone used when referring to the date and time of a * scheduled-triggered flow, such as America/New_York.
*/ inline ScheduledTriggerProperties& WithTimezone(const char* value) { SetTimezone(value); return *this;} /** *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;} 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; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws