/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Rekognition { namespace Model { /** *

Statistics about a label used in a dataset. For more information, see * DatasetLabelDescription.

See Also:

AWS * API Reference

*/ class DatasetLabelStats { public: AWS_REKOGNITION_API DatasetLabelStats(); AWS_REKOGNITION_API DatasetLabelStats(Aws::Utils::Json::JsonView jsonValue); AWS_REKOGNITION_API DatasetLabelStats& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The total number of images that use the label.

*/ inline int GetEntryCount() const{ return m_entryCount; } /** *

The total number of images that use the label.

*/ inline bool EntryCountHasBeenSet() const { return m_entryCountHasBeenSet; } /** *

The total number of images that use the label.

*/ inline void SetEntryCount(int value) { m_entryCountHasBeenSet = true; m_entryCount = value; } /** *

The total number of images that use the label.

*/ inline DatasetLabelStats& WithEntryCount(int value) { SetEntryCount(value); return *this;} /** *

The total number of images that have the label assigned to a bounding box. *

*/ inline int GetBoundingBoxCount() const{ return m_boundingBoxCount; } /** *

The total number of images that have the label assigned to a bounding box. *

*/ inline bool BoundingBoxCountHasBeenSet() const { return m_boundingBoxCountHasBeenSet; } /** *

The total number of images that have the label assigned to a bounding box. *

*/ inline void SetBoundingBoxCount(int value) { m_boundingBoxCountHasBeenSet = true; m_boundingBoxCount = value; } /** *

The total number of images that have the label assigned to a bounding box. *

*/ inline DatasetLabelStats& WithBoundingBoxCount(int value) { SetBoundingBoxCount(value); return *this;} private: int m_entryCount; bool m_entryCountHasBeenSet = false; int m_boundingBoxCount; bool m_boundingBoxCountHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws