AWS SDK for C++  1.9.106
AWS SDK for C++
DatasetImageStats.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace LookoutforVision
20 {
21 namespace Model
22 {
23 
30  {
31  public:
36 
37 
41  inline int GetTotal() const{ return m_total; }
42 
46  inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
47 
51  inline void SetTotal(int value) { m_totalHasBeenSet = true; m_total = value; }
52 
56  inline DatasetImageStats& WithTotal(int value) { SetTotal(value); return *this;}
57 
58 
62  inline int GetLabeled() const{ return m_labeled; }
63 
67  inline bool LabeledHasBeenSet() const { return m_labeledHasBeenSet; }
68 
72  inline void SetLabeled(int value) { m_labeledHasBeenSet = true; m_labeled = value; }
73 
77  inline DatasetImageStats& WithLabeled(int value) { SetLabeled(value); return *this;}
78 
79 
83  inline int GetNormal() const{ return m_normal; }
84 
88  inline bool NormalHasBeenSet() const { return m_normalHasBeenSet; }
89 
93  inline void SetNormal(int value) { m_normalHasBeenSet = true; m_normal = value; }
94 
98  inline DatasetImageStats& WithNormal(int value) { SetNormal(value); return *this;}
99 
100 
104  inline int GetAnomaly() const{ return m_anomaly; }
105 
109  inline bool AnomalyHasBeenSet() const { return m_anomalyHasBeenSet; }
110 
114  inline void SetAnomaly(int value) { m_anomalyHasBeenSet = true; m_anomaly = value; }
115 
119  inline DatasetImageStats& WithAnomaly(int value) { SetAnomaly(value); return *this;}
120 
121  private:
122 
123  int m_total;
124  bool m_totalHasBeenSet;
125 
126  int m_labeled;
127  bool m_labeledHasBeenSet;
128 
129  int m_normal;
130  bool m_normalHasBeenSet;
131 
132  int m_anomaly;
133  bool m_anomalyHasBeenSet;
134  };
135 
136 } // namespace Model
137 } // namespace LookoutforVision
138 } // namespace Aws
Aws::LookoutforVision::Model::DatasetImageStats::LabeledHasBeenSet
bool LabeledHasBeenSet() const
Definition: DatasetImageStats.h:67
Aws::LookoutforVision::Model::DatasetImageStats::TotalHasBeenSet
bool TotalHasBeenSet() const
Definition: DatasetImageStats.h:46
Aws::LookoutforVision::Model::DatasetImageStats::WithTotal
DatasetImageStats & WithTotal(int value)
Definition: DatasetImageStats.h:56
Aws::LookoutforVision::Model::DatasetImageStats::DatasetImageStats
DatasetImageStats(Aws::Utils::Json::JsonView jsonValue)
Aws::LookoutforVision::Model::DatasetImageStats::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::DatasetImageStats::DatasetImageStats
DatasetImageStats()
Aws::LookoutforVision::Model::DatasetImageStats::GetAnomaly
int GetAnomaly() const
Definition: DatasetImageStats.h:104
Aws::LookoutforVision::Model::DatasetImageStats::SetTotal
void SetTotal(int value)
Definition: DatasetImageStats.h:51
Aws::LookoutforVision::Model::DatasetImageStats::AnomalyHasBeenSet
bool AnomalyHasBeenSet() const
Definition: DatasetImageStats.h:109
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::LookoutforVision::Model::DatasetImageStats::NormalHasBeenSet
bool NormalHasBeenSet() const
Definition: DatasetImageStats.h:88
Aws::LookoutforVision::Model::DatasetImageStats::GetNormal
int GetNormal() const
Definition: DatasetImageStats.h:83
Aws::LookoutforVision::Model::DatasetImageStats::WithLabeled
DatasetImageStats & WithLabeled(int value)
Definition: DatasetImageStats.h:77
Aws::LookoutforVision::Model::DatasetImageStats::GetLabeled
int GetLabeled() const
Definition: DatasetImageStats.h:62
Aws::LookoutforVision::Model::DatasetImageStats::SetNormal
void SetNormal(int value)
Definition: DatasetImageStats.h:93
Aws::LookoutforVision::Model::DatasetImageStats::SetLabeled
void SetLabeled(int value)
Definition: DatasetImageStats.h:72
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutforVision::Model::DatasetImageStats::GetTotal
int GetTotal() const
Definition: DatasetImageStats.h:41
Aws::LookoutforVision::Model::DatasetImageStats::WithNormal
DatasetImageStats & WithNormal(int value)
Definition: DatasetImageStats.h:98
Aws::LookoutforVision::Model::DatasetImageStats::operator=
DatasetImageStats & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::DatasetImageStats::WithAnomaly
DatasetImageStats & WithAnomaly(int value)
Definition: DatasetImageStats.h:119
Aws::LookoutforVision::Model::DatasetImageStats::SetAnomaly
void SetAnomaly(int value)
Definition: DatasetImageStats.h:114
Aws::LookoutforVision::Model::DatasetImageStats
Definition: DatasetImageStats.h:30