AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkflowRunStatistics.h
1
6#pragma once
7#include <aws/glue/Glue_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 Glue
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_GLUE_API WorkflowRunStatistics();
37
38
40
43 inline int GetTotalActions() const{ return m_totalActions; }
44 inline bool TotalActionsHasBeenSet() const { return m_totalActionsHasBeenSet; }
45 inline void SetTotalActions(int value) { m_totalActionsHasBeenSet = true; m_totalActions = value; }
46 inline WorkflowRunStatistics& WithTotalActions(int value) { SetTotalActions(value); return *this;}
48
50
53 inline int GetTimeoutActions() const{ return m_timeoutActions; }
54 inline bool TimeoutActionsHasBeenSet() const { return m_timeoutActionsHasBeenSet; }
55 inline void SetTimeoutActions(int value) { m_timeoutActionsHasBeenSet = true; m_timeoutActions = value; }
56 inline WorkflowRunStatistics& WithTimeoutActions(int value) { SetTimeoutActions(value); return *this;}
58
60
63 inline int GetFailedActions() const{ return m_failedActions; }
64 inline bool FailedActionsHasBeenSet() const { return m_failedActionsHasBeenSet; }
65 inline void SetFailedActions(int value) { m_failedActionsHasBeenSet = true; m_failedActions = value; }
66 inline WorkflowRunStatistics& WithFailedActions(int value) { SetFailedActions(value); return *this;}
68
70
73 inline int GetStoppedActions() const{ return m_stoppedActions; }
74 inline bool StoppedActionsHasBeenSet() const { return m_stoppedActionsHasBeenSet; }
75 inline void SetStoppedActions(int value) { m_stoppedActionsHasBeenSet = true; m_stoppedActions = value; }
76 inline WorkflowRunStatistics& WithStoppedActions(int value) { SetStoppedActions(value); return *this;}
78
80
83 inline int GetSucceededActions() const{ return m_succeededActions; }
84 inline bool SucceededActionsHasBeenSet() const { return m_succeededActionsHasBeenSet; }
85 inline void SetSucceededActions(int value) { m_succeededActionsHasBeenSet = true; m_succeededActions = value; }
86 inline WorkflowRunStatistics& WithSucceededActions(int value) { SetSucceededActions(value); return *this;}
88
90
93 inline int GetRunningActions() const{ return m_runningActions; }
94 inline bool RunningActionsHasBeenSet() const { return m_runningActionsHasBeenSet; }
95 inline void SetRunningActions(int value) { m_runningActionsHasBeenSet = true; m_runningActions = value; }
96 inline WorkflowRunStatistics& WithRunningActions(int value) { SetRunningActions(value); return *this;}
98
100
103 inline int GetErroredActions() const{ return m_erroredActions; }
104 inline bool ErroredActionsHasBeenSet() const { return m_erroredActionsHasBeenSet; }
105 inline void SetErroredActions(int value) { m_erroredActionsHasBeenSet = true; m_erroredActions = value; }
106 inline WorkflowRunStatistics& WithErroredActions(int value) { SetErroredActions(value); return *this;}
108
110
113 inline int GetWaitingActions() const{ return m_waitingActions; }
114 inline bool WaitingActionsHasBeenSet() const { return m_waitingActionsHasBeenSet; }
115 inline void SetWaitingActions(int value) { m_waitingActionsHasBeenSet = true; m_waitingActions = value; }
116 inline WorkflowRunStatistics& WithWaitingActions(int value) { SetWaitingActions(value); return *this;}
118 private:
119
120 int m_totalActions;
121 bool m_totalActionsHasBeenSet = false;
122
123 int m_timeoutActions;
124 bool m_timeoutActionsHasBeenSet = false;
125
126 int m_failedActions;
127 bool m_failedActionsHasBeenSet = false;
128
129 int m_stoppedActions;
130 bool m_stoppedActionsHasBeenSet = false;
131
132 int m_succeededActions;
133 bool m_succeededActionsHasBeenSet = false;
134
135 int m_runningActions;
136 bool m_runningActionsHasBeenSet = false;
137
138 int m_erroredActions;
139 bool m_erroredActionsHasBeenSet = false;
140
141 int m_waitingActions;
142 bool m_waitingActionsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace Glue
147} // namespace Aws
WorkflowRunStatistics & WithTotalActions(int value)
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