AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaskStatistics.h
1
6#pragma once
7#include <aws/iot/IoT_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 IoT
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_IOT_API TaskStatistics();
37
38
40
43 inline int GetTotalChecks() const{ return m_totalChecks; }
44 inline bool TotalChecksHasBeenSet() const { return m_totalChecksHasBeenSet; }
45 inline void SetTotalChecks(int value) { m_totalChecksHasBeenSet = true; m_totalChecks = value; }
46 inline TaskStatistics& WithTotalChecks(int value) { SetTotalChecks(value); return *this;}
48
50
53 inline int GetInProgressChecks() const{ return m_inProgressChecks; }
54 inline bool InProgressChecksHasBeenSet() const { return m_inProgressChecksHasBeenSet; }
55 inline void SetInProgressChecks(int value) { m_inProgressChecksHasBeenSet = true; m_inProgressChecks = value; }
56 inline TaskStatistics& WithInProgressChecks(int value) { SetInProgressChecks(value); return *this;}
58
60
63 inline int GetWaitingForDataCollectionChecks() const{ return m_waitingForDataCollectionChecks; }
64 inline bool WaitingForDataCollectionChecksHasBeenSet() const { return m_waitingForDataCollectionChecksHasBeenSet; }
65 inline void SetWaitingForDataCollectionChecks(int value) { m_waitingForDataCollectionChecksHasBeenSet = true; m_waitingForDataCollectionChecks = value; }
68
70
73 inline int GetCompliantChecks() const{ return m_compliantChecks; }
74 inline bool CompliantChecksHasBeenSet() const { return m_compliantChecksHasBeenSet; }
75 inline void SetCompliantChecks(int value) { m_compliantChecksHasBeenSet = true; m_compliantChecks = value; }
76 inline TaskStatistics& WithCompliantChecks(int value) { SetCompliantChecks(value); return *this;}
78
80
83 inline int GetNonCompliantChecks() const{ return m_nonCompliantChecks; }
84 inline bool NonCompliantChecksHasBeenSet() const { return m_nonCompliantChecksHasBeenSet; }
85 inline void SetNonCompliantChecks(int value) { m_nonCompliantChecksHasBeenSet = true; m_nonCompliantChecks = value; }
86 inline TaskStatistics& WithNonCompliantChecks(int value) { SetNonCompliantChecks(value); return *this;}
88
90
93 inline int GetFailedChecks() const{ return m_failedChecks; }
94 inline bool FailedChecksHasBeenSet() const { return m_failedChecksHasBeenSet; }
95 inline void SetFailedChecks(int value) { m_failedChecksHasBeenSet = true; m_failedChecks = value; }
96 inline TaskStatistics& WithFailedChecks(int value) { SetFailedChecks(value); return *this;}
98
100
103 inline int GetCanceledChecks() const{ return m_canceledChecks; }
104 inline bool CanceledChecksHasBeenSet() const { return m_canceledChecksHasBeenSet; }
105 inline void SetCanceledChecks(int value) { m_canceledChecksHasBeenSet = true; m_canceledChecks = value; }
106 inline TaskStatistics& WithCanceledChecks(int value) { SetCanceledChecks(value); return *this;}
108 private:
109
110 int m_totalChecks;
111 bool m_totalChecksHasBeenSet = false;
112
113 int m_inProgressChecks;
114 bool m_inProgressChecksHasBeenSet = false;
115
116 int m_waitingForDataCollectionChecks;
117 bool m_waitingForDataCollectionChecksHasBeenSet = false;
118
119 int m_compliantChecks;
120 bool m_compliantChecksHasBeenSet = false;
121
122 int m_nonCompliantChecks;
123 bool m_nonCompliantChecksHasBeenSet = false;
124
125 int m_failedChecks;
126 bool m_failedChecksHasBeenSet = false;
127
128 int m_canceledChecks;
129 bool m_canceledChecksHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace IoT
134} // namespace Aws
void SetWaitingForDataCollectionChecks(int value)
TaskStatistics & WithTotalChecks(int value)
TaskStatistics & WithFailedChecks(int value)
TaskStatistics & WithCanceledChecks(int value)
TaskStatistics & WithCompliantChecks(int value)
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