/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The schedule for when to trigger an update.See Also:
AWS
* API Reference
The expression that defines when to trigger an update. For more information, * see Schedule * Expressions for Rules in the Amazon CloudWatch Events User Guide.
*/ inline const Aws::String& GetExpression() const{ return m_expression; } /** *The expression that defines when to trigger an update. For more information, * see Schedule * Expressions for Rules in the Amazon CloudWatch Events User Guide.
*/ inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; } /** *The expression that defines when to trigger an update. For more information, * see Schedule * Expressions for Rules in the Amazon CloudWatch Events User Guide.
*/ inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; } /** *The expression that defines when to trigger an update. For more information, * see Schedule * Expressions for Rules in the Amazon CloudWatch Events User Guide.
*/ inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); } /** *The expression that defines when to trigger an update. For more information, * see Schedule * Expressions for Rules in the Amazon CloudWatch Events User Guide.
*/ inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); } /** *The expression that defines when to trigger an update. For more information, * see Schedule * Expressions for Rules in the Amazon CloudWatch Events User Guide.
*/ inline Schedule& WithExpression(const Aws::String& value) { SetExpression(value); return *this;} /** *The expression that defines when to trigger an update. For more information, * see Schedule * Expressions for Rules in the Amazon CloudWatch Events User Guide.
*/ inline Schedule& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;} /** *The expression that defines when to trigger an update. For more information, * see Schedule * Expressions for Rules in the Amazon CloudWatch Events User Guide.
*/ inline Schedule& WithExpression(const char* value) { SetExpression(value); return *this;} private: Aws::String m_expression; bool m_expressionHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws