AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluationResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/Summary.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 Rekognition
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_REKOGNITION_API EvaluationResult();
36 AWS_REKOGNITION_API EvaluationResult(Aws::Utils::Json::JsonView jsonValue);
37 AWS_REKOGNITION_API EvaluationResult& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline double GetF1Score() const{ return m_f1Score; }
49 inline bool F1ScoreHasBeenSet() const { return m_f1ScoreHasBeenSet; }
50 inline void SetF1Score(double value) { m_f1ScoreHasBeenSet = true; m_f1Score = value; }
51 inline EvaluationResult& WithF1Score(double value) { SetF1Score(value); return *this;}
53
55
58 inline const Summary& GetSummary() const{ return m_summary; }
59 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
60 inline void SetSummary(const Summary& value) { m_summaryHasBeenSet = true; m_summary = value; }
61 inline void SetSummary(Summary&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); }
62 inline EvaluationResult& WithSummary(const Summary& value) { SetSummary(value); return *this;}
63 inline EvaluationResult& WithSummary(Summary&& value) { SetSummary(std::move(value)); return *this;}
65 private:
66
67 double m_f1Score;
68 bool m_f1ScoreHasBeenSet = false;
69
70 Summary m_summary;
71 bool m_summaryHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Rekognition
76} // namespace Aws
EvaluationResult & WithSummary(Summary &&value)
EvaluationResult & WithF1Score(double value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationResult & WithSummary(const Summary &value)
AWS_REKOGNITION_API EvaluationResult(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API EvaluationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue