AWS SDK for C++  1.9.124
AWS SDK for C++
DetectMitigationActionsTaskStatistics.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 
30  {
31  public:
36 
37 
41  inline long long GetActionsExecuted() const{ return m_actionsExecuted; }
42 
46  inline bool ActionsExecutedHasBeenSet() const { return m_actionsExecutedHasBeenSet; }
47 
51  inline void SetActionsExecuted(long long value) { m_actionsExecutedHasBeenSet = true; m_actionsExecuted = value; }
52 
56  inline DetectMitigationActionsTaskStatistics& WithActionsExecuted(long long value) { SetActionsExecuted(value); return *this;}
57 
58 
62  inline long long GetActionsSkipped() const{ return m_actionsSkipped; }
63 
67  inline bool ActionsSkippedHasBeenSet() const { return m_actionsSkippedHasBeenSet; }
68 
72  inline void SetActionsSkipped(long long value) { m_actionsSkippedHasBeenSet = true; m_actionsSkipped = value; }
73 
77  inline DetectMitigationActionsTaskStatistics& WithActionsSkipped(long long value) { SetActionsSkipped(value); return *this;}
78 
79 
83  inline long long GetActionsFailed() const{ return m_actionsFailed; }
84 
88  inline bool ActionsFailedHasBeenSet() const { return m_actionsFailedHasBeenSet; }
89 
93  inline void SetActionsFailed(long long value) { m_actionsFailedHasBeenSet = true; m_actionsFailed = value; }
94 
98  inline DetectMitigationActionsTaskStatistics& WithActionsFailed(long long value) { SetActionsFailed(value); return *this;}
99 
100  private:
101 
102  long long m_actionsExecuted;
103  bool m_actionsExecutedHasBeenSet;
104 
105  long long m_actionsSkipped;
106  bool m_actionsSkippedHasBeenSet;
107 
108  long long m_actionsFailed;
109  bool m_actionsFailedHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace IoT
114 } // namespace Aws
Aws::IoT::Model::DetectMitigationActionsTaskStatistics::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::DetectMitigationActionsTaskStatistics::GetActionsFailed
long long GetActionsFailed() const
Definition: DetectMitigationActionsTaskStatistics.h:83
Aws::IoT::Model::DetectMitigationActionsTaskStatistics::DetectMitigationActionsTaskStatistics
DetectMitigationActionsTaskStatistics(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::DetectMitigationActionsTaskStatistics::GetActionsExecuted
long long GetActionsExecuted() const
Definition: DetectMitigationActionsTaskStatistics.h:41
Aws::IoT::Model::DetectMitigationActionsTaskStatistics::WithActionsExecuted
DetectMitigationActionsTaskStatistics & WithActionsExecuted(long long value)
Definition: DetectMitigationActionsTaskStatistics.h:56
Aws::IoT::Model::DetectMitigationActionsTaskStatistics::ActionsExecutedHasBeenSet
bool ActionsExecutedHasBeenSet() const
Definition: DetectMitigationActionsTaskStatistics.h:46
Aws::IoT::Model::DetectMitigationActionsTaskStatistics::operator=
DetectMitigationActionsTaskStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::DetectMitigationActionsTaskStatistics::SetActionsSkipped
void SetActionsSkipped(long long value)
Definition: DetectMitigationActionsTaskStatistics.h:72
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoT::Model::DetectMitigationActionsTaskStatistics::SetActionsExecuted
void SetActionsExecuted(long long value)
Definition: DetectMitigationActionsTaskStatistics.h:51
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::DetectMitigationActionsTaskStatistics::SetActionsFailed
void SetActionsFailed(long long value)
Definition: DetectMitigationActionsTaskStatistics.h:93
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DetectMitigationActionsTaskStatistics::ActionsFailedHasBeenSet
bool ActionsFailedHasBeenSet() const
Definition: DetectMitigationActionsTaskStatistics.h:88
Aws::IoT::Model::DetectMitigationActionsTaskStatistics::GetActionsSkipped
long long GetActionsSkipped() const
Definition: DetectMitigationActionsTaskStatistics.h:62
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::DetectMitigationActionsTaskStatistics::DetectMitigationActionsTaskStatistics
DetectMitigationActionsTaskStatistics()
Aws::IoT::Model::DetectMitigationActionsTaskStatistics::WithActionsSkipped
DetectMitigationActionsTaskStatistics & WithActionsSkipped(long long value)
Definition: DetectMitigationActionsTaskStatistics.h:77
Aws::IoT::Model::DetectMitigationActionsTaskStatistics::ActionsSkippedHasBeenSet
bool ActionsSkippedHasBeenSet() const
Definition: DetectMitigationActionsTaskStatistics.h:67
Aws::IoT::Model::DetectMitigationActionsTaskStatistics::WithActionsFailed
DetectMitigationActionsTaskStatistics & WithActionsFailed(long long value)
Definition: DetectMitigationActionsTaskStatistics.h:98
IoT_EXPORTS.h
Aws::IoT::Model::DetectMitigationActionsTaskStatistics
Definition: DetectMitigationActionsTaskStatistics.h:30