AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
InsightsByAssessment.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AuditManager {
20namespace Model {
21
45 public:
46 AWS_AUDITMANAGER_API InsightsByAssessment() = default;
47 AWS_AUDITMANAGER_API InsightsByAssessment(Aws::Utils::Json::JsonView jsonValue);
49 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
50
52
58 inline int GetNoncompliantEvidenceCount() const { return m_noncompliantEvidenceCount; }
59 inline bool NoncompliantEvidenceCountHasBeenSet() const { return m_noncompliantEvidenceCountHasBeenSet; }
60 inline void SetNoncompliantEvidenceCount(int value) {
61 m_noncompliantEvidenceCountHasBeenSet = true;
62 m_noncompliantEvidenceCount = value;
63 }
66 return *this;
67 }
69
71
77 inline int GetCompliantEvidenceCount() const { return m_compliantEvidenceCount; }
78 inline bool CompliantEvidenceCountHasBeenSet() const { return m_compliantEvidenceCountHasBeenSet; }
79 inline void SetCompliantEvidenceCount(int value) {
80 m_compliantEvidenceCountHasBeenSet = true;
81 m_compliantEvidenceCount = value;
82 }
85 return *this;
86 }
88
90
99 inline int GetInconclusiveEvidenceCount() const { return m_inconclusiveEvidenceCount; }
100 inline bool InconclusiveEvidenceCountHasBeenSet() const { return m_inconclusiveEvidenceCountHasBeenSet; }
101 inline void SetInconclusiveEvidenceCount(int value) {
102 m_inconclusiveEvidenceCountHasBeenSet = true;
103 m_inconclusiveEvidenceCount = value;
104 }
107 return *this;
108 }
110
112
116 inline int GetAssessmentControlsCountByNoncompliantEvidence() const { return m_assessmentControlsCountByNoncompliantEvidence; }
118 return m_assessmentControlsCountByNoncompliantEvidenceHasBeenSet;
119 }
121 m_assessmentControlsCountByNoncompliantEvidenceHasBeenSet = true;
122 m_assessmentControlsCountByNoncompliantEvidence = value;
123 }
126 return *this;
127 }
129
131
134 inline int GetTotalAssessmentControlsCount() const { return m_totalAssessmentControlsCount; }
135 inline bool TotalAssessmentControlsCountHasBeenSet() const { return m_totalAssessmentControlsCountHasBeenSet; }
136 inline void SetTotalAssessmentControlsCount(int value) {
137 m_totalAssessmentControlsCountHasBeenSet = true;
138 m_totalAssessmentControlsCount = value;
139 }
142 return *this;
143 }
145
147
150 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
151 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
152 template <typename LastUpdatedT = Aws::Utils::DateTime>
153 void SetLastUpdated(LastUpdatedT&& value) {
154 m_lastUpdatedHasBeenSet = true;
155 m_lastUpdated = std::forward<LastUpdatedT>(value);
156 }
157 template <typename LastUpdatedT = Aws::Utils::DateTime>
158 InsightsByAssessment& WithLastUpdated(LastUpdatedT&& value) {
159 SetLastUpdated(std::forward<LastUpdatedT>(value));
160 return *this;
161 }
163 private:
164 int m_noncompliantEvidenceCount{0};
165
166 int m_compliantEvidenceCount{0};
167
168 int m_inconclusiveEvidenceCount{0};
169
170 int m_assessmentControlsCountByNoncompliantEvidence{0};
171
172 int m_totalAssessmentControlsCount{0};
173
174 Aws::Utils::DateTime m_lastUpdated{};
175 bool m_noncompliantEvidenceCountHasBeenSet = false;
176 bool m_compliantEvidenceCountHasBeenSet = false;
177 bool m_inconclusiveEvidenceCountHasBeenSet = false;
178 bool m_assessmentControlsCountByNoncompliantEvidenceHasBeenSet = false;
179 bool m_totalAssessmentControlsCountHasBeenSet = false;
180 bool m_lastUpdatedHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace AuditManager
185} // namespace Aws
AWS_AUDITMANAGER_API InsightsByAssessment(Aws::Utils::Json::JsonView jsonValue)
InsightsByAssessment & WithCompliantEvidenceCount(int value)
AWS_AUDITMANAGER_API InsightsByAssessment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AUDITMANAGER_API InsightsByAssessment()=default
InsightsByAssessment & WithInconclusiveEvidenceCount(int value)
InsightsByAssessment & WithNoncompliantEvidenceCount(int value)
const Aws::Utils::DateTime & GetLastUpdated() const
InsightsByAssessment & WithTotalAssessmentControlsCount(int value)
InsightsByAssessment & WithLastUpdated(LastUpdatedT &&value)
InsightsByAssessment & WithAssessmentControlsCountByNoncompliantEvidence(int value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue