AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfusionMatrix.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue
20{
21namespace Model
22{
23
33 {
34 public:
35 AWS_GLUE_API ConfusionMatrix();
39
40
42
46 inline long long GetNumTruePositives() const{ return m_numTruePositives; }
47 inline bool NumTruePositivesHasBeenSet() const { return m_numTruePositivesHasBeenSet; }
48 inline void SetNumTruePositives(long long value) { m_numTruePositivesHasBeenSet = true; m_numTruePositives = value; }
49 inline ConfusionMatrix& WithNumTruePositives(long long value) { SetNumTruePositives(value); return *this;}
51
53
57 inline long long GetNumFalsePositives() const{ return m_numFalsePositives; }
58 inline bool NumFalsePositivesHasBeenSet() const { return m_numFalsePositivesHasBeenSet; }
59 inline void SetNumFalsePositives(long long value) { m_numFalsePositivesHasBeenSet = true; m_numFalsePositives = value; }
60 inline ConfusionMatrix& WithNumFalsePositives(long long value) { SetNumFalsePositives(value); return *this;}
62
64
68 inline long long GetNumTrueNegatives() const{ return m_numTrueNegatives; }
69 inline bool NumTrueNegativesHasBeenSet() const { return m_numTrueNegativesHasBeenSet; }
70 inline void SetNumTrueNegatives(long long value) { m_numTrueNegativesHasBeenSet = true; m_numTrueNegatives = value; }
71 inline ConfusionMatrix& WithNumTrueNegatives(long long value) { SetNumTrueNegatives(value); return *this;}
73
75
79 inline long long GetNumFalseNegatives() const{ return m_numFalseNegatives; }
80 inline bool NumFalseNegativesHasBeenSet() const { return m_numFalseNegativesHasBeenSet; }
81 inline void SetNumFalseNegatives(long long value) { m_numFalseNegativesHasBeenSet = true; m_numFalseNegatives = value; }
82 inline ConfusionMatrix& WithNumFalseNegatives(long long value) { SetNumFalseNegatives(value); return *this;}
84 private:
85
86 long long m_numTruePositives;
87 bool m_numTruePositivesHasBeenSet = false;
88
89 long long m_numFalsePositives;
90 bool m_numFalsePositivesHasBeenSet = false;
91
92 long long m_numTrueNegatives;
93 bool m_numTrueNegativesHasBeenSet = false;
94
95 long long m_numFalseNegatives;
96 bool m_numFalseNegativesHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Glue
101} // namespace Aws
void SetNumTruePositives(long long value)
ConfusionMatrix & WithNumFalseNegatives(long long value)
void SetNumFalsePositives(long long value)
ConfusionMatrix & WithNumFalsePositives(long long value)
ConfusionMatrix & WithNumTruePositives(long long value)
void SetNumFalseNegatives(long long value)
void SetNumTrueNegatives(long long value)
AWS_GLUE_API ConfusionMatrix(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API ConfusionMatrix & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ConfusionMatrix & WithNumTrueNegatives(long long value)
Aws::Utils::Json::JsonValue JsonValue