AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
ControlDomainInsights.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/EvidenceInsights.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AuditManager {
22namespace Model {
23
32 public:
33 AWS_AUDITMANAGER_API ControlDomainInsights() = default;
34 AWS_AUDITMANAGER_API ControlDomainInsights(Aws::Utils::Json::JsonView jsonValue);
36 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
65 inline const Aws::String& GetId() const { return m_id; }
66 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
67 template <typename IdT = Aws::String>
68 void SetId(IdT&& value) {
69 m_idHasBeenSet = true;
70 m_id = std::forward<IdT>(value);
71 }
72 template <typename IdT = Aws::String>
74 SetId(std::forward<IdT>(value));
75 return *this;
76 }
78
80
84 inline int GetControlsCountByNoncompliantEvidence() const { return m_controlsCountByNoncompliantEvidence; }
85 inline bool ControlsCountByNoncompliantEvidenceHasBeenSet() const { return m_controlsCountByNoncompliantEvidenceHasBeenSet; }
87 m_controlsCountByNoncompliantEvidenceHasBeenSet = true;
88 m_controlsCountByNoncompliantEvidence = value;
89 }
92 return *this;
93 }
95
97
100 inline int GetTotalControlsCount() const { return m_totalControlsCount; }
101 inline bool TotalControlsCountHasBeenSet() const { return m_totalControlsCountHasBeenSet; }
102 inline void SetTotalControlsCount(int value) {
103 m_totalControlsCountHasBeenSet = true;
104 m_totalControlsCount = value;
105 }
108 return *this;
109 }
111
113
117 inline const EvidenceInsights& GetEvidenceInsights() const { return m_evidenceInsights; }
118 inline bool EvidenceInsightsHasBeenSet() const { return m_evidenceInsightsHasBeenSet; }
119 template <typename EvidenceInsightsT = EvidenceInsights>
120 void SetEvidenceInsights(EvidenceInsightsT&& value) {
121 m_evidenceInsightsHasBeenSet = true;
122 m_evidenceInsights = std::forward<EvidenceInsightsT>(value);
123 }
124 template <typename EvidenceInsightsT = EvidenceInsights>
125 ControlDomainInsights& WithEvidenceInsights(EvidenceInsightsT&& value) {
126 SetEvidenceInsights(std::forward<EvidenceInsightsT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
136 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
137 template <typename LastUpdatedT = Aws::Utils::DateTime>
138 void SetLastUpdated(LastUpdatedT&& value) {
139 m_lastUpdatedHasBeenSet = true;
140 m_lastUpdated = std::forward<LastUpdatedT>(value);
141 }
142 template <typename LastUpdatedT = Aws::Utils::DateTime>
143 ControlDomainInsights& WithLastUpdated(LastUpdatedT&& value) {
144 SetLastUpdated(std::forward<LastUpdatedT>(value));
145 return *this;
146 }
148 private:
149 Aws::String m_name;
150
151 Aws::String m_id;
152
153 int m_controlsCountByNoncompliantEvidence{0};
154
155 int m_totalControlsCount{0};
156
157 EvidenceInsights m_evidenceInsights;
158
159 Aws::Utils::DateTime m_lastUpdated{};
160 bool m_nameHasBeenSet = false;
161 bool m_idHasBeenSet = false;
162 bool m_controlsCountByNoncompliantEvidenceHasBeenSet = false;
163 bool m_totalControlsCountHasBeenSet = false;
164 bool m_evidenceInsightsHasBeenSet = false;
165 bool m_lastUpdatedHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace AuditManager
170} // namespace Aws
const Aws::Utils::DateTime & GetLastUpdated() const
ControlDomainInsights & WithControlsCountByNoncompliantEvidence(int value)
AWS_AUDITMANAGER_API ControlDomainInsights(Aws::Utils::Json::JsonView jsonValue)
ControlDomainInsights & WithEvidenceInsights(EvidenceInsightsT &&value)
ControlDomainInsights & WithTotalControlsCount(int value)
ControlDomainInsights & WithName(NameT &&value)
ControlDomainInsights & WithId(IdT &&value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
ControlDomainInsights & WithLastUpdated(LastUpdatedT &&value)
AWS_AUDITMANAGER_API ControlDomainInsights & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AUDITMANAGER_API ControlDomainInsights()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue