AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
AssessmentFrameworkMetadata.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/FrameworkType.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
31 public:
32 AWS_AUDITMANAGER_API AssessmentFrameworkMetadata() = default;
35 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 template <typename IdT = Aws::String>
62 void SetId(IdT&& value) {
63 m_idHasBeenSet = true;
64 m_id = std::forward<IdT>(value);
65 }
66 template <typename IdT = Aws::String>
68 SetId(std::forward<IdT>(value));
69 return *this;
70 }
72
74
77 inline FrameworkType GetType() const { return m_type; }
78 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
79 inline void SetType(FrameworkType value) {
80 m_typeHasBeenSet = true;
81 m_type = value;
82 }
84 SetType(value);
85 return *this;
86 }
88
90
93 inline const Aws::String& GetName() const { return m_name; }
94 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
95 template <typename NameT = Aws::String>
96 void SetName(NameT&& value) {
97 m_nameHasBeenSet = true;
98 m_name = std::forward<NameT>(value);
99 }
100 template <typename NameT = Aws::String>
102 SetName(std::forward<NameT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetDescription() const { return m_description; }
112 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
113 template <typename DescriptionT = Aws::String>
114 void SetDescription(DescriptionT&& value) {
115 m_descriptionHasBeenSet = true;
116 m_description = std::forward<DescriptionT>(value);
117 }
118 template <typename DescriptionT = Aws::String>
120 SetDescription(std::forward<DescriptionT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetLogo() const { return m_logo; }
130 inline bool LogoHasBeenSet() const { return m_logoHasBeenSet; }
131 template <typename LogoT = Aws::String>
132 void SetLogo(LogoT&& value) {
133 m_logoHasBeenSet = true;
134 m_logo = std::forward<LogoT>(value);
135 }
136 template <typename LogoT = Aws::String>
138 SetLogo(std::forward<LogoT>(value));
139 return *this;
140 }
142
144
148 inline const Aws::String& GetComplianceType() const { return m_complianceType; }
149 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
150 template <typename ComplianceTypeT = Aws::String>
151 void SetComplianceType(ComplianceTypeT&& value) {
152 m_complianceTypeHasBeenSet = true;
153 m_complianceType = std::forward<ComplianceTypeT>(value);
154 }
155 template <typename ComplianceTypeT = Aws::String>
157 SetComplianceType(std::forward<ComplianceTypeT>(value));
158 return *this;
159 }
161
163
166 inline int GetControlsCount() const { return m_controlsCount; }
167 inline bool ControlsCountHasBeenSet() const { return m_controlsCountHasBeenSet; }
168 inline void SetControlsCount(int value) {
169 m_controlsCountHasBeenSet = true;
170 m_controlsCount = value;
171 }
173 SetControlsCount(value);
174 return *this;
175 }
177
179
182 inline int GetControlSetsCount() const { return m_controlSetsCount; }
183 inline bool ControlSetsCountHasBeenSet() const { return m_controlSetsCountHasBeenSet; }
184 inline void SetControlSetsCount(int value) {
185 m_controlSetsCountHasBeenSet = true;
186 m_controlSetsCount = value;
187 }
189 SetControlSetsCount(value);
190 return *this;
191 }
193
195
198 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
199 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
200 template <typename CreatedAtT = Aws::Utils::DateTime>
201 void SetCreatedAt(CreatedAtT&& value) {
202 m_createdAtHasBeenSet = true;
203 m_createdAt = std::forward<CreatedAtT>(value);
204 }
205 template <typename CreatedAtT = Aws::Utils::DateTime>
207 SetCreatedAt(std::forward<CreatedAtT>(value));
208 return *this;
209 }
211
213
216 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
217 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
218 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
219 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
220 m_lastUpdatedAtHasBeenSet = true;
221 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
222 }
223 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
225 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
226 return *this;
227 }
229 private:
230 Aws::String m_arn;
231
232 Aws::String m_id;
233
235
236 Aws::String m_name;
237
238 Aws::String m_description;
239
240 Aws::String m_logo;
241
242 Aws::String m_complianceType;
243
244 int m_controlsCount{0};
245
246 int m_controlSetsCount{0};
247
248 Aws::Utils::DateTime m_createdAt{};
249
250 Aws::Utils::DateTime m_lastUpdatedAt{};
251 bool m_arnHasBeenSet = false;
252 bool m_idHasBeenSet = false;
253 bool m_typeHasBeenSet = false;
254 bool m_nameHasBeenSet = false;
255 bool m_descriptionHasBeenSet = false;
256 bool m_logoHasBeenSet = false;
257 bool m_complianceTypeHasBeenSet = false;
258 bool m_controlsCountHasBeenSet = false;
259 bool m_controlSetsCountHasBeenSet = false;
260 bool m_createdAtHasBeenSet = false;
261 bool m_lastUpdatedAtHasBeenSet = false;
262};
263
264} // namespace Model
265} // namespace AuditManager
266} // namespace Aws
AssessmentFrameworkMetadata & WithType(FrameworkType value)
AssessmentFrameworkMetadata & WithLogo(LogoT &&value)
AssessmentFrameworkMetadata & WithDescription(DescriptionT &&value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AUDITMANAGER_API AssessmentFrameworkMetadata(Aws::Utils::Json::JsonView jsonValue)
AssessmentFrameworkMetadata & WithCreatedAt(CreatedAtT &&value)
AssessmentFrameworkMetadata & WithName(NameT &&value)
AWS_AUDITMANAGER_API AssessmentFrameworkMetadata()=default
AssessmentFrameworkMetadata & WithControlSetsCount(int value)
AssessmentFrameworkMetadata & WithLastUpdatedAt(LastUpdatedAtT &&value)
AssessmentFrameworkMetadata & WithComplianceType(ComplianceTypeT &&value)
AWS_AUDITMANAGER_API AssessmentFrameworkMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue