/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Configuration of the schedule of the query.See Also:
AWS
* API Reference
An expression that denotes when to trigger the scheduled query run. This can * be a cron expression or a rate expression.
*/ inline const Aws::String& GetScheduleExpression() const{ return m_scheduleExpression; } /** *An expression that denotes when to trigger the scheduled query run. This can * be a cron expression or a rate expression.
*/ inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; } /** *An expression that denotes when to trigger the scheduled query run. This can * be a cron expression or a rate expression.
*/ inline void SetScheduleExpression(const Aws::String& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = value; } /** *An expression that denotes when to trigger the scheduled query run. This can * be a cron expression or a rate expression.
*/ inline void SetScheduleExpression(Aws::String&& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = std::move(value); } /** *An expression that denotes when to trigger the scheduled query run. This can * be a cron expression or a rate expression.
*/ inline void SetScheduleExpression(const char* value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression.assign(value); } /** *An expression that denotes when to trigger the scheduled query run. This can * be a cron expression or a rate expression.
*/ inline ScheduleConfiguration& WithScheduleExpression(const Aws::String& value) { SetScheduleExpression(value); return *this;} /** *An expression that denotes when to trigger the scheduled query run. This can * be a cron expression or a rate expression.
*/ inline ScheduleConfiguration& WithScheduleExpression(Aws::String&& value) { SetScheduleExpression(std::move(value)); return *this;} /** *An expression that denotes when to trigger the scheduled query run. This can * be a cron expression or a rate expression.
*/ inline ScheduleConfiguration& WithScheduleExpression(const char* value) { SetScheduleExpression(value); return *this;} private: Aws::String m_scheduleExpression; bool m_scheduleExpressionHasBeenSet = false; }; } // namespace Model } // namespace TimestreamQuery } // namespace Aws