/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The rule results.See Also:
AWS
* API Reference
The rule ID that was matched, based on the rule execution mode.
*/ inline const Aws::String& GetRuleId() const{ return m_ruleId; } /** *The rule ID that was matched, based on the rule execution mode.
*/ inline bool RuleIdHasBeenSet() const { return m_ruleIdHasBeenSet; } /** *The rule ID that was matched, based on the rule execution mode.
*/ inline void SetRuleId(const Aws::String& value) { m_ruleIdHasBeenSet = true; m_ruleId = value; } /** *The rule ID that was matched, based on the rule execution mode.
*/ inline void SetRuleId(Aws::String&& value) { m_ruleIdHasBeenSet = true; m_ruleId = std::move(value); } /** *The rule ID that was matched, based on the rule execution mode.
*/ inline void SetRuleId(const char* value) { m_ruleIdHasBeenSet = true; m_ruleId.assign(value); } /** *The rule ID that was matched, based on the rule execution mode.
*/ inline RuleResult& WithRuleId(const Aws::String& value) { SetRuleId(value); return *this;} /** *The rule ID that was matched, based on the rule execution mode.
*/ inline RuleResult& WithRuleId(Aws::String&& value) { SetRuleId(std::move(value)); return *this;} /** *The rule ID that was matched, based on the rule execution mode.
*/ inline RuleResult& WithRuleId(const char* value) { SetRuleId(value); return *this;} /** *The outcomes of the matched rule, based on the rule execution mode.
*/ inline const Aws::VectorThe outcomes of the matched rule, based on the rule execution mode.
*/ inline bool OutcomesHasBeenSet() const { return m_outcomesHasBeenSet; } /** *The outcomes of the matched rule, based on the rule execution mode.
*/ inline void SetOutcomes(const Aws::VectorThe outcomes of the matched rule, based on the rule execution mode.
*/ inline void SetOutcomes(Aws::VectorThe outcomes of the matched rule, based on the rule execution mode.
*/ inline RuleResult& WithOutcomes(const Aws::VectorThe outcomes of the matched rule, based on the rule execution mode.
*/ inline RuleResult& WithOutcomes(Aws::VectorThe outcomes of the matched rule, based on the rule execution mode.
*/ inline RuleResult& AddOutcomes(const Aws::String& value) { m_outcomesHasBeenSet = true; m_outcomes.push_back(value); return *this; } /** *The outcomes of the matched rule, based on the rule execution mode.
*/ inline RuleResult& AddOutcomes(Aws::String&& value) { m_outcomesHasBeenSet = true; m_outcomes.push_back(std::move(value)); return *this; } /** *The outcomes of the matched rule, based on the rule execution mode.
*/ inline RuleResult& AddOutcomes(const char* value) { m_outcomesHasBeenSet = true; m_outcomes.push_back(value); return *this; } private: Aws::String m_ruleId; bool m_ruleIdHasBeenSet = false; Aws::Vector