AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline ControlDomainInsights& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline ControlDomainInsights& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline ControlDomainInsights& WithName(const char* value) { SetName(value); return *this;}
57
59
67 inline const Aws::String& GetId() const{ return m_id; }
68 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
69 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
70 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
71 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
72 inline ControlDomainInsights& WithId(const Aws::String& value) { SetId(value); return *this;}
73 inline ControlDomainInsights& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
74 inline ControlDomainInsights& WithId(const char* value) { SetId(value); return *this;}
76
78
82 inline int GetControlsCountByNoncompliantEvidence() const{ return m_controlsCountByNoncompliantEvidence; }
83 inline bool ControlsCountByNoncompliantEvidenceHasBeenSet() const { return m_controlsCountByNoncompliantEvidenceHasBeenSet; }
84 inline void SetControlsCountByNoncompliantEvidence(int value) { m_controlsCountByNoncompliantEvidenceHasBeenSet = true; m_controlsCountByNoncompliantEvidence = value; }
87
89
92 inline int GetTotalControlsCount() const{ return m_totalControlsCount; }
93 inline bool TotalControlsCountHasBeenSet() const { return m_totalControlsCountHasBeenSet; }
94 inline void SetTotalControlsCount(int value) { m_totalControlsCountHasBeenSet = true; m_totalControlsCount = value; }
95 inline ControlDomainInsights& WithTotalControlsCount(int value) { SetTotalControlsCount(value); return *this;}
97
99
103 inline const EvidenceInsights& GetEvidenceInsights() const{ return m_evidenceInsights; }
104 inline bool EvidenceInsightsHasBeenSet() const { return m_evidenceInsightsHasBeenSet; }
105 inline void SetEvidenceInsights(const EvidenceInsights& value) { m_evidenceInsightsHasBeenSet = true; m_evidenceInsights = value; }
106 inline void SetEvidenceInsights(EvidenceInsights&& value) { m_evidenceInsightsHasBeenSet = true; m_evidenceInsights = std::move(value); }
108 inline ControlDomainInsights& WithEvidenceInsights(EvidenceInsights&& value) { SetEvidenceInsights(std::move(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
116 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
117 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
118 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
119 inline ControlDomainInsights& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;}
120 inline ControlDomainInsights& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
122 private:
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 Aws::String m_id;
128 bool m_idHasBeenSet = false;
129
130 int m_controlsCountByNoncompliantEvidence;
131 bool m_controlsCountByNoncompliantEvidenceHasBeenSet = false;
132
133 int m_totalControlsCount;
134 bool m_totalControlsCountHasBeenSet = false;
135
136 EvidenceInsights m_evidenceInsights;
137 bool m_evidenceInsightsHasBeenSet = false;
138
139 Aws::Utils::DateTime m_lastUpdated;
140 bool m_lastUpdatedHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace AuditManager
145} // namespace Aws
ControlDomainInsights & WithLastUpdated(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdated() const
ControlDomainInsights & WithName(const char *value)
ControlDomainInsights & WithName(Aws::String &&value)
ControlDomainInsights & WithEvidenceInsights(EvidenceInsights &&value)
ControlDomainInsights & WithLastUpdated(const Aws::Utils::DateTime &value)
ControlDomainInsights & WithControlsCountByNoncompliantEvidence(int value)
void SetLastUpdated(const Aws::Utils::DateTime &value)
AWS_AUDITMANAGER_API ControlDomainInsights(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdated(Aws::Utils::DateTime &&value)
ControlDomainInsights & WithTotalControlsCount(int value)
ControlDomainInsights & WithEvidenceInsights(const EvidenceInsights &value)
void SetEvidenceInsights(const EvidenceInsights &value)
ControlDomainInsights & WithId(const char *value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
ControlDomainInsights & WithId(Aws::String &&value)
ControlDomainInsights & WithId(const Aws::String &value)
AWS_AUDITMANAGER_API ControlDomainInsights & operator=(Aws::Utils::Json::JsonView jsonValue)
ControlDomainInsights & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue