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

The statistics of a mitigation action task.

See Also:

AWS * API Reference

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

The actions that were performed.

*/ inline long long GetActionsExecuted() const{ return m_actionsExecuted; } /** *

The actions that were performed.

*/ inline bool ActionsExecutedHasBeenSet() const { return m_actionsExecutedHasBeenSet; } /** *

The actions that were performed.

*/ inline void SetActionsExecuted(long long value) { m_actionsExecutedHasBeenSet = true; m_actionsExecuted = value; } /** *

The actions that were performed.

*/ inline DetectMitigationActionsTaskStatistics& WithActionsExecuted(long long value) { SetActionsExecuted(value); return *this;} /** *

The actions that were skipped.

*/ inline long long GetActionsSkipped() const{ return m_actionsSkipped; } /** *

The actions that were skipped.

*/ inline bool ActionsSkippedHasBeenSet() const { return m_actionsSkippedHasBeenSet; } /** *

The actions that were skipped.

*/ inline void SetActionsSkipped(long long value) { m_actionsSkippedHasBeenSet = true; m_actionsSkipped = value; } /** *

The actions that were skipped.

*/ inline DetectMitigationActionsTaskStatistics& WithActionsSkipped(long long value) { SetActionsSkipped(value); return *this;} /** *

The actions that failed.

*/ inline long long GetActionsFailed() const{ return m_actionsFailed; } /** *

The actions that failed.

*/ inline bool ActionsFailedHasBeenSet() const { return m_actionsFailedHasBeenSet; } /** *

The actions that failed.

*/ inline void SetActionsFailed(long long value) { m_actionsFailedHasBeenSet = true; m_actionsFailed = value; } /** *

The actions that failed.

*/ inline DetectMitigationActionsTaskStatistics& WithActionsFailed(long long value) { SetActionsFailed(value); return *this;} private: long long m_actionsExecuted; bool m_actionsExecutedHasBeenSet = false; long long m_actionsSkipped; bool m_actionsSkippedHasBeenSet = false; long long m_actionsFailed; bool m_actionsFailedHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws