AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
Framework.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/ControlSet.h>
9#include <aws/auditmanager/model/FrameworkType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AuditManager {
25namespace Model {
26
33class Framework {
34 public:
35 AWS_AUDITMANAGER_API Framework() = default;
36 AWS_AUDITMANAGER_API Framework(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AUDITMANAGER_API Framework& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 template <typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) {
48 m_arnHasBeenSet = true;
49 m_arn = std::forward<ArnT>(value);
50 }
51 template <typename ArnT = Aws::String>
52 Framework& WithArn(ArnT&& value) {
53 SetArn(std::forward<ArnT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetId() const { return m_id; }
63 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
64 template <typename IdT = Aws::String>
65 void SetId(IdT&& value) {
66 m_idHasBeenSet = true;
67 m_id = std::forward<IdT>(value);
68 }
69 template <typename IdT = Aws::String>
70 Framework& WithId(IdT&& value) {
71 SetId(std::forward<IdT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetName() const { return m_name; }
81 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 template <typename NameT = Aws::String>
83 void SetName(NameT&& value) {
84 m_nameHasBeenSet = true;
85 m_name = std::forward<NameT>(value);
86 }
87 template <typename NameT = Aws::String>
88 Framework& WithName(NameT&& value) {
89 SetName(std::forward<NameT>(value));
90 return *this;
91 }
93
95
99 inline FrameworkType GetType() const { return m_type; }
100 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
101 inline void SetType(FrameworkType value) {
102 m_typeHasBeenSet = true;
103 m_type = value;
104 }
106 SetType(value);
107 return *this;
108 }
110
112
115 inline const Aws::String& GetComplianceType() const { return m_complianceType; }
116 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
117 template <typename ComplianceTypeT = Aws::String>
118 void SetComplianceType(ComplianceTypeT&& value) {
119 m_complianceTypeHasBeenSet = true;
120 m_complianceType = std::forward<ComplianceTypeT>(value);
121 }
122 template <typename ComplianceTypeT = Aws::String>
123 Framework& WithComplianceType(ComplianceTypeT&& value) {
124 SetComplianceType(std::forward<ComplianceTypeT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::String& GetDescription() const { return m_description; }
134 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
135 template <typename DescriptionT = Aws::String>
136 void SetDescription(DescriptionT&& value) {
137 m_descriptionHasBeenSet = true;
138 m_description = std::forward<DescriptionT>(value);
139 }
140 template <typename DescriptionT = Aws::String>
141 Framework& WithDescription(DescriptionT&& value) {
142 SetDescription(std::forward<DescriptionT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::String& GetLogo() const { return m_logo; }
152 inline bool LogoHasBeenSet() const { return m_logoHasBeenSet; }
153 template <typename LogoT = Aws::String>
154 void SetLogo(LogoT&& value) {
155 m_logoHasBeenSet = true;
156 m_logo = std::forward<LogoT>(value);
157 }
158 template <typename LogoT = Aws::String>
159 Framework& WithLogo(LogoT&& value) {
160 SetLogo(std::forward<LogoT>(value));
161 return *this;
162 }
164
166
172 inline const Aws::Vector<ControlSet>& GetControlSets() const { return m_controlSets; }
173 inline bool ControlSetsHasBeenSet() const { return m_controlSetsHasBeenSet; }
174 template <typename ControlSetsT = Aws::Vector<ControlSet>>
175 void SetControlSets(ControlSetsT&& value) {
176 m_controlSetsHasBeenSet = true;
177 m_controlSets = std::forward<ControlSetsT>(value);
178 }
179 template <typename ControlSetsT = Aws::Vector<ControlSet>>
180 Framework& WithControlSets(ControlSetsT&& value) {
181 SetControlSets(std::forward<ControlSetsT>(value));
182 return *this;
183 }
184 template <typename ControlSetsT = ControlSet>
185 Framework& AddControlSets(ControlSetsT&& value) {
186 m_controlSetsHasBeenSet = true;
187 m_controlSets.emplace_back(std::forward<ControlSetsT>(value));
188 return *this;
189 }
191
193
196 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
197 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
198 template <typename CreatedAtT = Aws::Utils::DateTime>
199 void SetCreatedAt(CreatedAtT&& value) {
200 m_createdAtHasBeenSet = true;
201 m_createdAt = std::forward<CreatedAtT>(value);
202 }
203 template <typename CreatedAtT = Aws::Utils::DateTime>
204 Framework& WithCreatedAt(CreatedAtT&& value) {
205 SetCreatedAt(std::forward<CreatedAtT>(value));
206 return *this;
207 }
209
211
214 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
215 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
216 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
217 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
218 m_lastUpdatedAtHasBeenSet = true;
219 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
220 }
221 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
222 Framework& WithLastUpdatedAt(LastUpdatedAtT&& value) {
223 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
224 return *this;
225 }
227
229
232 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
233 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
234 template <typename CreatedByT = Aws::String>
235 void SetCreatedBy(CreatedByT&& value) {
236 m_createdByHasBeenSet = true;
237 m_createdBy = std::forward<CreatedByT>(value);
238 }
239 template <typename CreatedByT = Aws::String>
240 Framework& WithCreatedBy(CreatedByT&& value) {
241 SetCreatedBy(std::forward<CreatedByT>(value));
242 return *this;
243 }
245
247
250 inline const Aws::String& GetLastUpdatedBy() const { return m_lastUpdatedBy; }
251 inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; }
252 template <typename LastUpdatedByT = Aws::String>
253 void SetLastUpdatedBy(LastUpdatedByT&& value) {
254 m_lastUpdatedByHasBeenSet = true;
255 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
256 }
257 template <typename LastUpdatedByT = Aws::String>
258 Framework& WithLastUpdatedBy(LastUpdatedByT&& value) {
259 SetLastUpdatedBy(std::forward<LastUpdatedByT>(value));
260 return *this;
261 }
263
265
268 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
269 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
270 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
271 void SetTags(TagsT&& value) {
272 m_tagsHasBeenSet = true;
273 m_tags = std::forward<TagsT>(value);
274 }
275 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
276 Framework& WithTags(TagsT&& value) {
277 SetTags(std::forward<TagsT>(value));
278 return *this;
279 }
280 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
281 Framework& AddTags(TagsKeyT&& key, TagsValueT&& value) {
282 m_tagsHasBeenSet = true;
283 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
284 return *this;
285 }
287 private:
288 Aws::String m_arn;
289
290 Aws::String m_id;
291
292 Aws::String m_name;
293
295
296 Aws::String m_complianceType;
297
298 Aws::String m_description;
299
300 Aws::String m_logo;
301
302 Aws::Vector<ControlSet> m_controlSets;
303
304 Aws::Utils::DateTime m_createdAt{};
305
306 Aws::Utils::DateTime m_lastUpdatedAt{};
307
308 Aws::String m_createdBy;
309
310 Aws::String m_lastUpdatedBy;
311
313 bool m_arnHasBeenSet = false;
314 bool m_idHasBeenSet = false;
315 bool m_nameHasBeenSet = false;
316 bool m_typeHasBeenSet = false;
317 bool m_complianceTypeHasBeenSet = false;
318 bool m_descriptionHasBeenSet = false;
319 bool m_logoHasBeenSet = false;
320 bool m_controlSetsHasBeenSet = false;
321 bool m_createdAtHasBeenSet = false;
322 bool m_lastUpdatedAtHasBeenSet = false;
323 bool m_createdByHasBeenSet = false;
324 bool m_lastUpdatedByHasBeenSet = false;
325 bool m_tagsHasBeenSet = false;
326};
327
328} // namespace Model
329} // namespace AuditManager
330} // namespace Aws
Framework & WithLastUpdatedAt(LastUpdatedAtT &&value)
Definition Framework.h:222
const Aws::String & GetLogo() const
Definition Framework.h:151
const Aws::String & GetLastUpdatedBy() const
Definition Framework.h:250
const Aws::String & GetCreatedBy() const
Definition Framework.h:232
Framework & WithDescription(DescriptionT &&value)
Definition Framework.h:141
Framework & AddControlSets(ControlSetsT &&value)
Definition Framework.h:185
Framework & WithCreatedAt(CreatedAtT &&value)
Definition Framework.h:204
void SetLastUpdatedBy(LastUpdatedByT &&value)
Definition Framework.h:253
Framework & WithCreatedBy(CreatedByT &&value)
Definition Framework.h:240
AWS_AUDITMANAGER_API Framework()=default
Framework & WithControlSets(ControlSetsT &&value)
Definition Framework.h:180
void SetComplianceType(ComplianceTypeT &&value)
Definition Framework.h:118
Framework & WithComplianceType(ComplianceTypeT &&value)
Definition Framework.h:123
const Aws::Vector< ControlSet > & GetControlSets() const
Definition Framework.h:172
void SetControlSets(ControlSetsT &&value)
Definition Framework.h:175
void SetCreatedAt(CreatedAtT &&value)
Definition Framework.h:199
void SetCreatedBy(CreatedByT &&value)
Definition Framework.h:235
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition Framework.h:214
AWS_AUDITMANAGER_API Framework & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition Framework.h:80
const Aws::String & GetComplianceType() const
Definition Framework.h:115
const Aws::String & GetArn() const
Definition Framework.h:44
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Framework.h:196
void SetType(FrameworkType value)
Definition Framework.h:101
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
Framework & WithLogo(LogoT &&value)
Definition Framework.h:159
Framework & WithType(FrameworkType value)
Definition Framework.h:105
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Framework.h:268
FrameworkType GetType() const
Definition Framework.h:99
void SetLastUpdatedAt(LastUpdatedAtT &&value)
Definition Framework.h:217
Framework & WithArn(ArnT &&value)
Definition Framework.h:52
Framework & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Framework.h:281
Framework & WithId(IdT &&value)
Definition Framework.h:70
const Aws::String & GetDescription() const
Definition Framework.h:133
Framework & WithTags(TagsT &&value)
Definition Framework.h:276
Framework & WithLastUpdatedBy(LastUpdatedByT &&value)
Definition Framework.h:258
void SetDescription(DescriptionT &&value)
Definition Framework.h:136
const Aws::String & GetId() const
Definition Framework.h:62
AWS_AUDITMANAGER_API Framework(Aws::Utils::Json::JsonView jsonValue)
Framework & WithName(NameT &&value)
Definition Framework.h:88
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue