/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents entity counters.See Also:
AWS
* API Reference
The total number of entities.
*/ inline int GetTotal() const{ return m_total; } /** *The total number of entities.
*/ inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; } /** *The total number of entities.
*/ inline void SetTotal(int value) { m_totalHasBeenSet = true; m_total = value; } /** *The total number of entities.
*/ inline Counters& WithTotal(int value) { SetTotal(value); return *this;} /** *The number of passed entities.
*/ inline int GetPassed() const{ return m_passed; } /** *The number of passed entities.
*/ inline bool PassedHasBeenSet() const { return m_passedHasBeenSet; } /** *The number of passed entities.
*/ inline void SetPassed(int value) { m_passedHasBeenSet = true; m_passed = value; } /** *The number of passed entities.
*/ inline Counters& WithPassed(int value) { SetPassed(value); return *this;} /** *The number of failed entities.
*/ inline int GetFailed() const{ return m_failed; } /** *The number of failed entities.
*/ inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; } /** *The number of failed entities.
*/ inline void SetFailed(int value) { m_failedHasBeenSet = true; m_failed = value; } /** *The number of failed entities.
*/ inline Counters& WithFailed(int value) { SetFailed(value); return *this;} /** *The number of warned entities.
*/ inline int GetWarned() const{ return m_warned; } /** *The number of warned entities.
*/ inline bool WarnedHasBeenSet() const { return m_warnedHasBeenSet; } /** *The number of warned entities.
*/ inline void SetWarned(int value) { m_warnedHasBeenSet = true; m_warned = value; } /** *The number of warned entities.
*/ inline Counters& WithWarned(int value) { SetWarned(value); return *this;} /** *The number of errored entities.
*/ inline int GetErrored() const{ return m_errored; } /** *The number of errored entities.
*/ inline bool ErroredHasBeenSet() const { return m_erroredHasBeenSet; } /** *The number of errored entities.
*/ inline void SetErrored(int value) { m_erroredHasBeenSet = true; m_errored = value; } /** *The number of errored entities.
*/ inline Counters& WithErrored(int value) { SetErrored(value); return *this;} /** *The number of stopped entities.
*/ inline int GetStopped() const{ return m_stopped; } /** *The number of stopped entities.
*/ inline bool StoppedHasBeenSet() const { return m_stoppedHasBeenSet; } /** *The number of stopped entities.
*/ inline void SetStopped(int value) { m_stoppedHasBeenSet = true; m_stopped = value; } /** *The number of stopped entities.
*/ inline Counters& WithStopped(int value) { SetStopped(value); return *this;} /** *The number of skipped entities.
*/ inline int GetSkipped() const{ return m_skipped; } /** *The number of skipped entities.
*/ inline bool SkippedHasBeenSet() const { return m_skippedHasBeenSet; } /** *The number of skipped entities.
*/ inline void SetSkipped(int value) { m_skippedHasBeenSet = true; m_skipped = value; } /** *The number of skipped entities.
*/ inline Counters& WithSkipped(int value) { SetSkipped(value); return *this;} private: int m_total; bool m_totalHasBeenSet = false; int m_passed; bool m_passedHasBeenSet = false; int m_failed; bool m_failedHasBeenSet = false; int m_warned; bool m_warnedHasBeenSet = false; int m_errored; bool m_erroredHasBeenSet = false; int m_stopped; bool m_stoppedHasBeenSet = false; int m_skipped; bool m_skippedHasBeenSet = false; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws