AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DatasetLabelStats.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Rekognition {
17namespace Model {
18
26 public:
27 AWS_REKOGNITION_API DatasetLabelStats() = default;
28 AWS_REKOGNITION_API DatasetLabelStats(Aws::Utils::Json::JsonView jsonValue);
30 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetEntryCount() const { return m_entryCount; }
37 inline bool EntryCountHasBeenSet() const { return m_entryCountHasBeenSet; }
38 inline void SetEntryCount(int value) {
39 m_entryCountHasBeenSet = true;
40 m_entryCount = value;
41 }
42 inline DatasetLabelStats& WithEntryCount(int value) {
43 SetEntryCount(value);
44 return *this;
45 }
47
49
53 inline int GetBoundingBoxCount() const { return m_boundingBoxCount; }
54 inline bool BoundingBoxCountHasBeenSet() const { return m_boundingBoxCountHasBeenSet; }
55 inline void SetBoundingBoxCount(int value) {
56 m_boundingBoxCountHasBeenSet = true;
57 m_boundingBoxCount = value;
58 }
61 return *this;
62 }
64 private:
65 int m_entryCount{0};
66
67 int m_boundingBoxCount{0};
68 bool m_entryCountHasBeenSet = false;
69 bool m_boundingBoxCountHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace Rekognition
74} // namespace Aws
DatasetLabelStats & WithEntryCount(int value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API DatasetLabelStats()=default
AWS_REKOGNITION_API DatasetLabelStats & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasetLabelStats & WithBoundingBoxCount(int value)
AWS_REKOGNITION_API DatasetLabelStats(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue