This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-ssm/include/aws/ssm/model/ProgressCounters.h

185 lines
6.1 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ssm/SSM_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SSM
{
namespace Model
{
/**
* <p>An aggregate of step execution statuses displayed in the AWS Console for a
* multi-Region and multi-account Automation execution.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ProgressCounters">AWS
* API Reference</a></p>
*/
class AWS_SSM_API ProgressCounters
{
public:
ProgressCounters();
ProgressCounters(Aws::Utils::Json::JsonView jsonValue);
ProgressCounters& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The total number of steps run in all specified AWS Regions and accounts for
* the current Automation execution.</p>
*/
inline int GetTotalSteps() const{ return m_totalSteps; }
/**
* <p>The total number of steps run in all specified AWS Regions and accounts for
* the current Automation execution.</p>
*/
inline bool TotalStepsHasBeenSet() const { return m_totalStepsHasBeenSet; }
/**
* <p>The total number of steps run in all specified AWS Regions and accounts for
* the current Automation execution.</p>
*/
inline void SetTotalSteps(int value) { m_totalStepsHasBeenSet = true; m_totalSteps = value; }
/**
* <p>The total number of steps run in all specified AWS Regions and accounts for
* the current Automation execution.</p>
*/
inline ProgressCounters& WithTotalSteps(int value) { SetTotalSteps(value); return *this;}
/**
* <p>The total number of steps that successfully completed in all specified AWS
* Regions and accounts for the current Automation execution.</p>
*/
inline int GetSuccessSteps() const{ return m_successSteps; }
/**
* <p>The total number of steps that successfully completed in all specified AWS
* Regions and accounts for the current Automation execution.</p>
*/
inline bool SuccessStepsHasBeenSet() const { return m_successStepsHasBeenSet; }
/**
* <p>The total number of steps that successfully completed in all specified AWS
* Regions and accounts for the current Automation execution.</p>
*/
inline void SetSuccessSteps(int value) { m_successStepsHasBeenSet = true; m_successSteps = value; }
/**
* <p>The total number of steps that successfully completed in all specified AWS
* Regions and accounts for the current Automation execution.</p>
*/
inline ProgressCounters& WithSuccessSteps(int value) { SetSuccessSteps(value); return *this;}
/**
* <p>The total number of steps that failed to run in all specified AWS Regions and
* accounts for the current Automation execution.</p>
*/
inline int GetFailedSteps() const{ return m_failedSteps; }
/**
* <p>The total number of steps that failed to run in all specified AWS Regions and
* accounts for the current Automation execution.</p>
*/
inline bool FailedStepsHasBeenSet() const { return m_failedStepsHasBeenSet; }
/**
* <p>The total number of steps that failed to run in all specified AWS Regions and
* accounts for the current Automation execution.</p>
*/
inline void SetFailedSteps(int value) { m_failedStepsHasBeenSet = true; m_failedSteps = value; }
/**
* <p>The total number of steps that failed to run in all specified AWS Regions and
* accounts for the current Automation execution.</p>
*/
inline ProgressCounters& WithFailedSteps(int value) { SetFailedSteps(value); return *this;}
/**
* <p>The total number of steps that the system cancelled in all specified AWS
* Regions and accounts for the current Automation execution.</p>
*/
inline int GetCancelledSteps() const{ return m_cancelledSteps; }
/**
* <p>The total number of steps that the system cancelled in all specified AWS
* Regions and accounts for the current Automation execution.</p>
*/
inline bool CancelledStepsHasBeenSet() const { return m_cancelledStepsHasBeenSet; }
/**
* <p>The total number of steps that the system cancelled in all specified AWS
* Regions and accounts for the current Automation execution.</p>
*/
inline void SetCancelledSteps(int value) { m_cancelledStepsHasBeenSet = true; m_cancelledSteps = value; }
/**
* <p>The total number of steps that the system cancelled in all specified AWS
* Regions and accounts for the current Automation execution.</p>
*/
inline ProgressCounters& WithCancelledSteps(int value) { SetCancelledSteps(value); return *this;}
/**
* <p>The total number of steps that timed out in all specified AWS Regions and
* accounts for the current Automation execution.</p>
*/
inline int GetTimedOutSteps() const{ return m_timedOutSteps; }
/**
* <p>The total number of steps that timed out in all specified AWS Regions and
* accounts for the current Automation execution.</p>
*/
inline bool TimedOutStepsHasBeenSet() const { return m_timedOutStepsHasBeenSet; }
/**
* <p>The total number of steps that timed out in all specified AWS Regions and
* accounts for the current Automation execution.</p>
*/
inline void SetTimedOutSteps(int value) { m_timedOutStepsHasBeenSet = true; m_timedOutSteps = value; }
/**
* <p>The total number of steps that timed out in all specified AWS Regions and
* accounts for the current Automation execution.</p>
*/
inline ProgressCounters& WithTimedOutSteps(int value) { SetTimedOutSteps(value); return *this;}
private:
int m_totalSteps;
bool m_totalStepsHasBeenSet;
int m_successSteps;
bool m_successStepsHasBeenSet;
int m_failedSteps;
bool m_failedStepsHasBeenSet;
int m_cancelledSteps;
bool m_cancelledStepsHasBeenSet;
int m_timedOutSteps;
bool m_timedOutStepsHasBeenSet;
};
} // namespace Model
} // namespace SSM
} // namespace Aws