AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
TaskStatistics.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace IoT {
17namespace Model {
18
26 public:
27 AWS_IOT_API TaskStatistics() = default;
31
33
36 inline int GetTotalChecks() const { return m_totalChecks; }
37 inline bool TotalChecksHasBeenSet() const { return m_totalChecksHasBeenSet; }
38 inline void SetTotalChecks(int value) {
39 m_totalChecksHasBeenSet = true;
40 m_totalChecks = value;
41 }
42 inline TaskStatistics& WithTotalChecks(int value) {
43 SetTotalChecks(value);
44 return *this;
45 }
47
49
52 inline int GetInProgressChecks() const { return m_inProgressChecks; }
53 inline bool InProgressChecksHasBeenSet() const { return m_inProgressChecksHasBeenSet; }
54 inline void SetInProgressChecks(int value) {
55 m_inProgressChecksHasBeenSet = true;
56 m_inProgressChecks = value;
57 }
60 return *this;
61 }
63
65
68 inline int GetWaitingForDataCollectionChecks() const { return m_waitingForDataCollectionChecks; }
69 inline bool WaitingForDataCollectionChecksHasBeenSet() const { return m_waitingForDataCollectionChecksHasBeenSet; }
70 inline void SetWaitingForDataCollectionChecks(int value) {
71 m_waitingForDataCollectionChecksHasBeenSet = true;
72 m_waitingForDataCollectionChecks = value;
73 }
76 return *this;
77 }
79
81
84 inline int GetCompliantChecks() const { return m_compliantChecks; }
85 inline bool CompliantChecksHasBeenSet() const { return m_compliantChecksHasBeenSet; }
86 inline void SetCompliantChecks(int value) {
87 m_compliantChecksHasBeenSet = true;
88 m_compliantChecks = value;
89 }
91 SetCompliantChecks(value);
92 return *this;
93 }
95
97
100 inline int GetNonCompliantChecks() const { return m_nonCompliantChecks; }
101 inline bool NonCompliantChecksHasBeenSet() const { return m_nonCompliantChecksHasBeenSet; }
102 inline void SetNonCompliantChecks(int value) {
103 m_nonCompliantChecksHasBeenSet = true;
104 m_nonCompliantChecks = value;
105 }
108 return *this;
109 }
111
113
116 inline int GetFailedChecks() const { return m_failedChecks; }
117 inline bool FailedChecksHasBeenSet() const { return m_failedChecksHasBeenSet; }
118 inline void SetFailedChecks(int value) {
119 m_failedChecksHasBeenSet = true;
120 m_failedChecks = value;
121 }
122 inline TaskStatistics& WithFailedChecks(int value) {
123 SetFailedChecks(value);
124 return *this;
125 }
127
129
132 inline int GetCanceledChecks() const { return m_canceledChecks; }
133 inline bool CanceledChecksHasBeenSet() const { return m_canceledChecksHasBeenSet; }
134 inline void SetCanceledChecks(int value) {
135 m_canceledChecksHasBeenSet = true;
136 m_canceledChecks = value;
137 }
139 SetCanceledChecks(value);
140 return *this;
141 }
143 private:
144 int m_totalChecks{0};
145
146 int m_inProgressChecks{0};
147
148 int m_waitingForDataCollectionChecks{0};
149
150 int m_compliantChecks{0};
151
152 int m_nonCompliantChecks{0};
153
154 int m_failedChecks{0};
155
156 int m_canceledChecks{0};
157 bool m_totalChecksHasBeenSet = false;
158 bool m_inProgressChecksHasBeenSet = false;
159 bool m_waitingForDataCollectionChecksHasBeenSet = false;
160 bool m_compliantChecksHasBeenSet = false;
161 bool m_nonCompliantChecksHasBeenSet = false;
162 bool m_failedChecksHasBeenSet = false;
163 bool m_canceledChecksHasBeenSet = false;
164};
165
166} // namespace Model
167} // namespace IoT
168} // namespace Aws
void SetWaitingForDataCollectionChecks(int value)
TaskStatistics & WithTotalChecks(int value)
TaskStatistics & WithFailedChecks(int value)
TaskStatistics & WithCanceledChecks(int value)
TaskStatistics & WithCompliantChecks(int value)
AWS_IOT_API TaskStatistics()=default
bool WaitingForDataCollectionChecksHasBeenSet() const
AWS_IOT_API TaskStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskStatistics & WithInProgressChecks(int value)
AWS_IOT_API TaskStatistics(Aws::Utils::Json::JsonView jsonValue)
TaskStatistics & WithWaitingForDataCollectionChecks(int value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
TaskStatistics & WithNonCompliantChecks(int value)
Aws::Utils::Json::JsonValue JsonValue