AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVariableNames(const Aws::Vector<Aws::String>& value) { m_variableNamesHasBeenSet = true; m_variableNames = value; }
54 inline void SetVariableNames(Aws::Vector<Aws::String>&& value) { m_variableNamesHasBeenSet = true; m_variableNames = std::move(value); }
56 inline AggregatedLogOddsMetric& WithVariableNames(Aws::Vector<Aws::String>&& value) { SetVariableNames(std::move(value)); return *this;}
57 inline AggregatedLogOddsMetric& AddVariableNames(const Aws::String& value) { m_variableNamesHasBeenSet = true; m_variableNames.push_back(value); return *this; }
58 inline AggregatedLogOddsMetric& AddVariableNames(Aws::String&& value) { m_variableNamesHasBeenSet = true; m_variableNames.push_back(std::move(value)); return *this; }
59 inline AggregatedLogOddsMetric& AddVariableNames(const char* value) { m_variableNamesHasBeenSet = true; m_variableNames.push_back(value); return *this; }
61
63
67 inline double GetAggregatedVariablesImportance() const{ return m_aggregatedVariablesImportance; }
68 inline bool AggregatedVariablesImportanceHasBeenSet() const { return m_aggregatedVariablesImportanceHasBeenSet; }
69 inline void SetAggregatedVariablesImportance(double value) { m_aggregatedVariablesImportanceHasBeenSet = true; m_aggregatedVariablesImportance = value; }
72 private:
73
74 Aws::Vector<Aws::String> m_variableNames;
75 bool m_variableNamesHasBeenSet = false;
76
77 double m_aggregatedVariablesImportance;
78 bool m_aggregatedVariablesImportanceHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace FraudDetector
83} // namespace Aws
AggregatedLogOddsMetric & WithVariableNames(Aws::Vector< Aws::String > &&value)
AggregatedLogOddsMetric & AddVariableNames(Aws::String &&value)
AggregatedLogOddsMetric & AddVariableNames(const Aws::String &value)
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
void SetVariableNames(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetVariableNames() const
AggregatedLogOddsMetric & AddVariableNames(const char *value)
AggregatedLogOddsMetric & WithAggregatedVariablesImportance(double value)
AggregatedLogOddsMetric & WithVariableNames(const Aws::Vector< Aws::String > &value)
void SetVariableNames(const 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