AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEventVariableName(const Aws::String& value) { m_eventVariableNameHasBeenSet = true; m_eventVariableName = value; }
48 inline void SetEventVariableName(Aws::String&& value) { m_eventVariableNameHasBeenSet = true; m_eventVariableName = std::move(value); }
49 inline void SetEventVariableName(const char* value) { m_eventVariableNameHasBeenSet = true; m_eventVariableName.assign(value); }
51 inline VariableImpactExplanation& WithEventVariableName(Aws::String&& value) { SetEventVariableName(std::move(value)); return *this;}
52 inline VariableImpactExplanation& WithEventVariableName(const char* value) { SetEventVariableName(value); return *this;}
54
56
61 inline const Aws::String& GetRelativeImpact() const{ return m_relativeImpact; }
62 inline bool RelativeImpactHasBeenSet() const { return m_relativeImpactHasBeenSet; }
63 inline void SetRelativeImpact(const Aws::String& value) { m_relativeImpactHasBeenSet = true; m_relativeImpact = value; }
64 inline void SetRelativeImpact(Aws::String&& value) { m_relativeImpactHasBeenSet = true; m_relativeImpact = std::move(value); }
65 inline void SetRelativeImpact(const char* value) { m_relativeImpactHasBeenSet = true; m_relativeImpact.assign(value); }
66 inline VariableImpactExplanation& WithRelativeImpact(const Aws::String& value) { SetRelativeImpact(value); return *this;}
67 inline VariableImpactExplanation& WithRelativeImpact(Aws::String&& value) { SetRelativeImpact(std::move(value)); return *this;}
68 inline VariableImpactExplanation& WithRelativeImpact(const char* value) { SetRelativeImpact(value); return *this;}
70
72
79 inline double GetLogOddsImpact() const{ return m_logOddsImpact; }
80 inline bool LogOddsImpactHasBeenSet() const { return m_logOddsImpactHasBeenSet; }
81 inline void SetLogOddsImpact(double value) { m_logOddsImpactHasBeenSet = true; m_logOddsImpact = value; }
82 inline VariableImpactExplanation& WithLogOddsImpact(double value) { SetLogOddsImpact(value); return *this;}
84 private:
85
86 Aws::String m_eventVariableName;
87 bool m_eventVariableNameHasBeenSet = false;
88
89 Aws::String m_relativeImpact;
90 bool m_relativeImpactHasBeenSet = false;
91
92 double m_logOddsImpact;
93 bool m_logOddsImpactHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace FraudDetector
98} // namespace Aws
VariableImpactExplanation & WithRelativeImpact(Aws::String &&value)
VariableImpactExplanation & WithRelativeImpact(const Aws::String &value)
AWS_FRAUDDETECTOR_API VariableImpactExplanation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API VariableImpactExplanation(Aws::Utils::Json::JsonView jsonValue)
VariableImpactExplanation & WithEventVariableName(const char *value)
VariableImpactExplanation & WithEventVariableName(Aws::String &&value)
VariableImpactExplanation & WithRelativeImpact(const char *value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
VariableImpactExplanation & WithEventVariableName(const Aws::String &value)
VariableImpactExplanation & WithLogOddsImpact(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue