AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ControlDomainInsights.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/auditmanager/model/EvidenceInsights.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AuditManager
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_AUDITMANAGER_API ControlDomainInsights() = default;
39 AWS_AUDITMANAGER_API ControlDomainInsights(Aws::Utils::Json::JsonView jsonValue);
41 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 ControlDomainInsights& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
69 template<typename IdT = Aws::String>
70 ControlDomainInsights& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
72
74
78 inline int GetControlsCountByNoncompliantEvidence() const { return m_controlsCountByNoncompliantEvidence; }
79 inline bool ControlsCountByNoncompliantEvidenceHasBeenSet() const { return m_controlsCountByNoncompliantEvidenceHasBeenSet; }
80 inline void SetControlsCountByNoncompliantEvidence(int value) { m_controlsCountByNoncompliantEvidenceHasBeenSet = true; m_controlsCountByNoncompliantEvidence = value; }
83
85
88 inline int GetTotalControlsCount() const { return m_totalControlsCount; }
89 inline bool TotalControlsCountHasBeenSet() const { return m_totalControlsCountHasBeenSet; }
90 inline void SetTotalControlsCount(int value) { m_totalControlsCountHasBeenSet = true; m_totalControlsCount = value; }
91 inline ControlDomainInsights& WithTotalControlsCount(int value) { SetTotalControlsCount(value); return *this;}
93
95
99 inline const EvidenceInsights& GetEvidenceInsights() const { return m_evidenceInsights; }
100 inline bool EvidenceInsightsHasBeenSet() const { return m_evidenceInsightsHasBeenSet; }
101 template<typename EvidenceInsightsT = EvidenceInsights>
102 void SetEvidenceInsights(EvidenceInsightsT&& value) { m_evidenceInsightsHasBeenSet = true; m_evidenceInsights = std::forward<EvidenceInsightsT>(value); }
103 template<typename EvidenceInsightsT = EvidenceInsights>
104 ControlDomainInsights& WithEvidenceInsights(EvidenceInsightsT&& value) { SetEvidenceInsights(std::forward<EvidenceInsightsT>(value)); return *this;}
106
108
111 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
112 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
113 template<typename LastUpdatedT = Aws::Utils::DateTime>
114 void SetLastUpdated(LastUpdatedT&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::forward<LastUpdatedT>(value); }
115 template<typename LastUpdatedT = Aws::Utils::DateTime>
116 ControlDomainInsights& WithLastUpdated(LastUpdatedT&& value) { SetLastUpdated(std::forward<LastUpdatedT>(value)); return *this;}
118 private:
119
120 Aws::String m_name;
121 bool m_nameHasBeenSet = false;
122
123 Aws::String m_id;
124 bool m_idHasBeenSet = false;
125
126 int m_controlsCountByNoncompliantEvidence{0};
127 bool m_controlsCountByNoncompliantEvidenceHasBeenSet = false;
128
129 int m_totalControlsCount{0};
130 bool m_totalControlsCountHasBeenSet = false;
131
132 EvidenceInsights m_evidenceInsights;
133 bool m_evidenceInsightsHasBeenSet = false;
134
135 Aws::Utils::DateTime m_lastUpdated{};
136 bool m_lastUpdatedHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace AuditManager
141} // 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)
const EvidenceInsights & GetEvidenceInsights() const
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