AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename VariableNameT = Aws::String>
47 void SetVariableName(VariableNameT&& value) { m_variableNameHasBeenSet = true; m_variableName = std::forward<VariableNameT>(value); }
48 template<typename VariableNameT = Aws::String>
49 LogOddsMetric& WithVariableName(VariableNameT&& value) { SetVariableName(std::forward<VariableNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetVariableType() const { return m_variableType; }
57 inline bool VariableTypeHasBeenSet() const { return m_variableTypeHasBeenSet; }
58 template<typename VariableTypeT = Aws::String>
59 void SetVariableType(VariableTypeT&& value) { m_variableTypeHasBeenSet = true; m_variableType = std::forward<VariableTypeT>(value); }
60 template<typename VariableTypeT = Aws::String>
61 LogOddsMetric& WithVariableType(VariableTypeT&& value) { SetVariableType(std::forward<VariableTypeT>(value)); return *this;}
63
65
70 inline double GetVariableImportance() const { return m_variableImportance; }
71 inline bool VariableImportanceHasBeenSet() const { return m_variableImportanceHasBeenSet; }
72 inline void SetVariableImportance(double value) { m_variableImportanceHasBeenSet = true; m_variableImportance = value; }
73 inline LogOddsMetric& WithVariableImportance(double value) { SetVariableImportance(value); return *this;}
75 private:
76
77 Aws::String m_variableName;
78 bool m_variableNameHasBeenSet = false;
79
80 Aws::String m_variableType;
81 bool m_variableTypeHasBeenSet = false;
82
83 double m_variableImportance{0.0};
84 bool m_variableImportanceHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace FraudDetector
89} // namespace Aws
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
LogOddsMetric & WithVariableImportance(double value)
void SetVariableType(VariableTypeT &&value)
const Aws::String & GetVariableType() const
LogOddsMetric & WithVariableType(VariableTypeT &&value)
void SetVariableName(VariableNameT &&value)
AWS_FRAUDDETECTOR_API LogOddsMetric(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API LogOddsMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVariableName() const
LogOddsMetric & WithVariableName(VariableNameT &&value)
AWS_FRAUDDETECTOR_API LogOddsMetric()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue