AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
WorkflowRunStatistics.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Glue {
17namespace Model {
18
26 public:
27 AWS_GLUE_API WorkflowRunStatistics() = default;
31
33
36 inline int GetTotalActions() const { return m_totalActions; }
37 inline bool TotalActionsHasBeenSet() const { return m_totalActionsHasBeenSet; }
38 inline void SetTotalActions(int value) {
39 m_totalActionsHasBeenSet = true;
40 m_totalActions = value;
41 }
43 SetTotalActions(value);
44 return *this;
45 }
47
49
52 inline int GetTimeoutActions() const { return m_timeoutActions; }
53 inline bool TimeoutActionsHasBeenSet() const { return m_timeoutActionsHasBeenSet; }
54 inline void SetTimeoutActions(int value) {
55 m_timeoutActionsHasBeenSet = true;
56 m_timeoutActions = value;
57 }
59 SetTimeoutActions(value);
60 return *this;
61 }
63
65
68 inline int GetFailedActions() const { return m_failedActions; }
69 inline bool FailedActionsHasBeenSet() const { return m_failedActionsHasBeenSet; }
70 inline void SetFailedActions(int value) {
71 m_failedActionsHasBeenSet = true;
72 m_failedActions = value;
73 }
75 SetFailedActions(value);
76 return *this;
77 }
79
81
84 inline int GetStoppedActions() const { return m_stoppedActions; }
85 inline bool StoppedActionsHasBeenSet() const { return m_stoppedActionsHasBeenSet; }
86 inline void SetStoppedActions(int value) {
87 m_stoppedActionsHasBeenSet = true;
88 m_stoppedActions = value;
89 }
91 SetStoppedActions(value);
92 return *this;
93 }
95
97
100 inline int GetSucceededActions() const { return m_succeededActions; }
101 inline bool SucceededActionsHasBeenSet() const { return m_succeededActionsHasBeenSet; }
102 inline void SetSucceededActions(int value) {
103 m_succeededActionsHasBeenSet = true;
104 m_succeededActions = value;
105 }
107 SetSucceededActions(value);
108 return *this;
109 }
111
113
116 inline int GetRunningActions() const { return m_runningActions; }
117 inline bool RunningActionsHasBeenSet() const { return m_runningActionsHasBeenSet; }
118 inline void SetRunningActions(int value) {
119 m_runningActionsHasBeenSet = true;
120 m_runningActions = value;
121 }
123 SetRunningActions(value);
124 return *this;
125 }
127
129
132 inline int GetErroredActions() const { return m_erroredActions; }
133 inline bool ErroredActionsHasBeenSet() const { return m_erroredActionsHasBeenSet; }
134 inline void SetErroredActions(int value) {
135 m_erroredActionsHasBeenSet = true;
136 m_erroredActions = value;
137 }
139 SetErroredActions(value);
140 return *this;
141 }
143
145
148 inline int GetWaitingActions() const { return m_waitingActions; }
149 inline bool WaitingActionsHasBeenSet() const { return m_waitingActionsHasBeenSet; }
150 inline void SetWaitingActions(int value) {
151 m_waitingActionsHasBeenSet = true;
152 m_waitingActions = value;
153 }
155 SetWaitingActions(value);
156 return *this;
157 }
159 private:
160 int m_totalActions{0};
161
162 int m_timeoutActions{0};
163
164 int m_failedActions{0};
165
166 int m_stoppedActions{0};
167
168 int m_succeededActions{0};
169
170 int m_runningActions{0};
171
172 int m_erroredActions{0};
173
174 int m_waitingActions{0};
175 bool m_totalActionsHasBeenSet = false;
176 bool m_timeoutActionsHasBeenSet = false;
177 bool m_failedActionsHasBeenSet = false;
178 bool m_stoppedActionsHasBeenSet = false;
179 bool m_succeededActionsHasBeenSet = false;
180 bool m_runningActionsHasBeenSet = false;
181 bool m_erroredActionsHasBeenSet = false;
182 bool m_waitingActionsHasBeenSet = false;
183};
184
185} // namespace Model
186} // namespace Glue
187} // namespace Aws
WorkflowRunStatistics & WithTotalActions(int value)
AWS_GLUE_API WorkflowRunStatistics()=default
WorkflowRunStatistics & WithSucceededActions(int value)
WorkflowRunStatistics & WithStoppedActions(int value)
WorkflowRunStatistics & WithErroredActions(int value)
WorkflowRunStatistics & WithWaitingActions(int value)
WorkflowRunStatistics & WithRunningActions(int value)
AWS_GLUE_API WorkflowRunStatistics(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowRunStatistics & WithFailedActions(int value)
AWS_GLUE_API WorkflowRunStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowRunStatistics & WithTimeoutActions(int value)
Aws::Utils::Json::JsonValue JsonValue