AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
RuleStatusCounts.h
1
6#pragma once
7#include <aws/ssm-sap/SsmSap_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 SsmSap
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_SSMSAP_API RuleStatusCounts() = default;
36 AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetFailed() const { return m_failed; }
44 inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; }
45 inline void SetFailed(int value) { m_failedHasBeenSet = true; m_failed = value; }
46 inline RuleStatusCounts& WithFailed(int value) { SetFailed(value); return *this;}
48
50
53 inline int GetWarning() const { return m_warning; }
54 inline bool WarningHasBeenSet() const { return m_warningHasBeenSet; }
55 inline void SetWarning(int value) { m_warningHasBeenSet = true; m_warning = value; }
56 inline RuleStatusCounts& WithWarning(int value) { SetWarning(value); return *this;}
58
60
63 inline int GetInfo() const { return m_info; }
64 inline bool InfoHasBeenSet() const { return m_infoHasBeenSet; }
65 inline void SetInfo(int value) { m_infoHasBeenSet = true; m_info = value; }
66 inline RuleStatusCounts& WithInfo(int value) { SetInfo(value); return *this;}
68
70
73 inline int GetPassed() const { return m_passed; }
74 inline bool PassedHasBeenSet() const { return m_passedHasBeenSet; }
75 inline void SetPassed(int value) { m_passedHasBeenSet = true; m_passed = value; }
76 inline RuleStatusCounts& WithPassed(int value) { SetPassed(value); return *this;}
78
80
83 inline int GetUnknown() const { return m_unknown; }
84 inline bool UnknownHasBeenSet() const { return m_unknownHasBeenSet; }
85 inline void SetUnknown(int value) { m_unknownHasBeenSet = true; m_unknown = value; }
86 inline RuleStatusCounts& WithUnknown(int value) { SetUnknown(value); return *this;}
88 private:
89
90 int m_failed{0};
91 bool m_failedHasBeenSet = false;
92
93 int m_warning{0};
94 bool m_warningHasBeenSet = false;
95
96 int m_info{0};
97 bool m_infoHasBeenSet = false;
98
99 int m_passed{0};
100 bool m_passedHasBeenSet = false;
101
102 int m_unknown{0};
103 bool m_unknownHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SsmSap
108} // namespace Aws
RuleStatusCounts & WithPassed(int value)
RuleStatusCounts & WithUnknown(int value)
AWS_SSMSAP_API RuleStatusCounts()=default
AWS_SSMSAP_API RuleStatusCounts(Aws::Utils::Json::JsonView jsonValue)
RuleStatusCounts & WithFailed(int value)
AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSMSAP_API RuleStatusCounts & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleStatusCounts & WithInfo(int value)
RuleStatusCounts & WithWarning(int value)
Aws::Utils::Json::JsonValue JsonValue