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

The prediction explanations that provide insight into how each event * variable impacted the model version's fraud prediction score.

See * Also:

AWS * API Reference

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

The details of the event variable's impact on the prediction score.

*/ inline const Aws::Vector& GetVariableImpactExplanations() const{ return m_variableImpactExplanations; } /** *

The details of the event variable's impact on the prediction score.

*/ inline bool VariableImpactExplanationsHasBeenSet() const { return m_variableImpactExplanationsHasBeenSet; } /** *

The details of the event variable's impact on the prediction score.

*/ inline void SetVariableImpactExplanations(const Aws::Vector& value) { m_variableImpactExplanationsHasBeenSet = true; m_variableImpactExplanations = value; } /** *

The details of the event variable's impact on the prediction score.

*/ inline void SetVariableImpactExplanations(Aws::Vector&& value) { m_variableImpactExplanationsHasBeenSet = true; m_variableImpactExplanations = std::move(value); } /** *

The details of the event variable's impact on the prediction score.

*/ inline PredictionExplanations& WithVariableImpactExplanations(const Aws::Vector& value) { SetVariableImpactExplanations(value); return *this;} /** *

The details of the event variable's impact on the prediction score.

*/ inline PredictionExplanations& WithVariableImpactExplanations(Aws::Vector&& value) { SetVariableImpactExplanations(std::move(value)); return *this;} /** *

The details of the event variable's impact on the prediction score.

*/ inline PredictionExplanations& AddVariableImpactExplanations(const VariableImpactExplanation& value) { m_variableImpactExplanationsHasBeenSet = true; m_variableImpactExplanations.push_back(value); return *this; } /** *

The details of the event variable's impact on the prediction score.

*/ inline PredictionExplanations& AddVariableImpactExplanations(VariableImpactExplanation&& value) { m_variableImpactExplanationsHasBeenSet = true; m_variableImpactExplanations.push_back(std::move(value)); return *this; } /** *

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

*

Account Takeover Insights (ATI) model uses event variables from the login * data you provide to continuously calculate a set of variables (aggregated * variables) based on historical events. For example, your ATI 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.

*/ inline const Aws::Vector& GetAggregatedVariablesImpactExplanations() const{ return m_aggregatedVariablesImpactExplanations; } /** *

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

*

Account Takeover Insights (ATI) model uses event variables from the login * data you provide to continuously calculate a set of variables (aggregated * variables) based on historical events. For example, your ATI 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.

*/ inline bool AggregatedVariablesImpactExplanationsHasBeenSet() const { return m_aggregatedVariablesImpactExplanationsHasBeenSet; } /** *

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

*

Account Takeover Insights (ATI) model uses event variables from the login * data you provide to continuously calculate a set of variables (aggregated * variables) based on historical events. For example, your ATI 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.

*/ inline void SetAggregatedVariablesImpactExplanations(const Aws::Vector& value) { m_aggregatedVariablesImpactExplanationsHasBeenSet = true; m_aggregatedVariablesImpactExplanations = value; } /** *

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

*

Account Takeover Insights (ATI) model uses event variables from the login * data you provide to continuously calculate a set of variables (aggregated * variables) based on historical events. For example, your ATI 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.

*/ inline void SetAggregatedVariablesImpactExplanations(Aws::Vector&& value) { m_aggregatedVariablesImpactExplanationsHasBeenSet = true; m_aggregatedVariablesImpactExplanations = std::move(value); } /** *

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

*

Account Takeover Insights (ATI) model uses event variables from the login * data you provide to continuously calculate a set of variables (aggregated * variables) based on historical events. For example, your ATI 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.

*/ inline PredictionExplanations& WithAggregatedVariablesImpactExplanations(const Aws::Vector& value) { SetAggregatedVariablesImpactExplanations(value); return *this;} /** *

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

*

Account Takeover Insights (ATI) model uses event variables from the login * data you provide to continuously calculate a set of variables (aggregated * variables) based on historical events. For example, your ATI 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.

*/ inline PredictionExplanations& WithAggregatedVariablesImpactExplanations(Aws::Vector&& value) { SetAggregatedVariablesImpactExplanations(std::move(value)); return *this;} /** *

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

*

Account Takeover Insights (ATI) model uses event variables from the login * data you provide to continuously calculate a set of variables (aggregated * variables) based on historical events. For example, your ATI 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.

*/ inline PredictionExplanations& AddAggregatedVariablesImpactExplanations(const AggregatedVariablesImpactExplanation& value) { m_aggregatedVariablesImpactExplanationsHasBeenSet = true; m_aggregatedVariablesImpactExplanations.push_back(value); return *this; } /** *

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

*

Account Takeover Insights (ATI) model uses event variables from the login * data you provide to continuously calculate a set of variables (aggregated * variables) based on historical events. For example, your ATI 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.

*/ inline PredictionExplanations& AddAggregatedVariablesImpactExplanations(AggregatedVariablesImpactExplanation&& value) { m_aggregatedVariablesImpactExplanationsHasBeenSet = true; m_aggregatedVariablesImpactExplanations.push_back(std::move(value)); return *this; } private: Aws::Vector m_variableImpactExplanations; bool m_variableImpactExplanationsHasBeenSet = false; Aws::Vector m_aggregatedVariablesImpactExplanations; bool m_aggregatedVariablesImpactExplanationsHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws