AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
RunSummary.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Omics {
17namespace Model {
18
25 public:
26 AWS_OMICS_API RunSummary() = default;
27 AWS_OMICS_API RunSummary(Aws::Utils::Json::JsonView jsonValue);
29 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetPendingRunCount() const { return m_pendingRunCount; }
36 inline bool PendingRunCountHasBeenSet() const { return m_pendingRunCountHasBeenSet; }
37 inline void SetPendingRunCount(int value) {
38 m_pendingRunCountHasBeenSet = true;
39 m_pendingRunCount = value;
40 }
41 inline RunSummary& WithPendingRunCount(int value) {
42 SetPendingRunCount(value);
43 return *this;
44 }
46
48
51 inline int GetStartingRunCount() const { return m_startingRunCount; }
52 inline bool StartingRunCountHasBeenSet() const { return m_startingRunCountHasBeenSet; }
53 inline void SetStartingRunCount(int value) {
54 m_startingRunCountHasBeenSet = true;
55 m_startingRunCount = value;
56 }
57 inline RunSummary& WithStartingRunCount(int value) {
59 return *this;
60 }
62
64
67 inline int GetRunningRunCount() const { return m_runningRunCount; }
68 inline bool RunningRunCountHasBeenSet() const { return m_runningRunCountHasBeenSet; }
69 inline void SetRunningRunCount(int value) {
70 m_runningRunCountHasBeenSet = true;
71 m_runningRunCount = value;
72 }
73 inline RunSummary& WithRunningRunCount(int value) {
74 SetRunningRunCount(value);
75 return *this;
76 }
78
80
83 inline int GetStoppingRunCount() const { return m_stoppingRunCount; }
84 inline bool StoppingRunCountHasBeenSet() const { return m_stoppingRunCountHasBeenSet; }
85 inline void SetStoppingRunCount(int value) {
86 m_stoppingRunCountHasBeenSet = true;
87 m_stoppingRunCount = value;
88 }
89 inline RunSummary& WithStoppingRunCount(int value) {
91 return *this;
92 }
94
96
99 inline int GetCompletedRunCount() const { return m_completedRunCount; }
100 inline bool CompletedRunCountHasBeenSet() const { return m_completedRunCountHasBeenSet; }
101 inline void SetCompletedRunCount(int value) {
102 m_completedRunCountHasBeenSet = true;
103 m_completedRunCount = value;
104 }
107 return *this;
108 }
110
112
115 inline int GetDeletedRunCount() const { return m_deletedRunCount; }
116 inline bool DeletedRunCountHasBeenSet() const { return m_deletedRunCountHasBeenSet; }
117 inline void SetDeletedRunCount(int value) {
118 m_deletedRunCountHasBeenSet = true;
119 m_deletedRunCount = value;
120 }
121 inline RunSummary& WithDeletedRunCount(int value) {
122 SetDeletedRunCount(value);
123 return *this;
124 }
126
128
131 inline int GetFailedRunCount() const { return m_failedRunCount; }
132 inline bool FailedRunCountHasBeenSet() const { return m_failedRunCountHasBeenSet; }
133 inline void SetFailedRunCount(int value) {
134 m_failedRunCountHasBeenSet = true;
135 m_failedRunCount = value;
136 }
137 inline RunSummary& WithFailedRunCount(int value) {
138 SetFailedRunCount(value);
139 return *this;
140 }
142
144
147 inline int GetCancelledRunCount() const { return m_cancelledRunCount; }
148 inline bool CancelledRunCountHasBeenSet() const { return m_cancelledRunCountHasBeenSet; }
149 inline void SetCancelledRunCount(int value) {
150 m_cancelledRunCountHasBeenSet = true;
151 m_cancelledRunCount = value;
152 }
155 return *this;
156 }
158 private:
159 int m_pendingRunCount{0};
160
161 int m_startingRunCount{0};
162
163 int m_runningRunCount{0};
164
165 int m_stoppingRunCount{0};
166
167 int m_completedRunCount{0};
168
169 int m_deletedRunCount{0};
170
171 int m_failedRunCount{0};
172
173 int m_cancelledRunCount{0};
174 bool m_pendingRunCountHasBeenSet = false;
175 bool m_startingRunCountHasBeenSet = false;
176 bool m_runningRunCountHasBeenSet = false;
177 bool m_stoppingRunCountHasBeenSet = false;
178 bool m_completedRunCountHasBeenSet = false;
179 bool m_deletedRunCountHasBeenSet = false;
180 bool m_failedRunCountHasBeenSet = false;
181 bool m_cancelledRunCountHasBeenSet = false;
182};
183
184} // namespace Model
185} // namespace Omics
186} // namespace Aws
bool CompletedRunCountHasBeenSet() const
Definition RunSummary.h:100
void SetPendingRunCount(int value)
Definition RunSummary.h:37
void SetCancelledRunCount(int value)
Definition RunSummary.h:149
bool FailedRunCountHasBeenSet() const
Definition RunSummary.h:132
AWS_OMICS_API RunSummary(Aws::Utils::Json::JsonView jsonValue)
void SetStartingRunCount(int value)
Definition RunSummary.h:53
AWS_OMICS_API RunSummary()=default
AWS_OMICS_API RunSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DeletedRunCountHasBeenSet() const
Definition RunSummary.h:116
bool StoppingRunCountHasBeenSet() const
Definition RunSummary.h:84
bool CancelledRunCountHasBeenSet() const
Definition RunSummary.h:148
RunSummary & WithRunningRunCount(int value)
Definition RunSummary.h:73
RunSummary & WithPendingRunCount(int value)
Definition RunSummary.h:41
RunSummary & WithStoppingRunCount(int value)
Definition RunSummary.h:89
void SetFailedRunCount(int value)
Definition RunSummary.h:133
RunSummary & WithCompletedRunCount(int value)
Definition RunSummary.h:105
bool PendingRunCountHasBeenSet() const
Definition RunSummary.h:36
bool StartingRunCountHasBeenSet() const
Definition RunSummary.h:52
RunSummary & WithFailedRunCount(int value)
Definition RunSummary.h:137
void SetStoppingRunCount(int value)
Definition RunSummary.h:85
void SetRunningRunCount(int value)
Definition RunSummary.h:69
RunSummary & WithCancelledRunCount(int value)
Definition RunSummary.h:153
bool RunningRunCountHasBeenSet() const
Definition RunSummary.h:68
RunSummary & WithDeletedRunCount(int value)
Definition RunSummary.h:121
void SetDeletedRunCount(int value)
Definition RunSummary.h:117
void SetCompletedRunCount(int value)
Definition RunSummary.h:101
RunSummary & WithStartingRunCount(int value)
Definition RunSummary.h:57
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue