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

The details of the impact of aggregated variables on the prediction score. *

Account Takeover Insights (ATI) model uses the login data you provide to * continuously calculate a set of variables (aggregated variables) based on * historical events. For example, the model might calculate the number of times an * user has logged in using the same IP address. In this case, event variables used * to derive the aggregated variables are IP address and * user.

See Also:

AWS * API Reference

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

The names of all the event variables that were used to derive the aggregated * variables.

*/ inline const Aws::Vector& GetEventVariableNames() const{ return m_eventVariableNames; } /** *

The names of all the event variables that were used to derive the aggregated * variables.

*/ inline bool EventVariableNamesHasBeenSet() const { return m_eventVariableNamesHasBeenSet; } /** *

The names of all the event variables that were used to derive the aggregated * variables.

*/ inline void SetEventVariableNames(const Aws::Vector& value) { m_eventVariableNamesHasBeenSet = true; m_eventVariableNames = value; } /** *

The names of all the event variables that were used to derive the aggregated * variables.

*/ inline void SetEventVariableNames(Aws::Vector&& value) { m_eventVariableNamesHasBeenSet = true; m_eventVariableNames = std::move(value); } /** *

The names of all the event variables that were used to derive the aggregated * variables.

*/ inline AggregatedVariablesImpactExplanation& WithEventVariableNames(const Aws::Vector& value) { SetEventVariableNames(value); return *this;} /** *

The names of all the event variables that were used to derive the aggregated * variables.

*/ inline AggregatedVariablesImpactExplanation& WithEventVariableNames(Aws::Vector&& value) { SetEventVariableNames(std::move(value)); return *this;} /** *

The names of all the event variables that were used to derive the aggregated * variables.

*/ inline AggregatedVariablesImpactExplanation& AddEventVariableNames(const Aws::String& value) { m_eventVariableNamesHasBeenSet = true; m_eventVariableNames.push_back(value); return *this; } /** *

The names of all the event variables that were used to derive the aggregated * variables.

*/ inline AggregatedVariablesImpactExplanation& AddEventVariableNames(Aws::String&& value) { m_eventVariableNamesHasBeenSet = true; m_eventVariableNames.push_back(std::move(value)); return *this; } /** *

The names of all the event variables that were used to derive the aggregated * variables.

*/ inline AggregatedVariablesImpactExplanation& AddEventVariableNames(const char* value) { m_eventVariableNamesHasBeenSet = true; m_eventVariableNames.push_back(value); return *this; } /** *

The relative impact of the aggregated variables in terms of magnitude on the * prediction scores.

*/ inline const Aws::String& GetRelativeImpact() const{ return m_relativeImpact; } /** *

The relative impact of the aggregated variables in terms of magnitude on the * prediction scores.

*/ inline bool RelativeImpactHasBeenSet() const { return m_relativeImpactHasBeenSet; } /** *

The relative impact of the aggregated variables in terms of magnitude on the * prediction scores.

*/ inline void SetRelativeImpact(const Aws::String& value) { m_relativeImpactHasBeenSet = true; m_relativeImpact = value; } /** *

The relative impact of the aggregated variables in terms of magnitude on the * prediction scores.

*/ inline void SetRelativeImpact(Aws::String&& value) { m_relativeImpactHasBeenSet = true; m_relativeImpact = std::move(value); } /** *

The relative impact of the aggregated variables in terms of magnitude on the * prediction scores.

*/ inline void SetRelativeImpact(const char* value) { m_relativeImpactHasBeenSet = true; m_relativeImpact.assign(value); } /** *

The relative impact of the aggregated variables in terms of magnitude on the * prediction scores.

*/ inline AggregatedVariablesImpactExplanation& WithRelativeImpact(const Aws::String& value) { SetRelativeImpact(value); return *this;} /** *

The relative impact of the aggregated variables in terms of magnitude on the * prediction scores.

*/ inline AggregatedVariablesImpactExplanation& WithRelativeImpact(Aws::String&& value) { SetRelativeImpact(std::move(value)); return *this;} /** *

The relative impact of the aggregated variables in terms of magnitude on the * prediction scores.

*/ inline AggregatedVariablesImpactExplanation& WithRelativeImpact(const char* value) { SetRelativeImpact(value); return *this;} /** *

The raw, uninterpreted value represented as log-odds of the fraud. These * values are usually between -10 to +10, but range from -infinity to * +infinity.

  • A positive value indicates that the variables drove * the risk score up.

  • A negative value indicates that the * variables drove the risk score down.

*/ inline double GetLogOddsImpact() const{ return m_logOddsImpact; } /** *

The raw, uninterpreted value represented as log-odds of the fraud. These * values are usually between -10 to +10, but range from -infinity to * +infinity.

  • A positive value indicates that the variables drove * the risk score up.

  • A negative value indicates that the * variables drove the risk score down.

*/ inline bool LogOddsImpactHasBeenSet() const { return m_logOddsImpactHasBeenSet; } /** *

The raw, uninterpreted value represented as log-odds of the fraud. These * values are usually between -10 to +10, but range from -infinity to * +infinity.

  • A positive value indicates that the variables drove * the risk score up.

  • A negative value indicates that the * variables drove the risk score down.

*/ inline void SetLogOddsImpact(double value) { m_logOddsImpactHasBeenSet = true; m_logOddsImpact = value; } /** *

The raw, uninterpreted value represented as log-odds of the fraud. These * values are usually between -10 to +10, but range from -infinity to * +infinity.

  • A positive value indicates that the variables drove * the risk score up.

  • A negative value indicates that the * variables drove the risk score down.

*/ inline AggregatedVariablesImpactExplanation& WithLogOddsImpact(double value) { SetLogOddsImpact(value); return *this;} private: Aws::Vector m_eventVariableNames; bool m_eventVariableNamesHasBeenSet = false; Aws::String m_relativeImpact; bool m_relativeImpactHasBeenSet = false; double m_logOddsImpact; bool m_logOddsImpactHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws