/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines when your alarm is invoked.See Also:
AWS
* API Reference
A rule that compares an input property value to a threshold value with a * comparison operator.
*/ inline const SimpleRule& GetSimpleRule() const{ return m_simpleRule; } /** *A rule that compares an input property value to a threshold value with a * comparison operator.
*/ inline bool SimpleRuleHasBeenSet() const { return m_simpleRuleHasBeenSet; } /** *A rule that compares an input property value to a threshold value with a * comparison operator.
*/ inline void SetSimpleRule(const SimpleRule& value) { m_simpleRuleHasBeenSet = true; m_simpleRule = value; } /** *A rule that compares an input property value to a threshold value with a * comparison operator.
*/ inline void SetSimpleRule(SimpleRule&& value) { m_simpleRuleHasBeenSet = true; m_simpleRule = std::move(value); } /** *A rule that compares an input property value to a threshold value with a * comparison operator.
*/ inline AlarmRule& WithSimpleRule(const SimpleRule& value) { SetSimpleRule(value); return *this;} /** *A rule that compares an input property value to a threshold value with a * comparison operator.
*/ inline AlarmRule& WithSimpleRule(SimpleRule&& value) { SetSimpleRule(std::move(value)); return *this;} private: SimpleRule m_simpleRule; bool m_simpleRuleHasBeenSet = false; }; } // namespace Model } // namespace IoTEvents } // namespace Aws