AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProgressCounters.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SSM
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_SSM_API ProgressCounters();
38
39
41
45 inline int GetTotalSteps() const{ return m_totalSteps; }
46 inline bool TotalStepsHasBeenSet() const { return m_totalStepsHasBeenSet; }
47 inline void SetTotalSteps(int value) { m_totalStepsHasBeenSet = true; m_totalSteps = value; }
48 inline ProgressCounters& WithTotalSteps(int value) { SetTotalSteps(value); return *this;}
50
52
57 inline int GetSuccessSteps() const{ return m_successSteps; }
58 inline bool SuccessStepsHasBeenSet() const { return m_successStepsHasBeenSet; }
59 inline void SetSuccessSteps(int value) { m_successStepsHasBeenSet = true; m_successSteps = value; }
60 inline ProgressCounters& WithSuccessSteps(int value) { SetSuccessSteps(value); return *this;}
62
64
69 inline int GetFailedSteps() const{ return m_failedSteps; }
70 inline bool FailedStepsHasBeenSet() const { return m_failedStepsHasBeenSet; }
71 inline void SetFailedSteps(int value) { m_failedStepsHasBeenSet = true; m_failedSteps = value; }
72 inline ProgressCounters& WithFailedSteps(int value) { SetFailedSteps(value); return *this;}
74
76
81 inline int GetCancelledSteps() const{ return m_cancelledSteps; }
82 inline bool CancelledStepsHasBeenSet() const { return m_cancelledStepsHasBeenSet; }
83 inline void SetCancelledSteps(int value) { m_cancelledStepsHasBeenSet = true; m_cancelledSteps = value; }
84 inline ProgressCounters& WithCancelledSteps(int value) { SetCancelledSteps(value); return *this;}
86
88
93 inline int GetTimedOutSteps() const{ return m_timedOutSteps; }
94 inline bool TimedOutStepsHasBeenSet() const { return m_timedOutStepsHasBeenSet; }
95 inline void SetTimedOutSteps(int value) { m_timedOutStepsHasBeenSet = true; m_timedOutSteps = value; }
96 inline ProgressCounters& WithTimedOutSteps(int value) { SetTimedOutSteps(value); return *this;}
98 private:
99
100 int m_totalSteps;
101 bool m_totalStepsHasBeenSet = false;
102
103 int m_successSteps;
104 bool m_successStepsHasBeenSet = false;
105
106 int m_failedSteps;
107 bool m_failedStepsHasBeenSet = false;
108
109 int m_cancelledSteps;
110 bool m_cancelledStepsHasBeenSet = false;
111
112 int m_timedOutSteps;
113 bool m_timedOutStepsHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace SSM
118} // namespace Aws
ProgressCounters & WithTimedOutSteps(int value)
ProgressCounters & WithFailedSteps(int value)
ProgressCounters & WithCancelledSteps(int value)
AWS_SSM_API ProgressCounters(Aws::Utils::Json::JsonView jsonValue)
ProgressCounters & WithTotalSteps(int value)
ProgressCounters & WithSuccessSteps(int value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSM_API ProgressCounters & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue