AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MapRunItemCounts.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 MapRunItemCounts();
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 MapRunItemCounts& 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 MapRunItemCounts& 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 MapRunItemCounts& 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 MapRunItemCounts& 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 MapRunItemCounts& WithTimedOut(long long value) { SetTimedOut(value); return *this;}
93
95
99 inline long long GetAborted() const{ return m_aborted; }
100 inline bool AbortedHasBeenSet() const { return m_abortedHasBeenSet; }
101 inline void SetAborted(long long value) { m_abortedHasBeenSet = true; m_aborted = value; }
102 inline MapRunItemCounts& WithAborted(long long value) { SetAborted(value); return *this;}
104
106
110 inline long long GetTotal() const{ return m_total; }
111 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
112 inline void SetTotal(long long value) { m_totalHasBeenSet = true; m_total = value; }
113 inline MapRunItemCounts& WithTotal(long long value) { SetTotal(value); return *this;}
115
117
123 inline long long GetResultsWritten() const{ return m_resultsWritten; }
124 inline bool ResultsWrittenHasBeenSet() const { return m_resultsWrittenHasBeenSet; }
125 inline void SetResultsWritten(long long value) { m_resultsWrittenHasBeenSet = true; m_resultsWritten = value; }
126 inline MapRunItemCounts& WithResultsWritten(long long value) { SetResultsWritten(value); return *this;}
128
130
138 inline long long GetFailuresNotRedrivable() const{ return m_failuresNotRedrivable; }
139 inline bool FailuresNotRedrivableHasBeenSet() const { return m_failuresNotRedrivableHasBeenSet; }
140 inline void SetFailuresNotRedrivable(long long value) { m_failuresNotRedrivableHasBeenSet = true; m_failuresNotRedrivable = value; }
141 inline MapRunItemCounts& WithFailuresNotRedrivable(long long value) { SetFailuresNotRedrivable(value); return *this;}
143
145
149 inline long long GetPendingRedrive() const{ return m_pendingRedrive; }
150 inline bool PendingRedriveHasBeenSet() const { return m_pendingRedriveHasBeenSet; }
151 inline void SetPendingRedrive(long long value) { m_pendingRedriveHasBeenSet = true; m_pendingRedrive = value; }
152 inline MapRunItemCounts& WithPendingRedrive(long long value) { SetPendingRedrive(value); return *this;}
154 private:
155
156 long long m_pending;
157 bool m_pendingHasBeenSet = false;
158
159 long long m_running;
160 bool m_runningHasBeenSet = false;
161
162 long long m_succeeded;
163 bool m_succeededHasBeenSet = false;
164
165 long long m_failed;
166 bool m_failedHasBeenSet = false;
167
168 long long m_timedOut;
169 bool m_timedOutHasBeenSet = false;
170
171 long long m_aborted;
172 bool m_abortedHasBeenSet = false;
173
174 long long m_total;
175 bool m_totalHasBeenSet = false;
176
177 long long m_resultsWritten;
178 bool m_resultsWrittenHasBeenSet = false;
179
180 long long m_failuresNotRedrivable;
181 bool m_failuresNotRedrivableHasBeenSet = false;
182
183 long long m_pendingRedrive;
184 bool m_pendingRedriveHasBeenSet = false;
185 };
186
187} // namespace Model
188} // namespace SFN
189} // namespace Aws
void SetResultsWritten(long long value)
MapRunItemCounts & WithSucceeded(long long value)
MapRunItemCounts & WithAborted(long long value)
MapRunItemCounts & WithResultsWritten(long long value)
void SetFailuresNotRedrivable(long long value)
MapRunItemCounts & WithPendingRedrive(long long value)
MapRunItemCounts & WithPending(long long value)
MapRunItemCounts & WithFailed(long long value)
MapRunItemCounts & WithRunning(long long value)
MapRunItemCounts & WithTimedOut(long long value)
void SetPendingRedrive(long long value)
MapRunItemCounts & WithTotal(long long value)
MapRunItemCounts & WithFailuresNotRedrivable(long long value)
AWS_SFN_API MapRunItemCounts & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SFN_API MapRunItemCounts(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue