AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MapRunExecutionCounts.h
1
6#pragma once
7#include <aws/states/SFN_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 SFN
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_SFN_API MapRunExecutionCounts();
37
38
40
44 inline long long GetPending() const{ return m_pending; }
45 inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; }
46 inline void SetPending(long long value) { m_pendingHasBeenSet = true; m_pending = value; }
47 inline MapRunExecutionCounts& WithPending(long long value) { SetPending(value); return *this;}
49
51
55 inline long long GetRunning() const{ return m_running; }
56 inline bool RunningHasBeenSet() const { return m_runningHasBeenSet; }
57 inline void SetRunning(long long value) { m_runningHasBeenSet = true; m_running = value; }
58 inline MapRunExecutionCounts& WithRunning(long long value) { SetRunning(value); return *this;}
60
62
66 inline long long GetSucceeded() const{ return m_succeeded; }
67 inline bool SucceededHasBeenSet() const { return m_succeededHasBeenSet; }
68 inline void SetSucceeded(long long value) { m_succeededHasBeenSet = true; m_succeeded = value; }
69 inline MapRunExecutionCounts& WithSucceeded(long long value) { SetSucceeded(value); return *this;}
71
73
77 inline long long GetFailed() const{ return m_failed; }
78 inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; }
79 inline void SetFailed(long long value) { m_failedHasBeenSet = true; m_failed = value; }
80 inline MapRunExecutionCounts& WithFailed(long long value) { SetFailed(value); return *this;}
82
84
88 inline long long GetTimedOut() const{ return m_timedOut; }
89 inline bool TimedOutHasBeenSet() const { return m_timedOutHasBeenSet; }
90 inline void SetTimedOut(long long value) { m_timedOutHasBeenSet = true; m_timedOut = value; }
91 inline MapRunExecutionCounts& WithTimedOut(long long value) { SetTimedOut(value); return *this;}
93
95
100 inline long long GetAborted() const{ return m_aborted; }
101 inline bool AbortedHasBeenSet() const { return m_abortedHasBeenSet; }
102 inline void SetAborted(long long value) { m_abortedHasBeenSet = true; m_aborted = value; }
103 inline MapRunExecutionCounts& WithAborted(long long value) { SetAborted(value); return *this;}
105
107
111 inline long long GetTotal() const{ return m_total; }
112 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
113 inline void SetTotal(long long value) { m_totalHasBeenSet = true; m_total = value; }
114 inline MapRunExecutionCounts& WithTotal(long long value) { SetTotal(value); return *this;}
116
118
124 inline long long GetResultsWritten() const{ return m_resultsWritten; }
125 inline bool ResultsWrittenHasBeenSet() const { return m_resultsWrittenHasBeenSet; }
126 inline void SetResultsWritten(long long value) { m_resultsWrittenHasBeenSet = true; m_resultsWritten = value; }
127 inline MapRunExecutionCounts& WithResultsWritten(long long value) { SetResultsWritten(value); return *this;}
129
131
139 inline long long GetFailuresNotRedrivable() const{ return m_failuresNotRedrivable; }
140 inline bool FailuresNotRedrivableHasBeenSet() const { return m_failuresNotRedrivableHasBeenSet; }
141 inline void SetFailuresNotRedrivable(long long value) { m_failuresNotRedrivableHasBeenSet = true; m_failuresNotRedrivable = value; }
142 inline MapRunExecutionCounts& WithFailuresNotRedrivable(long long value) { SetFailuresNotRedrivable(value); return *this;}
144
146
152 inline long long GetPendingRedrive() const{ return m_pendingRedrive; }
153 inline bool PendingRedriveHasBeenSet() const { return m_pendingRedriveHasBeenSet; }
154 inline void SetPendingRedrive(long long value) { m_pendingRedriveHasBeenSet = true; m_pendingRedrive = value; }
155 inline MapRunExecutionCounts& WithPendingRedrive(long long value) { SetPendingRedrive(value); return *this;}
157 private:
158
159 long long m_pending;
160 bool m_pendingHasBeenSet = false;
161
162 long long m_running;
163 bool m_runningHasBeenSet = false;
164
165 long long m_succeeded;
166 bool m_succeededHasBeenSet = false;
167
168 long long m_failed;
169 bool m_failedHasBeenSet = false;
170
171 long long m_timedOut;
172 bool m_timedOutHasBeenSet = false;
173
174 long long m_aborted;
175 bool m_abortedHasBeenSet = false;
176
177 long long m_total;
178 bool m_totalHasBeenSet = false;
179
180 long long m_resultsWritten;
181 bool m_resultsWrittenHasBeenSet = false;
182
183 long long m_failuresNotRedrivable;
184 bool m_failuresNotRedrivableHasBeenSet = false;
185
186 long long m_pendingRedrive;
187 bool m_pendingRedriveHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace SFN
192} // namespace Aws
AWS_SFN_API MapRunExecutionCounts & operator=(Aws::Utils::Json::JsonView jsonValue)
MapRunExecutionCounts & WithTimedOut(long long value)
MapRunExecutionCounts & WithPending(long long value)
MapRunExecutionCounts & WithRunning(long long value)
MapRunExecutionCounts & WithAborted(long long value)
MapRunExecutionCounts & WithFailuresNotRedrivable(long long value)
MapRunExecutionCounts & WithSucceeded(long long value)
MapRunExecutionCounts & WithTotal(long long value)
MapRunExecutionCounts & WithFailed(long long value)
AWS_SFN_API MapRunExecutionCounts(Aws::Utils::Json::JsonView jsonValue)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
MapRunExecutionCounts & WithResultsWritten(long long value)
MapRunExecutionCounts & WithPendingRedrive(long long value)
Aws::Utils::Json::JsonValue JsonValue