7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace FraudDetector
47 template<
typename RuleIdT = Aws::String>
48 void SetRuleId(RuleIdT&& value) { m_ruleIdHasBeenSet =
true; m_ruleId = std::forward<RuleIdT>(value); }
49 template<
typename RuleIdT = Aws::String>
59 template<
typename OutcomesT = Aws::Vector<Aws::String>>
60 void SetOutcomes(OutcomesT&& value) { m_outcomesHasBeenSet =
true; m_outcomes = std::forward<OutcomesT>(value); }
61 template<
typename OutcomesT = Aws::Vector<Aws::String>>
63 template<
typename OutcomesT = Aws::String>
64 RuleResult&
AddOutcomes(OutcomesT&& value) { m_outcomesHasBeenSet =
true; m_outcomes.emplace_back(std::forward<OutcomesT>(value));
return *
this; }
69 bool m_ruleIdHasBeenSet =
false;
72 bool m_outcomesHasBeenSet =
false;
AWS_FRAUDDETECTOR_API RuleResult & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleResult & WithOutcomes(OutcomesT &&value)
AWS_FRAUDDETECTOR_API RuleResult()=default
const Aws::String & GetRuleId() const
bool OutcomesHasBeenSet() const
void SetRuleId(RuleIdT &&value)
const Aws::Vector< Aws::String > & GetOutcomes() const
AWS_FRAUDDETECTOR_API RuleResult(Aws::Utils::Json::JsonView jsonValue)
bool RuleIdHasBeenSet() const
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOutcomes(OutcomesT &&value)
RuleResult & AddOutcomes(OutcomesT &&value)
RuleResult & WithRuleId(RuleIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue