AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PredictionExplanations.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/frauddetector/model/VariableImpactExplanation.h>
10#include <aws/frauddetector/model/AggregatedVariablesImpactExplanation.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FraudDetector
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_FRAUDDETECTOR_API PredictionExplanations();
39 AWS_FRAUDDETECTOR_API PredictionExplanations(Aws::Utils::Json::JsonView jsonValue);
41 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Vector<VariableImpactExplanation>& GetVariableImpactExplanations() const{ return m_variableImpactExplanations; }
49 inline bool VariableImpactExplanationsHasBeenSet() const { return m_variableImpactExplanationsHasBeenSet; }
50 inline void SetVariableImpactExplanations(const Aws::Vector<VariableImpactExplanation>& value) { m_variableImpactExplanationsHasBeenSet = true; m_variableImpactExplanations = value; }
51 inline void SetVariableImpactExplanations(Aws::Vector<VariableImpactExplanation>&& value) { m_variableImpactExplanationsHasBeenSet = true; m_variableImpactExplanations = std::move(value); }
54 inline PredictionExplanations& AddVariableImpactExplanations(const VariableImpactExplanation& value) { m_variableImpactExplanationsHasBeenSet = true; m_variableImpactExplanations.push_back(value); return *this; }
55 inline PredictionExplanations& AddVariableImpactExplanations(VariableImpactExplanation&& value) { m_variableImpactExplanationsHasBeenSet = true; m_variableImpactExplanations.push_back(std::move(value)); return *this; }
57
59
68 inline const Aws::Vector<AggregatedVariablesImpactExplanation>& GetAggregatedVariablesImpactExplanations() const{ return m_aggregatedVariablesImpactExplanations; }
69 inline bool AggregatedVariablesImpactExplanationsHasBeenSet() const { return m_aggregatedVariablesImpactExplanationsHasBeenSet; }
70 inline void SetAggregatedVariablesImpactExplanations(const Aws::Vector<AggregatedVariablesImpactExplanation>& value) { m_aggregatedVariablesImpactExplanationsHasBeenSet = true; m_aggregatedVariablesImpactExplanations = value; }
71 inline void SetAggregatedVariablesImpactExplanations(Aws::Vector<AggregatedVariablesImpactExplanation>&& value) { m_aggregatedVariablesImpactExplanationsHasBeenSet = true; m_aggregatedVariablesImpactExplanations = std::move(value); }
74 inline PredictionExplanations& AddAggregatedVariablesImpactExplanations(const AggregatedVariablesImpactExplanation& value) { m_aggregatedVariablesImpactExplanationsHasBeenSet = true; m_aggregatedVariablesImpactExplanations.push_back(value); return *this; }
75 inline PredictionExplanations& AddAggregatedVariablesImpactExplanations(AggregatedVariablesImpactExplanation&& value) { m_aggregatedVariablesImpactExplanationsHasBeenSet = true; m_aggregatedVariablesImpactExplanations.push_back(std::move(value)); return *this; }
77 private:
78
79 Aws::Vector<VariableImpactExplanation> m_variableImpactExplanations;
80 bool m_variableImpactExplanationsHasBeenSet = false;
81
82 Aws::Vector<AggregatedVariablesImpactExplanation> m_aggregatedVariablesImpactExplanations;
83 bool m_aggregatedVariablesImpactExplanationsHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace FraudDetector
88} // namespace Aws
void SetAggregatedVariablesImpactExplanations(const Aws::Vector< AggregatedVariablesImpactExplanation > &value)
PredictionExplanations & WithAggregatedVariablesImpactExplanations(Aws::Vector< AggregatedVariablesImpactExplanation > &&value)
AWS_FRAUDDETECTOR_API PredictionExplanations(Aws::Utils::Json::JsonView jsonValue)
void SetAggregatedVariablesImpactExplanations(Aws::Vector< AggregatedVariablesImpactExplanation > &&value)
PredictionExplanations & AddVariableImpactExplanations(const VariableImpactExplanation &value)
AWS_FRAUDDETECTOR_API PredictionExplanations & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AggregatedVariablesImpactExplanation > & GetAggregatedVariablesImpactExplanations() const
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVariableImpactExplanations(Aws::Vector< VariableImpactExplanation > &&value)
const Aws::Vector< VariableImpactExplanation > & GetVariableImpactExplanations() const
PredictionExplanations & AddAggregatedVariablesImpactExplanations(AggregatedVariablesImpactExplanation &&value)
PredictionExplanations & WithVariableImpactExplanations(Aws::Vector< VariableImpactExplanation > &&value)
PredictionExplanations & WithAggregatedVariablesImpactExplanations(const Aws::Vector< AggregatedVariablesImpactExplanation > &value)
PredictionExplanations & AddAggregatedVariablesImpactExplanations(const AggregatedVariablesImpactExplanation &value)
PredictionExplanations & WithVariableImpactExplanations(const Aws::Vector< VariableImpactExplanation > &value)
PredictionExplanations & AddVariableImpactExplanations(VariableImpactExplanation &&value)
void SetVariableImpactExplanations(const Aws::Vector< VariableImpactExplanation > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue