AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEventVariableNames(const Aws::Vector<Aws::String>& value) { m_eventVariableNamesHasBeenSet = true; m_eventVariableNames = value; }
55 inline void SetEventVariableNames(Aws::Vector<Aws::String>&& value) { m_eventVariableNamesHasBeenSet = true; m_eventVariableNames = std::move(value); }
58 inline AggregatedVariablesImpactExplanation& AddEventVariableNames(const Aws::String& value) { m_eventVariableNamesHasBeenSet = true; m_eventVariableNames.push_back(value); return *this; }
59 inline AggregatedVariablesImpactExplanation& AddEventVariableNames(Aws::String&& value) { m_eventVariableNamesHasBeenSet = true; m_eventVariableNames.push_back(std::move(value)); return *this; }
60 inline AggregatedVariablesImpactExplanation& AddEventVariableNames(const char* value) { m_eventVariableNamesHasBeenSet = true; m_eventVariableNames.push_back(value); return *this; }
62
64
68 inline const Aws::String& GetRelativeImpact() const{ return m_relativeImpact; }
69 inline bool RelativeImpactHasBeenSet() const { return m_relativeImpactHasBeenSet; }
70 inline void SetRelativeImpact(const Aws::String& value) { m_relativeImpactHasBeenSet = true; m_relativeImpact = value; }
71 inline void SetRelativeImpact(Aws::String&& value) { m_relativeImpactHasBeenSet = true; m_relativeImpact = std::move(value); }
72 inline void SetRelativeImpact(const char* value) { m_relativeImpactHasBeenSet = true; m_relativeImpact.assign(value); }
74 inline AggregatedVariablesImpactExplanation& WithRelativeImpact(Aws::String&& value) { SetRelativeImpact(std::move(value)); return *this;}
75 inline AggregatedVariablesImpactExplanation& WithRelativeImpact(const char* value) { SetRelativeImpact(value); return *this;}
77
79
86 inline double GetLogOddsImpact() const{ return m_logOddsImpact; }
87 inline bool LogOddsImpactHasBeenSet() const { return m_logOddsImpactHasBeenSet; }
88 inline void SetLogOddsImpact(double value) { m_logOddsImpactHasBeenSet = true; m_logOddsImpact = value; }
89 inline AggregatedVariablesImpactExplanation& WithLogOddsImpact(double value) { SetLogOddsImpact(value); return *this;}
91 private:
92
93 Aws::Vector<Aws::String> m_eventVariableNames;
94 bool m_eventVariableNamesHasBeenSet = false;
95
96 Aws::String m_relativeImpact;
97 bool m_relativeImpactHasBeenSet = false;
98
99 double m_logOddsImpact;
100 bool m_logOddsImpactHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace FraudDetector
105} // namespace Aws
AggregatedVariablesImpactExplanation & WithEventVariableNames(const Aws::Vector< Aws::String > &value)
AWS_FRAUDDETECTOR_API AggregatedVariablesImpactExplanation & operator=(Aws::Utils::Json::JsonView jsonValue)
AggregatedVariablesImpactExplanation & WithRelativeImpact(const Aws::String &value)
AggregatedVariablesImpactExplanation & AddEventVariableNames(Aws::String &&value)
AggregatedVariablesImpactExplanation & AddEventVariableNames(const Aws::String &value)
AggregatedVariablesImpactExplanation & WithRelativeImpact(Aws::String &&value)
AWS_FRAUDDETECTOR_API AggregatedVariablesImpactExplanation(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AggregatedVariablesImpactExplanation & WithRelativeImpact(const char *value)
AggregatedVariablesImpactExplanation & AddEventVariableNames(const char *value)
AggregatedVariablesImpactExplanation & WithEventVariableNames(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue