/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Statistics for the checks performed during the audit.See
* Also:
AWS
* API Reference
The number of checks in this audit.
*/ inline int GetTotalChecks() const{ return m_totalChecks; } /** *The number of checks in this audit.
*/ inline bool TotalChecksHasBeenSet() const { return m_totalChecksHasBeenSet; } /** *The number of checks in this audit.
*/ inline void SetTotalChecks(int value) { m_totalChecksHasBeenSet = true; m_totalChecks = value; } /** *The number of checks in this audit.
*/ inline TaskStatistics& WithTotalChecks(int value) { SetTotalChecks(value); return *this;} /** *The number of checks in progress.
*/ inline int GetInProgressChecks() const{ return m_inProgressChecks; } /** *The number of checks in progress.
*/ inline bool InProgressChecksHasBeenSet() const { return m_inProgressChecksHasBeenSet; } /** *The number of checks in progress.
*/ inline void SetInProgressChecks(int value) { m_inProgressChecksHasBeenSet = true; m_inProgressChecks = value; } /** *The number of checks in progress.
*/ inline TaskStatistics& WithInProgressChecks(int value) { SetInProgressChecks(value); return *this;} /** *The number of checks waiting for data collection.
*/ inline int GetWaitingForDataCollectionChecks() const{ return m_waitingForDataCollectionChecks; } /** *The number of checks waiting for data collection.
*/ inline bool WaitingForDataCollectionChecksHasBeenSet() const { return m_waitingForDataCollectionChecksHasBeenSet; } /** *The number of checks waiting for data collection.
*/ inline void SetWaitingForDataCollectionChecks(int value) { m_waitingForDataCollectionChecksHasBeenSet = true; m_waitingForDataCollectionChecks = value; } /** *The number of checks waiting for data collection.
*/ inline TaskStatistics& WithWaitingForDataCollectionChecks(int value) { SetWaitingForDataCollectionChecks(value); return *this;} /** *The number of checks that found compliant resources.
*/ inline int GetCompliantChecks() const{ return m_compliantChecks; } /** *The number of checks that found compliant resources.
*/ inline bool CompliantChecksHasBeenSet() const { return m_compliantChecksHasBeenSet; } /** *The number of checks that found compliant resources.
*/ inline void SetCompliantChecks(int value) { m_compliantChecksHasBeenSet = true; m_compliantChecks = value; } /** *The number of checks that found compliant resources.
*/ inline TaskStatistics& WithCompliantChecks(int value) { SetCompliantChecks(value); return *this;} /** *The number of checks that found noncompliant resources.
*/ inline int GetNonCompliantChecks() const{ return m_nonCompliantChecks; } /** *The number of checks that found noncompliant resources.
*/ inline bool NonCompliantChecksHasBeenSet() const { return m_nonCompliantChecksHasBeenSet; } /** *The number of checks that found noncompliant resources.
*/ inline void SetNonCompliantChecks(int value) { m_nonCompliantChecksHasBeenSet = true; m_nonCompliantChecks = value; } /** *The number of checks that found noncompliant resources.
*/ inline TaskStatistics& WithNonCompliantChecks(int value) { SetNonCompliantChecks(value); return *this;} /** *The number of checks.
*/ inline int GetFailedChecks() const{ return m_failedChecks; } /** *The number of checks.
*/ inline bool FailedChecksHasBeenSet() const { return m_failedChecksHasBeenSet; } /** *The number of checks.
*/ inline void SetFailedChecks(int value) { m_failedChecksHasBeenSet = true; m_failedChecks = value; } /** *The number of checks.
*/ inline TaskStatistics& WithFailedChecks(int value) { SetFailedChecks(value); return *this;} /** *The number of checks that did not run because the audit was canceled.
*/ inline int GetCanceledChecks() const{ return m_canceledChecks; } /** *The number of checks that did not run because the audit was canceled.
*/ inline bool CanceledChecksHasBeenSet() const { return m_canceledChecksHasBeenSet; } /** *The number of checks that did not run because the audit was canceled.
*/ inline void SetCanceledChecks(int value) { m_canceledChecksHasBeenSet = true; m_canceledChecks = value; } /** *The number of checks that did not run because the audit was canceled.
*/ inline TaskStatistics& WithCanceledChecks(int value) { SetCanceledChecks(value); return *this;} private: int m_totalChecks; bool m_totalChecksHasBeenSet = false; int m_inProgressChecks; bool m_inProgressChecksHasBeenSet = false; int m_waitingForDataCollectionChecks; bool m_waitingForDataCollectionChecksHasBeenSet = false; int m_compliantChecks; bool m_compliantChecksHasBeenSet = false; int m_nonCompliantChecks; bool m_nonCompliantChecksHasBeenSet = false; int m_failedChecks; bool m_failedChecksHasBeenSet = false; int m_canceledChecks; bool m_canceledChecksHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws