/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A rule.See Also:
AWS
* API Reference
The detector for which the rule is associated.
*/ inline const Aws::String& GetDetectorId() const{ return m_detectorId; } /** *The detector for which the rule is associated.
*/ inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; } /** *The detector for which the rule is associated.
*/ inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; } /** *The detector for which the rule is associated.
*/ inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); } /** *The detector for which the rule is associated.
*/ inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); } /** *The detector for which the rule is associated.
*/ inline Rule& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;} /** *The detector for which the rule is associated.
*/ inline Rule& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;} /** *The detector for which the rule is associated.
*/ inline Rule& WithDetectorId(const char* value) { SetDetectorId(value); return *this;} /** *The rule ID.
*/ inline const Aws::String& GetRuleId() const{ return m_ruleId; } /** *The rule ID.
*/ inline bool RuleIdHasBeenSet() const { return m_ruleIdHasBeenSet; } /** *The rule ID.
*/ inline void SetRuleId(const Aws::String& value) { m_ruleIdHasBeenSet = true; m_ruleId = value; } /** *The rule ID.
*/ inline void SetRuleId(Aws::String&& value) { m_ruleIdHasBeenSet = true; m_ruleId = std::move(value); } /** *The rule ID.
*/ inline void SetRuleId(const char* value) { m_ruleIdHasBeenSet = true; m_ruleId.assign(value); } /** *The rule ID.
*/ inline Rule& WithRuleId(const Aws::String& value) { SetRuleId(value); return *this;} /** *The rule ID.
*/ inline Rule& WithRuleId(Aws::String&& value) { SetRuleId(std::move(value)); return *this;} /** *The rule ID.
*/ inline Rule& WithRuleId(const char* value) { SetRuleId(value); return *this;} /** *The rule version.
*/ inline const Aws::String& GetRuleVersion() const{ return m_ruleVersion; } /** *The rule version.
*/ inline bool RuleVersionHasBeenSet() const { return m_ruleVersionHasBeenSet; } /** *The rule version.
*/ inline void SetRuleVersion(const Aws::String& value) { m_ruleVersionHasBeenSet = true; m_ruleVersion = value; } /** *The rule version.
*/ inline void SetRuleVersion(Aws::String&& value) { m_ruleVersionHasBeenSet = true; m_ruleVersion = std::move(value); } /** *The rule version.
*/ inline void SetRuleVersion(const char* value) { m_ruleVersionHasBeenSet = true; m_ruleVersion.assign(value); } /** *The rule version.
*/ inline Rule& WithRuleVersion(const Aws::String& value) { SetRuleVersion(value); return *this;} /** *The rule version.
*/ inline Rule& WithRuleVersion(Aws::String&& value) { SetRuleVersion(std::move(value)); return *this;} /** *The rule version.
*/ inline Rule& WithRuleVersion(const char* value) { SetRuleVersion(value); return *this;} private: Aws::String m_detectorId; bool m_detectorIdHasBeenSet = false; Aws::String m_ruleId; bool m_ruleIdHasBeenSet = false; Aws::String m_ruleVersion; bool m_ruleVersionHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws