/** * 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 LookoutforVision { namespace Model { /** *

Statistics about the images in a dataset.

See Also:

AWS * API Reference

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

The total number of images in the dataset.

*/ inline int GetTotal() const{ return m_total; } /** *

The total number of images in the dataset.

*/ inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; } /** *

The total number of images in the dataset.

*/ inline void SetTotal(int value) { m_totalHasBeenSet = true; m_total = value; } /** *

The total number of images in the dataset.

*/ inline DatasetImageStats& WithTotal(int value) { SetTotal(value); return *this;} /** *

The total number of labeled images.

*/ inline int GetLabeled() const{ return m_labeled; } /** *

The total number of labeled images.

*/ inline bool LabeledHasBeenSet() const { return m_labeledHasBeenSet; } /** *

The total number of labeled images.

*/ inline void SetLabeled(int value) { m_labeledHasBeenSet = true; m_labeled = value; } /** *

The total number of labeled images.

*/ inline DatasetImageStats& WithLabeled(int value) { SetLabeled(value); return *this;} /** *

The total number of images labeled as normal.

*/ inline int GetNormal() const{ return m_normal; } /** *

The total number of images labeled as normal.

*/ inline bool NormalHasBeenSet() const { return m_normalHasBeenSet; } /** *

The total number of images labeled as normal.

*/ inline void SetNormal(int value) { m_normalHasBeenSet = true; m_normal = value; } /** *

The total number of images labeled as normal.

*/ inline DatasetImageStats& WithNormal(int value) { SetNormal(value); return *this;} /** *

the total number of images labeled as an anomaly.

*/ inline int GetAnomaly() const{ return m_anomaly; } /** *

the total number of images labeled as an anomaly.

*/ inline bool AnomalyHasBeenSet() const { return m_anomalyHasBeenSet; } /** *

the total number of images labeled as an anomaly.

*/ inline void SetAnomaly(int value) { m_anomalyHasBeenSet = true; m_anomaly = value; } /** *

the total number of images labeled as an anomaly.

*/ inline DatasetImageStats& WithAnomaly(int value) { SetAnomaly(value); return *this;} private: int m_total; bool m_totalHasBeenSet = false; int m_labeled; bool m_labeledHasBeenSet = false; int m_normal; bool m_normalHasBeenSet = false; int m_anomaly; bool m_anomalyHasBeenSet = false; }; } // namespace Model } // namespace LookoutforVision } // namespace Aws