AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LogOddsMetric.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
32 {
33 public:
34 AWS_FRAUDDETECTOR_API LogOddsMetric();
35 AWS_FRAUDDETECTOR_API LogOddsMetric(Aws::Utils::Json::JsonView jsonValue);
36 AWS_FRAUDDETECTOR_API LogOddsMetric& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetVariableName() const{ return m_variableName; }
45 inline bool VariableNameHasBeenSet() const { return m_variableNameHasBeenSet; }
46 inline void SetVariableName(const Aws::String& value) { m_variableNameHasBeenSet = true; m_variableName = value; }
47 inline void SetVariableName(Aws::String&& value) { m_variableNameHasBeenSet = true; m_variableName = std::move(value); }
48 inline void SetVariableName(const char* value) { m_variableNameHasBeenSet = true; m_variableName.assign(value); }
49 inline LogOddsMetric& WithVariableName(const Aws::String& value) { SetVariableName(value); return *this;}
50 inline LogOddsMetric& WithVariableName(Aws::String&& value) { SetVariableName(std::move(value)); return *this;}
51 inline LogOddsMetric& WithVariableName(const char* value) { SetVariableName(value); return *this;}
53
55
58 inline const Aws::String& GetVariableType() const{ return m_variableType; }
59 inline bool VariableTypeHasBeenSet() const { return m_variableTypeHasBeenSet; }
60 inline void SetVariableType(const Aws::String& value) { m_variableTypeHasBeenSet = true; m_variableType = value; }
61 inline void SetVariableType(Aws::String&& value) { m_variableTypeHasBeenSet = true; m_variableType = std::move(value); }
62 inline void SetVariableType(const char* value) { m_variableTypeHasBeenSet = true; m_variableType.assign(value); }
63 inline LogOddsMetric& WithVariableType(const Aws::String& value) { SetVariableType(value); return *this;}
64 inline LogOddsMetric& WithVariableType(Aws::String&& value) { SetVariableType(std::move(value)); return *this;}
65 inline LogOddsMetric& WithVariableType(const char* value) { SetVariableType(value); return *this;}
67
69
74 inline double GetVariableImportance() const{ return m_variableImportance; }
75 inline bool VariableImportanceHasBeenSet() const { return m_variableImportanceHasBeenSet; }
76 inline void SetVariableImportance(double value) { m_variableImportanceHasBeenSet = true; m_variableImportance = value; }
77 inline LogOddsMetric& WithVariableImportance(double value) { SetVariableImportance(value); return *this;}
79 private:
80
81 Aws::String m_variableName;
82 bool m_variableNameHasBeenSet = false;
83
84 Aws::String m_variableType;
85 bool m_variableTypeHasBeenSet = false;
86
87 double m_variableImportance;
88 bool m_variableImportanceHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace FraudDetector
93} // namespace Aws
LogOddsMetric & WithVariableType(Aws::String &&value)
LogOddsMetric & WithVariableName(const Aws::String &value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
LogOddsMetric & WithVariableType(const char *value)
void SetVariableType(Aws::String &&value)
LogOddsMetric & WithVariableImportance(double value)
const Aws::String & GetVariableType() const
LogOddsMetric & WithVariableName(Aws::String &&value)
void SetVariableType(const char *value)
void SetVariableName(const Aws::String &value)
void SetVariableType(const Aws::String &value)
AWS_FRAUDDETECTOR_API LogOddsMetric(Aws::Utils::Json::JsonView jsonValue)
LogOddsMetric & WithVariableName(const char *value)
AWS_FRAUDDETECTOR_API LogOddsMetric()
void SetVariableName(const char *value)
void SetVariableName(Aws::String &&value)
AWS_FRAUDDETECTOR_API LogOddsMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
LogOddsMetric & WithVariableType(const Aws::String &value)
const Aws::String & GetVariableName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue