AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
DetectMitigationActionsTaskStatistics.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
25 public:
30
32
35 inline long long GetActionsExecuted() const { return m_actionsExecuted; }
36 inline bool ActionsExecutedHasBeenSet() const { return m_actionsExecutedHasBeenSet; }
37 inline void SetActionsExecuted(long long value) {
38 m_actionsExecutedHasBeenSet = true;
39 m_actionsExecuted = value;
40 }
42 SetActionsExecuted(value);
43 return *this;
44 }
46
48
51 inline long long GetActionsSkipped() const { return m_actionsSkipped; }
52 inline bool ActionsSkippedHasBeenSet() const { return m_actionsSkippedHasBeenSet; }
53 inline void SetActionsSkipped(long long value) {
54 m_actionsSkippedHasBeenSet = true;
55 m_actionsSkipped = value;
56 }
58 SetActionsSkipped(value);
59 return *this;
60 }
62
64
67 inline long long GetActionsFailed() const { return m_actionsFailed; }
68 inline bool ActionsFailedHasBeenSet() const { return m_actionsFailedHasBeenSet; }
69 inline void SetActionsFailed(long long value) {
70 m_actionsFailedHasBeenSet = true;
71 m_actionsFailed = value;
72 }
74 SetActionsFailed(value);
75 return *this;
76 }
78 private:
79 long long m_actionsExecuted{0};
80
81 long long m_actionsSkipped{0};
82
83 long long m_actionsFailed{0};
84 bool m_actionsExecutedHasBeenSet = false;
85 bool m_actionsSkippedHasBeenSet = false;
86 bool m_actionsFailedHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace IoT
91} // namespace Aws
AWS_IOT_API DetectMitigationActionsTaskStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectMitigationActionsTaskStatistics & WithActionsExecuted(long long value)
DetectMitigationActionsTaskStatistics & WithActionsSkipped(long long value)
DetectMitigationActionsTaskStatistics & WithActionsFailed(long long value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API DetectMitigationActionsTaskStatistics(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue