AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetImageStats.h
1
6#pragma once
7#include <aws/lookoutvision/LookoutforVision_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 LookoutforVision
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_LOOKOUTFORVISION_API DatasetImageStats();
33 AWS_LOOKOUTFORVISION_API DatasetImageStats(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LOOKOUTFORVISION_API DatasetImageStats& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetTotal() const{ return m_total; }
43 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
44 inline void SetTotal(int value) { m_totalHasBeenSet = true; m_total = value; }
45 inline DatasetImageStats& WithTotal(int value) { SetTotal(value); return *this;}
47
49
52 inline int GetLabeled() const{ return m_labeled; }
53 inline bool LabeledHasBeenSet() const { return m_labeledHasBeenSet; }
54 inline void SetLabeled(int value) { m_labeledHasBeenSet = true; m_labeled = value; }
55 inline DatasetImageStats& WithLabeled(int value) { SetLabeled(value); return *this;}
57
59
62 inline int GetNormal() const{ return m_normal; }
63 inline bool NormalHasBeenSet() const { return m_normalHasBeenSet; }
64 inline void SetNormal(int value) { m_normalHasBeenSet = true; m_normal = value; }
65 inline DatasetImageStats& WithNormal(int value) { SetNormal(value); return *this;}
67
69
72 inline int GetAnomaly() const{ return m_anomaly; }
73 inline bool AnomalyHasBeenSet() const { return m_anomalyHasBeenSet; }
74 inline void SetAnomaly(int value) { m_anomalyHasBeenSet = true; m_anomaly = value; }
75 inline DatasetImageStats& WithAnomaly(int value) { SetAnomaly(value); return *this;}
77 private:
78
79 int m_total;
80 bool m_totalHasBeenSet = false;
81
82 int m_labeled;
83 bool m_labeledHasBeenSet = false;
84
85 int m_normal;
86 bool m_normalHasBeenSet = false;
87
88 int m_anomaly;
89 bool m_anomalyHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace LookoutforVision
94} // namespace Aws
AWS_LOOKOUTFORVISION_API DatasetImageStats(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTFORVISION_API DatasetImageStats()
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOOKOUTFORVISION_API DatasetImageStats & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue