AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AggregatedVariablesImpactExplanation.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FraudDetector
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_FRAUDDETECTOR_API AggregatedVariablesImpactExplanation() = default;
44 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::Vector<Aws::String>& GetEventVariableNames() const { return m_eventVariableNames; }
53 inline bool EventVariableNamesHasBeenSet() const { return m_eventVariableNamesHasBeenSet; }
54 template<typename EventVariableNamesT = Aws::Vector<Aws::String>>
55 void SetEventVariableNames(EventVariableNamesT&& value) { m_eventVariableNamesHasBeenSet = true; m_eventVariableNames = std::forward<EventVariableNamesT>(value); }
56 template<typename EventVariableNamesT = Aws::Vector<Aws::String>>
57 AggregatedVariablesImpactExplanation& WithEventVariableNames(EventVariableNamesT&& value) { SetEventVariableNames(std::forward<EventVariableNamesT>(value)); return *this;}
58 template<typename EventVariableNamesT = Aws::String>
59 AggregatedVariablesImpactExplanation& AddEventVariableNames(EventVariableNamesT&& value) { m_eventVariableNamesHasBeenSet = true; m_eventVariableNames.emplace_back(std::forward<EventVariableNamesT>(value)); return *this; }
61
63
67 inline const Aws::String& GetRelativeImpact() const { return m_relativeImpact; }
68 inline bool RelativeImpactHasBeenSet() const { return m_relativeImpactHasBeenSet; }
69 template<typename RelativeImpactT = Aws::String>
70 void SetRelativeImpact(RelativeImpactT&& value) { m_relativeImpactHasBeenSet = true; m_relativeImpact = std::forward<RelativeImpactT>(value); }
71 template<typename RelativeImpactT = Aws::String>
72 AggregatedVariablesImpactExplanation& WithRelativeImpact(RelativeImpactT&& value) { SetRelativeImpact(std::forward<RelativeImpactT>(value)); return *this;}
74
76
83 inline double GetLogOddsImpact() const { return m_logOddsImpact; }
84 inline bool LogOddsImpactHasBeenSet() const { return m_logOddsImpactHasBeenSet; }
85 inline void SetLogOddsImpact(double value) { m_logOddsImpactHasBeenSet = true; m_logOddsImpact = value; }
86 inline AggregatedVariablesImpactExplanation& WithLogOddsImpact(double value) { SetLogOddsImpact(value); return *this;}
88 private:
89
90 Aws::Vector<Aws::String> m_eventVariableNames;
91 bool m_eventVariableNamesHasBeenSet = false;
92
93 Aws::String m_relativeImpact;
94 bool m_relativeImpactHasBeenSet = false;
95
96 double m_logOddsImpact{0.0};
97 bool m_logOddsImpactHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace FraudDetector
102} // namespace Aws
AWS_FRAUDDETECTOR_API AggregatedVariablesImpactExplanation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API AggregatedVariablesImpactExplanation()=default
AggregatedVariablesImpactExplanation & WithRelativeImpact(RelativeImpactT &&value)
AggregatedVariablesImpactExplanation & AddEventVariableNames(EventVariableNamesT &&value)
AggregatedVariablesImpactExplanation & WithEventVariableNames(EventVariableNamesT &&value)
AWS_FRAUDDETECTOR_API AggregatedVariablesImpactExplanation(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue