AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetStats.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_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 Rekognition
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_REKOGNITION_API DatasetStats();
34 AWS_REKOGNITION_API DatasetStats(Aws::Utils::Json::JsonView jsonValue);
35 AWS_REKOGNITION_API DatasetStats& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetLabeledEntries() const{ return m_labeledEntries; }
44 inline bool LabeledEntriesHasBeenSet() const { return m_labeledEntriesHasBeenSet; }
45 inline void SetLabeledEntries(int value) { m_labeledEntriesHasBeenSet = true; m_labeledEntries = value; }
46 inline DatasetStats& WithLabeledEntries(int value) { SetLabeledEntries(value); return *this;}
48
50
53 inline int GetTotalEntries() const{ return m_totalEntries; }
54 inline bool TotalEntriesHasBeenSet() const { return m_totalEntriesHasBeenSet; }
55 inline void SetTotalEntries(int value) { m_totalEntriesHasBeenSet = true; m_totalEntries = value; }
56 inline DatasetStats& WithTotalEntries(int value) { SetTotalEntries(value); return *this;}
58
60
63 inline int GetTotalLabels() const{ return m_totalLabels; }
64 inline bool TotalLabelsHasBeenSet() const { return m_totalLabelsHasBeenSet; }
65 inline void SetTotalLabels(int value) { m_totalLabelsHasBeenSet = true; m_totalLabels = value; }
66 inline DatasetStats& WithTotalLabels(int value) { SetTotalLabels(value); return *this;}
68
70
73 inline int GetErrorEntries() const{ return m_errorEntries; }
74 inline bool ErrorEntriesHasBeenSet() const { return m_errorEntriesHasBeenSet; }
75 inline void SetErrorEntries(int value) { m_errorEntriesHasBeenSet = true; m_errorEntries = value; }
76 inline DatasetStats& WithErrorEntries(int value) { SetErrorEntries(value); return *this;}
78 private:
79
80 int m_labeledEntries;
81 bool m_labeledEntriesHasBeenSet = false;
82
83 int m_totalEntries;
84 bool m_totalEntriesHasBeenSet = false;
85
86 int m_totalLabels;
87 bool m_totalLabelsHasBeenSet = false;
88
89 int m_errorEntries;
90 bool m_errorEntriesHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Rekognition
95} // namespace Aws
AWS_REKOGNITION_API DatasetStats()
AWS_REKOGNITION_API DatasetStats(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API DatasetStats & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasetStats & WithLabeledEntries(int value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetStats & WithErrorEntries(int value)
DatasetStats & WithTotalLabels(int value)
DatasetStats & WithTotalEntries(int value)
Aws::Utils::Json::JsonValue JsonValue