AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VariableImpactExplanation.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FraudDetector
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_FRAUDDETECTOR_API VariableImpactExplanation() = default;
36 AWS_FRAUDDETECTOR_API VariableImpactExplanation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEventVariableName() const { return m_eventVariableName; }
46 inline bool EventVariableNameHasBeenSet() const { return m_eventVariableNameHasBeenSet; }
47 template<typename EventVariableNameT = Aws::String>
48 void SetEventVariableName(EventVariableNameT&& value) { m_eventVariableNameHasBeenSet = true; m_eventVariableName = std::forward<EventVariableNameT>(value); }
49 template<typename EventVariableNameT = Aws::String>
50 VariableImpactExplanation& WithEventVariableName(EventVariableNameT&& value) { SetEventVariableName(std::forward<EventVariableNameT>(value)); return *this;}
52
54
59 inline const Aws::String& GetRelativeImpact() const { return m_relativeImpact; }
60 inline bool RelativeImpactHasBeenSet() const { return m_relativeImpactHasBeenSet; }
61 template<typename RelativeImpactT = Aws::String>
62 void SetRelativeImpact(RelativeImpactT&& value) { m_relativeImpactHasBeenSet = true; m_relativeImpact = std::forward<RelativeImpactT>(value); }
63 template<typename RelativeImpactT = Aws::String>
64 VariableImpactExplanation& WithRelativeImpact(RelativeImpactT&& value) { SetRelativeImpact(std::forward<RelativeImpactT>(value)); return *this;}
66
68
75 inline double GetLogOddsImpact() const { return m_logOddsImpact; }
76 inline bool LogOddsImpactHasBeenSet() const { return m_logOddsImpactHasBeenSet; }
77 inline void SetLogOddsImpact(double value) { m_logOddsImpactHasBeenSet = true; m_logOddsImpact = value; }
78 inline VariableImpactExplanation& WithLogOddsImpact(double value) { SetLogOddsImpact(value); return *this;}
80 private:
81
82 Aws::String m_eventVariableName;
83 bool m_eventVariableNameHasBeenSet = false;
84
85 Aws::String m_relativeImpact;
86 bool m_relativeImpactHasBeenSet = false;
87
88 double m_logOddsImpact{0.0};
89 bool m_logOddsImpactHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace FraudDetector
94} // namespace Aws
AWS_FRAUDDETECTOR_API VariableImpactExplanation()=default
AWS_FRAUDDETECTOR_API VariableImpactExplanation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API VariableImpactExplanation(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
VariableImpactExplanation & WithRelativeImpact(RelativeImpactT &&value)
VariableImpactExplanation & WithLogOddsImpact(double value)
VariableImpactExplanation & WithEventVariableName(EventVariableNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue