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

An aggregate of step execution statuses displayed in the Amazon Web Services * Systems Manager console for a multi-Region and multi-account Automation * execution.

See Also:

AWS * API Reference

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

The total number of steps run in all specified Amazon Web Services Regions * and Amazon Web Services accounts for the current Automation execution.

*/ inline int GetTotalSteps() const{ return m_totalSteps; } /** *

The total number of steps run in all specified Amazon Web Services Regions * and Amazon Web Services accounts for the current Automation execution.

*/ inline bool TotalStepsHasBeenSet() const { return m_totalStepsHasBeenSet; } /** *

The total number of steps run in all specified Amazon Web Services Regions * and Amazon Web Services accounts for the current Automation execution.

*/ inline void SetTotalSteps(int value) { m_totalStepsHasBeenSet = true; m_totalSteps = value; } /** *

The total number of steps run in all specified Amazon Web Services Regions * and Amazon Web Services accounts for the current Automation execution.

*/ inline ProgressCounters& WithTotalSteps(int value) { SetTotalSteps(value); return *this;} /** *

The total number of steps that successfully completed in all specified Amazon * Web Services Regions and Amazon Web Services accounts for the current Automation * execution.

*/ inline int GetSuccessSteps() const{ return m_successSteps; } /** *

The total number of steps that successfully completed in all specified Amazon * Web Services Regions and Amazon Web Services accounts for the current Automation * execution.

*/ inline bool SuccessStepsHasBeenSet() const { return m_successStepsHasBeenSet; } /** *

The total number of steps that successfully completed in all specified Amazon * Web Services Regions and Amazon Web Services accounts for the current Automation * execution.

*/ inline void SetSuccessSteps(int value) { m_successStepsHasBeenSet = true; m_successSteps = value; } /** *

The total number of steps that successfully completed in all specified Amazon * Web Services Regions and Amazon Web Services accounts for the current Automation * execution.

*/ inline ProgressCounters& WithSuccessSteps(int value) { SetSuccessSteps(value); return *this;} /** *

The total number of steps that failed to run in all specified Amazon Web * Services Regions and Amazon Web Services accounts for the current Automation * execution.

*/ inline int GetFailedSteps() const{ return m_failedSteps; } /** *

The total number of steps that failed to run in all specified Amazon Web * Services Regions and Amazon Web Services accounts for the current Automation * execution.

*/ inline bool FailedStepsHasBeenSet() const { return m_failedStepsHasBeenSet; } /** *

The total number of steps that failed to run in all specified Amazon Web * Services Regions and Amazon Web Services accounts for the current Automation * execution.

*/ inline void SetFailedSteps(int value) { m_failedStepsHasBeenSet = true; m_failedSteps = value; } /** *

The total number of steps that failed to run in all specified Amazon Web * Services Regions and Amazon Web Services accounts for the current Automation * execution.

*/ inline ProgressCounters& WithFailedSteps(int value) { SetFailedSteps(value); return *this;} /** *

The total number of steps that the system cancelled in all specified Amazon * Web Services Regions and Amazon Web Services accounts for the current Automation * execution.

*/ inline int GetCancelledSteps() const{ return m_cancelledSteps; } /** *

The total number of steps that the system cancelled in all specified Amazon * Web Services Regions and Amazon Web Services accounts for the current Automation * execution.

*/ inline bool CancelledStepsHasBeenSet() const { return m_cancelledStepsHasBeenSet; } /** *

The total number of steps that the system cancelled in all specified Amazon * Web Services Regions and Amazon Web Services accounts for the current Automation * execution.

*/ inline void SetCancelledSteps(int value) { m_cancelledStepsHasBeenSet = true; m_cancelledSteps = value; } /** *

The total number of steps that the system cancelled in all specified Amazon * Web Services Regions and Amazon Web Services accounts for the current Automation * execution.

*/ inline ProgressCounters& WithCancelledSteps(int value) { SetCancelledSteps(value); return *this;} /** *

The total number of steps that timed out in all specified Amazon Web Services * Regions and Amazon Web Services accounts for the current Automation * execution.

*/ inline int GetTimedOutSteps() const{ return m_timedOutSteps; } /** *

The total number of steps that timed out in all specified Amazon Web Services * Regions and Amazon Web Services accounts for the current Automation * execution.

*/ inline bool TimedOutStepsHasBeenSet() const { return m_timedOutStepsHasBeenSet; } /** *

The total number of steps that timed out in all specified Amazon Web Services * Regions and Amazon Web Services accounts for the current Automation * execution.

*/ inline void SetTimedOutSteps(int value) { m_timedOutStepsHasBeenSet = true; m_timedOutSteps = value; } /** *

The total number of steps that timed out in all specified Amazon Web Services * Regions and Amazon Web Services accounts for the current Automation * execution.

*/ inline ProgressCounters& WithTimedOutSteps(int value) { SetTimedOutSteps(value); return *this;} private: int m_totalSteps; bool m_totalStepsHasBeenSet = false; int m_successSteps; bool m_successStepsHasBeenSet = false; int m_failedSteps; bool m_failedStepsHasBeenSet = false; int m_cancelledSteps; bool m_cancelledStepsHasBeenSet = false; int m_timedOutSteps; bool m_timedOutStepsHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws