7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace FraudDetector
34 AWS_FRAUDDETECTOR_API
Rule() =
default;
46 template<
typename DetectorIdT = Aws::String>
47 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet =
true; m_detectorId = std::forward<DetectorIdT>(value); }
48 template<
typename DetectorIdT = Aws::String>
58 template<
typename RuleIdT = Aws::String>
59 void SetRuleId(RuleIdT&& value) { m_ruleIdHasBeenSet =
true; m_ruleId = std::forward<RuleIdT>(value); }
60 template<
typename RuleIdT = Aws::String>
70 template<
typename RuleVersionT = Aws::String>
71 void SetRuleVersion(RuleVersionT&& value) { m_ruleVersionHasBeenSet =
true; m_ruleVersion = std::forward<RuleVersionT>(value); }
72 template<
typename RuleVersionT = Aws::String>
78 bool m_detectorIdHasBeenSet =
false;
81 bool m_ruleIdHasBeenSet =
false;
84 bool m_ruleVersionHasBeenSet =
false;
Rule & WithRuleVersion(RuleVersionT &&value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRuleVersion() const
AWS_FRAUDDETECTOR_API Rule()=default
Rule & WithRuleId(RuleIdT &&value)
bool DetectorIdHasBeenSet() const
const Aws::String & GetDetectorId() const
AWS_FRAUDDETECTOR_API Rule(Aws::Utils::Json::JsonView jsonValue)
bool RuleVersionHasBeenSet() const
Rule & WithDetectorId(DetectorIdT &&value)
const Aws::String & GetRuleId() const
AWS_FRAUDDETECTOR_API Rule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRuleVersion(RuleVersionT &&value)
bool RuleIdHasBeenSet() const
void SetRuleId(RuleIdT &&value)
void SetDetectorId(DetectorIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue