AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VariableImportanceMetrics.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/frauddetector/model/LogOddsMetric.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
33 {
34 public:
35 AWS_FRAUDDETECTOR_API VariableImportanceMetrics();
36 AWS_FRAUDDETECTOR_API VariableImportanceMetrics(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<LogOddsMetric>& GetLogOddsMetrics() const{ return m_logOddsMetrics; }
46 inline bool LogOddsMetricsHasBeenSet() const { return m_logOddsMetricsHasBeenSet; }
47 inline void SetLogOddsMetrics(const Aws::Vector<LogOddsMetric>& value) { m_logOddsMetricsHasBeenSet = true; m_logOddsMetrics = value; }
48 inline void SetLogOddsMetrics(Aws::Vector<LogOddsMetric>&& value) { m_logOddsMetricsHasBeenSet = true; m_logOddsMetrics = std::move(value); }
51 inline VariableImportanceMetrics& AddLogOddsMetrics(const LogOddsMetric& value) { m_logOddsMetricsHasBeenSet = true; m_logOddsMetrics.push_back(value); return *this; }
52 inline VariableImportanceMetrics& AddLogOddsMetrics(LogOddsMetric&& value) { m_logOddsMetricsHasBeenSet = true; m_logOddsMetrics.push_back(std::move(value)); return *this; }
54 private:
55
56 Aws::Vector<LogOddsMetric> m_logOddsMetrics;
57 bool m_logOddsMetricsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace FraudDetector
62} // namespace Aws
AWS_FRAUDDETECTOR_API VariableImportanceMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLogOddsMetrics(Aws::Vector< LogOddsMetric > &&value)
VariableImportanceMetrics & WithLogOddsMetrics(Aws::Vector< LogOddsMetric > &&value)
VariableImportanceMetrics & WithLogOddsMetrics(const Aws::Vector< LogOddsMetric > &value)
VariableImportanceMetrics & AddLogOddsMetrics(const LogOddsMetric &value)
void SetLogOddsMetrics(const Aws::Vector< LogOddsMetric > &value)
VariableImportanceMetrics & AddLogOddsMetrics(LogOddsMetric &&value)
const Aws::Vector< LogOddsMetric > & GetLogOddsMetrics() const
AWS_FRAUDDETECTOR_API VariableImportanceMetrics(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue