/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTEventsData { namespace Model { /** *

Information needed to evaluate data.

See Also:

AWS * API Reference

*/ class RuleEvaluation { public: AWS_IOTEVENTSDATA_API RuleEvaluation(); AWS_IOTEVENTSDATA_API RuleEvaluation(Aws::Utils::Json::JsonView jsonValue); AWS_IOTEVENTSDATA_API RuleEvaluation& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Information needed to compare two values with a comparison operator.

*/ inline const SimpleRuleEvaluation& GetSimpleRuleEvaluation() const{ return m_simpleRuleEvaluation; } /** *

Information needed to compare two values with a comparison operator.

*/ inline bool SimpleRuleEvaluationHasBeenSet() const { return m_simpleRuleEvaluationHasBeenSet; } /** *

Information needed to compare two values with a comparison operator.

*/ inline void SetSimpleRuleEvaluation(const SimpleRuleEvaluation& value) { m_simpleRuleEvaluationHasBeenSet = true; m_simpleRuleEvaluation = value; } /** *

Information needed to compare two values with a comparison operator.

*/ inline void SetSimpleRuleEvaluation(SimpleRuleEvaluation&& value) { m_simpleRuleEvaluationHasBeenSet = true; m_simpleRuleEvaluation = std::move(value); } /** *

Information needed to compare two values with a comparison operator.

*/ inline RuleEvaluation& WithSimpleRuleEvaluation(const SimpleRuleEvaluation& value) { SetSimpleRuleEvaluation(value); return *this;} /** *

Information needed to compare two values with a comparison operator.

*/ inline RuleEvaluation& WithSimpleRuleEvaluation(SimpleRuleEvaluation&& value) { SetSimpleRuleEvaluation(std::move(value)); return *this;} private: SimpleRuleEvaluation m_simpleRuleEvaluation; bool m_simpleRuleEvaluationHasBeenSet = false; }; } // namespace Model } // namespace IoTEventsData } // namespace Aws