AWS SDK for C++  1.9.132
AWS SDK for C++
TaskStatistics.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace IoT
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
42  inline int GetTotalChecks() const{ return m_totalChecks; }
43 
47  inline bool TotalChecksHasBeenSet() const { return m_totalChecksHasBeenSet; }
48 
52  inline void SetTotalChecks(int value) { m_totalChecksHasBeenSet = true; m_totalChecks = value; }
53 
57  inline TaskStatistics& WithTotalChecks(int value) { SetTotalChecks(value); return *this;}
58 
59 
63  inline int GetInProgressChecks() const{ return m_inProgressChecks; }
64 
68  inline bool InProgressChecksHasBeenSet() const { return m_inProgressChecksHasBeenSet; }
69 
73  inline void SetInProgressChecks(int value) { m_inProgressChecksHasBeenSet = true; m_inProgressChecks = value; }
74 
78  inline TaskStatistics& WithInProgressChecks(int value) { SetInProgressChecks(value); return *this;}
79 
80 
84  inline int GetWaitingForDataCollectionChecks() const{ return m_waitingForDataCollectionChecks; }
85 
89  inline bool WaitingForDataCollectionChecksHasBeenSet() const { return m_waitingForDataCollectionChecksHasBeenSet; }
90 
94  inline void SetWaitingForDataCollectionChecks(int value) { m_waitingForDataCollectionChecksHasBeenSet = true; m_waitingForDataCollectionChecks = value; }
95 
99  inline TaskStatistics& WithWaitingForDataCollectionChecks(int value) { SetWaitingForDataCollectionChecks(value); return *this;}
100 
101 
105  inline int GetCompliantChecks() const{ return m_compliantChecks; }
106 
110  inline bool CompliantChecksHasBeenSet() const { return m_compliantChecksHasBeenSet; }
111 
115  inline void SetCompliantChecks(int value) { m_compliantChecksHasBeenSet = true; m_compliantChecks = value; }
116 
120  inline TaskStatistics& WithCompliantChecks(int value) { SetCompliantChecks(value); return *this;}
121 
122 
126  inline int GetNonCompliantChecks() const{ return m_nonCompliantChecks; }
127 
131  inline bool NonCompliantChecksHasBeenSet() const { return m_nonCompliantChecksHasBeenSet; }
132 
136  inline void SetNonCompliantChecks(int value) { m_nonCompliantChecksHasBeenSet = true; m_nonCompliantChecks = value; }
137 
141  inline TaskStatistics& WithNonCompliantChecks(int value) { SetNonCompliantChecks(value); return *this;}
142 
143 
147  inline int GetFailedChecks() const{ return m_failedChecks; }
148 
152  inline bool FailedChecksHasBeenSet() const { return m_failedChecksHasBeenSet; }
153 
157  inline void SetFailedChecks(int value) { m_failedChecksHasBeenSet = true; m_failedChecks = value; }
158 
162  inline TaskStatistics& WithFailedChecks(int value) { SetFailedChecks(value); return *this;}
163 
164 
168  inline int GetCanceledChecks() const{ return m_canceledChecks; }
169 
173  inline bool CanceledChecksHasBeenSet() const { return m_canceledChecksHasBeenSet; }
174 
178  inline void SetCanceledChecks(int value) { m_canceledChecksHasBeenSet = true; m_canceledChecks = value; }
179 
183  inline TaskStatistics& WithCanceledChecks(int value) { SetCanceledChecks(value); return *this;}
184 
185  private:
186 
187  int m_totalChecks;
188  bool m_totalChecksHasBeenSet;
189 
190  int m_inProgressChecks;
191  bool m_inProgressChecksHasBeenSet;
192 
193  int m_waitingForDataCollectionChecks;
194  bool m_waitingForDataCollectionChecksHasBeenSet;
195 
196  int m_compliantChecks;
197  bool m_compliantChecksHasBeenSet;
198 
199  int m_nonCompliantChecks;
200  bool m_nonCompliantChecksHasBeenSet;
201 
202  int m_failedChecks;
203  bool m_failedChecksHasBeenSet;
204 
205  int m_canceledChecks;
206  bool m_canceledChecksHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace IoT
211 } // namespace Aws
Aws::IoT::Model::TaskStatistics::NonCompliantChecksHasBeenSet
bool NonCompliantChecksHasBeenSet() const
Definition: TaskStatistics.h:131
Aws::IoT::Model::TaskStatistics::CompliantChecksHasBeenSet
bool CompliantChecksHasBeenSet() const
Definition: TaskStatistics.h:110
Aws::IoT::Model::TaskStatistics::TaskStatistics
TaskStatistics(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::TaskStatistics::SetCanceledChecks
void SetCanceledChecks(int value)
Definition: TaskStatistics.h:178
Aws::IoT::Model::TaskStatistics::FailedChecksHasBeenSet
bool FailedChecksHasBeenSet() const
Definition: TaskStatistics.h:152
Aws::IoT::Model::TaskStatistics::SetCompliantChecks
void SetCompliantChecks(int value)
Definition: TaskStatistics.h:115
Aws::IoT::Model::TaskStatistics::WaitingForDataCollectionChecksHasBeenSet
bool WaitingForDataCollectionChecksHasBeenSet() const
Definition: TaskStatistics.h:89
Aws::IoT::Model::TaskStatistics::WithInProgressChecks
TaskStatistics & WithInProgressChecks(int value)
Definition: TaskStatistics.h:78
Aws::IoT::Model::TaskStatistics::CanceledChecksHasBeenSet
bool CanceledChecksHasBeenSet() const
Definition: TaskStatistics.h:173
Aws::IoT::Model::TaskStatistics::SetFailedChecks
void SetFailedChecks(int value)
Definition: TaskStatistics.h:157
Aws::IoT::Model::TaskStatistics::GetCanceledChecks
int GetCanceledChecks() const
Definition: TaskStatistics.h:168
Aws::IoT::Model::TaskStatistics::SetInProgressChecks
void SetInProgressChecks(int value)
Definition: TaskStatistics.h:73
Aws::IoT::Model::TaskStatistics::WithCanceledChecks
TaskStatistics & WithCanceledChecks(int value)
Definition: TaskStatistics.h:183
Aws::IoT::Model::TaskStatistics::TaskStatistics
TaskStatistics()
Aws::IoT::Model::TaskStatistics::GetFailedChecks
int GetFailedChecks() const
Definition: TaskStatistics.h:147
Aws::IoT::Model::TaskStatistics::GetCompliantChecks
int GetCompliantChecks() const
Definition: TaskStatistics.h:105
Aws::IoT::Model::TaskStatistics::InProgressChecksHasBeenSet
bool InProgressChecksHasBeenSet() const
Definition: TaskStatistics.h:68
Aws::IoT::Model::TaskStatistics::GetWaitingForDataCollectionChecks
int GetWaitingForDataCollectionChecks() const
Definition: TaskStatistics.h:84
Aws::IoT::Model::TaskStatistics::operator=
TaskStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::TaskStatistics::SetTotalChecks
void SetTotalChecks(int value)
Definition: TaskStatistics.h:52
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoT::Model::TaskStatistics
Definition: TaskStatistics.h:31
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::TaskStatistics::GetInProgressChecks
int GetInProgressChecks() const
Definition: TaskStatistics.h:63
Aws::IoT::Model::TaskStatistics::TotalChecksHasBeenSet
bool TotalChecksHasBeenSet() const
Definition: TaskStatistics.h:47
Aws::IoT::Model::TaskStatistics::SetWaitingForDataCollectionChecks
void SetWaitingForDataCollectionChecks(int value)
Definition: TaskStatistics.h:94
Aws::IoT::Model::TaskStatistics::WithTotalChecks
TaskStatistics & WithTotalChecks(int value)
Definition: TaskStatistics.h:57
Aws::IoT::Model::TaskStatistics::GetTotalChecks
int GetTotalChecks() const
Definition: TaskStatistics.h:42
Aws::IoT::Model::TaskStatistics::WithNonCompliantChecks
TaskStatistics & WithNonCompliantChecks(int value)
Definition: TaskStatistics.h:141
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::TaskStatistics::WithFailedChecks
TaskStatistics & WithFailedChecks(int value)
Definition: TaskStatistics.h:162
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::TaskStatistics::SetNonCompliantChecks
void SetNonCompliantChecks(int value)
Definition: TaskStatistics.h:136
Aws::IoT::Model::TaskStatistics::WithWaitingForDataCollectionChecks
TaskStatistics & WithWaitingForDataCollectionChecks(int value)
Definition: TaskStatistics.h:99
Aws::IoT::Model::TaskStatistics::WithCompliantChecks
TaskStatistics & WithCompliantChecks(int value)
Definition: TaskStatistics.h:120
Aws::IoT::Model::TaskStatistics::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::TaskStatistics::GetNonCompliantChecks
int GetNonCompliantChecks() const
Definition: TaskStatistics.h:126
IoT_EXPORTS.h