AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Counters.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_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 DeviceFarm
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_DEVICEFARM_API Counters();
33 AWS_DEVICEFARM_API Counters(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DEVICEFARM_API Counters& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetTotal() const{ return m_total; }
43 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
44 inline void SetTotal(int value) { m_totalHasBeenSet = true; m_total = value; }
45 inline Counters& WithTotal(int value) { SetTotal(value); return *this;}
47
49
52 inline int GetPassed() const{ return m_passed; }
53 inline bool PassedHasBeenSet() const { return m_passedHasBeenSet; }
54 inline void SetPassed(int value) { m_passedHasBeenSet = true; m_passed = value; }
55 inline Counters& WithPassed(int value) { SetPassed(value); return *this;}
57
59
62 inline int GetFailed() const{ return m_failed; }
63 inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; }
64 inline void SetFailed(int value) { m_failedHasBeenSet = true; m_failed = value; }
65 inline Counters& WithFailed(int value) { SetFailed(value); return *this;}
67
69
72 inline int GetWarned() const{ return m_warned; }
73 inline bool WarnedHasBeenSet() const { return m_warnedHasBeenSet; }
74 inline void SetWarned(int value) { m_warnedHasBeenSet = true; m_warned = value; }
75 inline Counters& WithWarned(int value) { SetWarned(value); return *this;}
77
79
82 inline int GetErrored() const{ return m_errored; }
83 inline bool ErroredHasBeenSet() const { return m_erroredHasBeenSet; }
84 inline void SetErrored(int value) { m_erroredHasBeenSet = true; m_errored = value; }
85 inline Counters& WithErrored(int value) { SetErrored(value); return *this;}
87
89
92 inline int GetStopped() const{ return m_stopped; }
93 inline bool StoppedHasBeenSet() const { return m_stoppedHasBeenSet; }
94 inline void SetStopped(int value) { m_stoppedHasBeenSet = true; m_stopped = value; }
95 inline Counters& WithStopped(int value) { SetStopped(value); return *this;}
97
99
102 inline int GetSkipped() const{ return m_skipped; }
103 inline bool SkippedHasBeenSet() const { return m_skippedHasBeenSet; }
104 inline void SetSkipped(int value) { m_skippedHasBeenSet = true; m_skipped = value; }
105 inline Counters& WithSkipped(int value) { SetSkipped(value); return *this;}
107 private:
108
109 int m_total;
110 bool m_totalHasBeenSet = false;
111
112 int m_passed;
113 bool m_passedHasBeenSet = false;
114
115 int m_failed;
116 bool m_failedHasBeenSet = false;
117
118 int m_warned;
119 bool m_warnedHasBeenSet = false;
120
121 int m_errored;
122 bool m_erroredHasBeenSet = false;
123
124 int m_stopped;
125 bool m_stoppedHasBeenSet = false;
126
127 int m_skipped;
128 bool m_skippedHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace DeviceFarm
133} // namespace Aws
Counters & WithWarned(int value)
Definition Counters.h:75
Counters & WithFailed(int value)
Definition Counters.h:65
Counters & WithSkipped(int value)
Definition Counters.h:105
AWS_DEVICEFARM_API Counters()
AWS_DEVICEFARM_API Counters(Aws::Utils::Json::JsonView jsonValue)
Counters & WithPassed(int value)
Definition Counters.h:55
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
Counters & WithErrored(int value)
Definition Counters.h:85
Counters & WithStopped(int value)
Definition Counters.h:95
AWS_DEVICEFARM_API Counters & operator=(Aws::Utils::Json::JsonView jsonValue)
Counters & WithTotal(int value)
Definition Counters.h:45
Aws::Utils::Json::JsonValue JsonValue