/** * 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 { /** *

Provides statistics about a dataset. For more information, see * DescribeDataset.

See Also:

AWS * API Reference

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

The total number of images in the dataset that have labels.

*/ inline int GetLabeledEntries() const{ return m_labeledEntries; } /** *

The total number of images in the dataset that have labels.

*/ inline bool LabeledEntriesHasBeenSet() const { return m_labeledEntriesHasBeenSet; } /** *

The total number of images in the dataset that have labels.

*/ inline void SetLabeledEntries(int value) { m_labeledEntriesHasBeenSet = true; m_labeledEntries = value; } /** *

The total number of images in the dataset that have labels.

*/ inline DatasetStats& WithLabeledEntries(int value) { SetLabeledEntries(value); return *this;} /** *

The total number of images in the dataset.

*/ inline int GetTotalEntries() const{ return m_totalEntries; } /** *

The total number of images in the dataset.

*/ inline bool TotalEntriesHasBeenSet() const { return m_totalEntriesHasBeenSet; } /** *

The total number of images in the dataset.

*/ inline void SetTotalEntries(int value) { m_totalEntriesHasBeenSet = true; m_totalEntries = value; } /** *

The total number of images in the dataset.

*/ inline DatasetStats& WithTotalEntries(int value) { SetTotalEntries(value); return *this;} /** *

The total number of labels declared in the dataset.

*/ inline int GetTotalLabels() const{ return m_totalLabels; } /** *

The total number of labels declared in the dataset.

*/ inline bool TotalLabelsHasBeenSet() const { return m_totalLabelsHasBeenSet; } /** *

The total number of labels declared in the dataset.

*/ inline void SetTotalLabels(int value) { m_totalLabelsHasBeenSet = true; m_totalLabels = value; } /** *

The total number of labels declared in the dataset.

*/ inline DatasetStats& WithTotalLabels(int value) { SetTotalLabels(value); return *this;} /** *

The total number of entries that contain at least one error.

*/ inline int GetErrorEntries() const{ return m_errorEntries; } /** *

The total number of entries that contain at least one error.

*/ inline bool ErrorEntriesHasBeenSet() const { return m_errorEntriesHasBeenSet; } /** *

The total number of entries that contain at least one error.

*/ inline void SetErrorEntries(int value) { m_errorEntriesHasBeenSet = true; m_errorEntries = value; } /** *

The total number of entries that contain at least one error.

*/ inline DatasetStats& WithErrorEntries(int value) { SetErrorEntries(value); return *this;} private: int m_labeledEntries; bool m_labeledEntriesHasBeenSet = false; int m_totalEntries; bool m_totalEntriesHasBeenSet = false; int m_totalLabels; bool m_totalLabelsHasBeenSet = false; int m_errorEntries; bool m_errorEntriesHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws