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

Provides processing statistics for a classification job.

See * Also:

AWS * API Reference

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

The approximate number of objects that the job has yet to process during its * current run.

*/ inline double GetApproximateNumberOfObjectsToProcess() const{ return m_approximateNumberOfObjectsToProcess; } /** *

The approximate number of objects that the job has yet to process during its * current run.

*/ inline bool ApproximateNumberOfObjectsToProcessHasBeenSet() const { return m_approximateNumberOfObjectsToProcessHasBeenSet; } /** *

The approximate number of objects that the job has yet to process during its * current run.

*/ inline void SetApproximateNumberOfObjectsToProcess(double value) { m_approximateNumberOfObjectsToProcessHasBeenSet = true; m_approximateNumberOfObjectsToProcess = value; } /** *

The approximate number of objects that the job has yet to process during its * current run.

*/ inline Statistics& WithApproximateNumberOfObjectsToProcess(double value) { SetApproximateNumberOfObjectsToProcess(value); return *this;} /** *

The number of times that the job has run.

*/ inline double GetNumberOfRuns() const{ return m_numberOfRuns; } /** *

The number of times that the job has run.

*/ inline bool NumberOfRunsHasBeenSet() const { return m_numberOfRunsHasBeenSet; } /** *

The number of times that the job has run.

*/ inline void SetNumberOfRuns(double value) { m_numberOfRunsHasBeenSet = true; m_numberOfRuns = value; } /** *

The number of times that the job has run.

*/ inline Statistics& WithNumberOfRuns(double value) { SetNumberOfRuns(value); return *this;} private: double m_approximateNumberOfObjectsToProcess; bool m_approximateNumberOfObjectsToProcessHasBeenSet = false; double m_numberOfRuns; bool m_numberOfRunsHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws