/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A scheduling object using a cron
statement to schedule an
* event.See Also:
AWS API
* Reference
A cron
expression used to specify the schedule (see Time-Based
* Schedules for Jobs and Crawlers. For example, to run something every day at
* 12:15 UTC, you would specify: cron(15 12 * * ? *)
.
A cron
expression used to specify the schedule (see Time-Based
* Schedules for Jobs and Crawlers. For example, to run something every day at
* 12:15 UTC, you would specify: cron(15 12 * * ? *)
.
A cron
expression used to specify the schedule (see Time-Based
* Schedules for Jobs and Crawlers. For example, to run something every day at
* 12:15 UTC, you would specify: cron(15 12 * * ? *)
.
A cron
expression used to specify the schedule (see Time-Based
* Schedules for Jobs and Crawlers. For example, to run something every day at
* 12:15 UTC, you would specify: cron(15 12 * * ? *)
.
A cron
expression used to specify the schedule (see Time-Based
* Schedules for Jobs and Crawlers. For example, to run something every day at
* 12:15 UTC, you would specify: cron(15 12 * * ? *)
.
A cron
expression used to specify the schedule (see Time-Based
* Schedules for Jobs and Crawlers. For example, to run something every day at
* 12:15 UTC, you would specify: cron(15 12 * * ? *)
.
A cron
expression used to specify the schedule (see Time-Based
* Schedules for Jobs and Crawlers. For example, to run something every day at
* 12:15 UTC, you would specify: cron(15 12 * * ? *)
.
A cron
expression used to specify the schedule (see Time-Based
* Schedules for Jobs and Crawlers. For example, to run something every day at
* 12:15 UTC, you would specify: cron(15 12 * * ? *)
.
The state of the schedule.
*/ inline const ScheduleState& GetState() const{ return m_state; } /** *The state of the schedule.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the schedule.
*/ inline void SetState(const ScheduleState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the schedule.
*/ inline void SetState(ScheduleState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the schedule.
*/ inline Schedule& WithState(const ScheduleState& value) { SetState(value); return *this;} /** *The state of the schedule.
*/ inline Schedule& WithState(ScheduleState&& value) { SetState(std::move(value)); return *this;} private: Aws::String m_scheduleExpression; bool m_scheduleExpressionHasBeenSet = false; ScheduleState m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws