AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AggregatedLogOddsMetric.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 AggregatedLogOddsMetric() = default;
42 AWS_FRAUDDETECTOR_API AggregatedLogOddsMetric(Aws::Utils::Json::JsonView jsonValue);
44 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::Vector<Aws::String>& GetVariableNames() const { return m_variableNames; }
52 inline bool VariableNamesHasBeenSet() const { return m_variableNamesHasBeenSet; }
53 template<typename VariableNamesT = Aws::Vector<Aws::String>>
54 void SetVariableNames(VariableNamesT&& value) { m_variableNamesHasBeenSet = true; m_variableNames = std::forward<VariableNamesT>(value); }
55 template<typename VariableNamesT = Aws::Vector<Aws::String>>
56 AggregatedLogOddsMetric& WithVariableNames(VariableNamesT&& value) { SetVariableNames(std::forward<VariableNamesT>(value)); return *this;}
57 template<typename VariableNamesT = Aws::String>
58 AggregatedLogOddsMetric& AddVariableNames(VariableNamesT&& value) { m_variableNamesHasBeenSet = true; m_variableNames.emplace_back(std::forward<VariableNamesT>(value)); return *this; }
60
62
66 inline double GetAggregatedVariablesImportance() const { return m_aggregatedVariablesImportance; }
67 inline bool AggregatedVariablesImportanceHasBeenSet() const { return m_aggregatedVariablesImportanceHasBeenSet; }
68 inline void SetAggregatedVariablesImportance(double value) { m_aggregatedVariablesImportanceHasBeenSet = true; m_aggregatedVariablesImportance = value; }
71 private:
72
73 Aws::Vector<Aws::String> m_variableNames;
74 bool m_variableNamesHasBeenSet = false;
75
76 double m_aggregatedVariablesImportance{0.0};
77 bool m_aggregatedVariablesImportanceHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace FraudDetector
82} // namespace Aws
AWS_FRAUDDETECTOR_API AggregatedLogOddsMetric(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API AggregatedLogOddsMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetVariableNames() const
AWS_FRAUDDETECTOR_API AggregatedLogOddsMetric()=default
AggregatedLogOddsMetric & WithAggregatedVariablesImportance(double value)
AggregatedLogOddsMetric & WithVariableNames(VariableNamesT &&value)
AggregatedLogOddsMetric & AddVariableNames(VariableNamesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue