AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Framework.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/FrameworkType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/auditmanager/model/ControlSet.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace AuditManager
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_AUDITMANAGER_API Framework();
41 AWS_AUDITMANAGER_API Framework(Aws::Utils::Json::JsonView jsonValue);
42 AWS_AUDITMANAGER_API Framework& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetArn() const{ return m_arn; }
51 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
52 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
53 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
54 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
55 inline Framework& WithArn(const Aws::String& value) { SetArn(value); return *this;}
56 inline Framework& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
57 inline Framework& WithArn(const char* value) { SetArn(value); return *this;}
59
61
64 inline const Aws::String& GetId() const{ return m_id; }
65 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
66 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
67 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
68 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
69 inline Framework& WithId(const Aws::String& value) { SetId(value); return *this;}
70 inline Framework& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
71 inline Framework& WithId(const char* value) { SetId(value); return *this;}
73
75
78 inline const Aws::String& GetName() const{ return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
81 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
82 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
83 inline Framework& WithName(const Aws::String& value) { SetName(value); return *this;}
84 inline Framework& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
85 inline Framework& WithName(const char* value) { SetName(value); return *this;}
87
89
93 inline const FrameworkType& GetType() const{ return m_type; }
94 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
95 inline void SetType(const FrameworkType& value) { m_typeHasBeenSet = true; m_type = value; }
96 inline void SetType(FrameworkType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
97 inline Framework& WithType(const FrameworkType& value) { SetType(value); return *this;}
98 inline Framework& WithType(FrameworkType&& value) { SetType(std::move(value)); return *this;}
100
102
105 inline const Aws::String& GetComplianceType() const{ return m_complianceType; }
106 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
107 inline void SetComplianceType(const Aws::String& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
108 inline void SetComplianceType(Aws::String&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::move(value); }
109 inline void SetComplianceType(const char* value) { m_complianceTypeHasBeenSet = true; m_complianceType.assign(value); }
110 inline Framework& WithComplianceType(const Aws::String& value) { SetComplianceType(value); return *this;}
111 inline Framework& WithComplianceType(Aws::String&& value) { SetComplianceType(std::move(value)); return *this;}
112 inline Framework& WithComplianceType(const char* value) { SetComplianceType(value); return *this;}
114
116
119 inline const Aws::String& GetDescription() const{ return m_description; }
120 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
121 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
122 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
123 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
124 inline Framework& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
125 inline Framework& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
126 inline Framework& WithDescription(const char* value) { SetDescription(value); return *this;}
128
130
133 inline const Aws::String& GetLogo() const{ return m_logo; }
134 inline bool LogoHasBeenSet() const { return m_logoHasBeenSet; }
135 inline void SetLogo(const Aws::String& value) { m_logoHasBeenSet = true; m_logo = value; }
136 inline void SetLogo(Aws::String&& value) { m_logoHasBeenSet = true; m_logo = std::move(value); }
137 inline void SetLogo(const char* value) { m_logoHasBeenSet = true; m_logo.assign(value); }
138 inline Framework& WithLogo(const Aws::String& value) { SetLogo(value); return *this;}
139 inline Framework& WithLogo(Aws::String&& value) { SetLogo(std::move(value)); return *this;}
140 inline Framework& WithLogo(const char* value) { SetLogo(value); return *this;}
142
144
147 inline const Aws::String& GetControlSources() const{ return m_controlSources; }
148 inline bool ControlSourcesHasBeenSet() const { return m_controlSourcesHasBeenSet; }
149 inline void SetControlSources(const Aws::String& value) { m_controlSourcesHasBeenSet = true; m_controlSources = value; }
150 inline void SetControlSources(Aws::String&& value) { m_controlSourcesHasBeenSet = true; m_controlSources = std::move(value); }
151 inline void SetControlSources(const char* value) { m_controlSourcesHasBeenSet = true; m_controlSources.assign(value); }
152 inline Framework& WithControlSources(const Aws::String& value) { SetControlSources(value); return *this;}
153 inline Framework& WithControlSources(Aws::String&& value) { SetControlSources(std::move(value)); return *this;}
154 inline Framework& WithControlSources(const char* value) { SetControlSources(value); return *this;}
156
158
161 inline const Aws::Vector<ControlSet>& GetControlSets() const{ return m_controlSets; }
162 inline bool ControlSetsHasBeenSet() const { return m_controlSetsHasBeenSet; }
163 inline void SetControlSets(const Aws::Vector<ControlSet>& value) { m_controlSetsHasBeenSet = true; m_controlSets = value; }
164 inline void SetControlSets(Aws::Vector<ControlSet>&& value) { m_controlSetsHasBeenSet = true; m_controlSets = std::move(value); }
165 inline Framework& WithControlSets(const Aws::Vector<ControlSet>& value) { SetControlSets(value); return *this;}
166 inline Framework& WithControlSets(Aws::Vector<ControlSet>&& value) { SetControlSets(std::move(value)); return *this;}
167 inline Framework& AddControlSets(const ControlSet& value) { m_controlSetsHasBeenSet = true; m_controlSets.push_back(value); return *this; }
168 inline Framework& AddControlSets(ControlSet&& value) { m_controlSetsHasBeenSet = true; m_controlSets.push_back(std::move(value)); return *this; }
170
172
175 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
176 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
177 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
178 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
179 inline Framework& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
180 inline Framework& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
182
184
187 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
188 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
189 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
190 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
191 inline Framework& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
192 inline Framework& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
194
196
199 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
200 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
201 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
202 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
203 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
204 inline Framework& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
205 inline Framework& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
206 inline Framework& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
208
210
213 inline const Aws::String& GetLastUpdatedBy() const{ return m_lastUpdatedBy; }
214 inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; }
215 inline void SetLastUpdatedBy(const Aws::String& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = value; }
216 inline void SetLastUpdatedBy(Aws::String&& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = std::move(value); }
217 inline void SetLastUpdatedBy(const char* value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy.assign(value); }
218 inline Framework& WithLastUpdatedBy(const Aws::String& value) { SetLastUpdatedBy(value); return *this;}
219 inline Framework& WithLastUpdatedBy(Aws::String&& value) { SetLastUpdatedBy(std::move(value)); return *this;}
220 inline Framework& WithLastUpdatedBy(const char* value) { SetLastUpdatedBy(value); return *this;}
222
224
227 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
228 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
229 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
230 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
231 inline Framework& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
232 inline Framework& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
233 inline Framework& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
234 inline Framework& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
235 inline Framework& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
236 inline Framework& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
237 inline Framework& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
238 inline Framework& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
239 inline Framework& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
241 private:
242
243 Aws::String m_arn;
244 bool m_arnHasBeenSet = false;
245
246 Aws::String m_id;
247 bool m_idHasBeenSet = false;
248
249 Aws::String m_name;
250 bool m_nameHasBeenSet = false;
251
252 FrameworkType m_type;
253 bool m_typeHasBeenSet = false;
254
255 Aws::String m_complianceType;
256 bool m_complianceTypeHasBeenSet = false;
257
258 Aws::String m_description;
259 bool m_descriptionHasBeenSet = false;
260
261 Aws::String m_logo;
262 bool m_logoHasBeenSet = false;
263
264 Aws::String m_controlSources;
265 bool m_controlSourcesHasBeenSet = false;
266
267 Aws::Vector<ControlSet> m_controlSets;
268 bool m_controlSetsHasBeenSet = false;
269
270 Aws::Utils::DateTime m_createdAt;
271 bool m_createdAtHasBeenSet = false;
272
273 Aws::Utils::DateTime m_lastUpdatedAt;
274 bool m_lastUpdatedAtHasBeenSet = false;
275
276 Aws::String m_createdBy;
277 bool m_createdByHasBeenSet = false;
278
279 Aws::String m_lastUpdatedBy;
280 bool m_lastUpdatedByHasBeenSet = false;
281
283 bool m_tagsHasBeenSet = false;
284 };
285
286} // namespace Model
287} // namespace AuditManager
288} // namespace Aws
Framework & WithLogo(Aws::String &&value)
Definition Framework.h:139
const Aws::String & GetLogo() const
Definition Framework.h:133
Framework & AddTags(Aws::String &&key, const char *value)
Definition Framework.h:238
const Aws::String & GetLastUpdatedBy() const
Definition Framework.h:213
const Aws::String & GetCreatedBy() const
Definition Framework.h:199
void SetName(Aws::String &&value)
Definition Framework.h:81
void SetName(const char *value)
Definition Framework.h:82
Framework & AddTags(const Aws::String &key, Aws::String &&value)
Definition Framework.h:235
Framework & WithControlSources(const Aws::String &value)
Definition Framework.h:152
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition Framework.h:190
void SetLastUpdatedBy(const Aws::String &value)
Definition Framework.h:215
void SetName(const Aws::String &value)
Definition Framework.h:80
void SetLastUpdatedBy(Aws::String &&value)
Definition Framework.h:216
void SetControlSources(Aws::String &&value)
Definition Framework.h:150
void SetCreatedBy(Aws::String &&value)
Definition Framework.h:202
void SetControlSets(const Aws::Vector< ControlSet > &value)
Definition Framework.h:163
Framework & WithArn(const char *value)
Definition Framework.h:57
Framework & WithLogo(const char *value)
Definition Framework.h:140
Framework & AddControlSets(ControlSet &&value)
Definition Framework.h:168
void SetControlSources(const char *value)
Definition Framework.h:151
Framework & WithControlSets(Aws::Vector< ControlSet > &&value)
Definition Framework.h:166
Framework & WithType(const FrameworkType &value)
Definition Framework.h:97
void SetLogo(const char *value)
Definition Framework.h:137
Framework & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Framework.h:179
Framework & WithArn(const Aws::String &value)
Definition Framework.h:55
Framework & AddControlSets(const ControlSet &value)
Definition Framework.h:167
const Aws::String & GetControlSources() const
Definition Framework.h:147
void SetDescription(Aws::String &&value)
Definition Framework.h:122
Framework & WithId(Aws::String &&value)
Definition Framework.h:70
const Aws::Vector< ControlSet > & GetControlSets() const
Definition Framework.h:161
Framework & AddTags(const char *key, Aws::String &&value)
Definition Framework.h:237
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Framework.h:178
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition Framework.h:189
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition Framework.h:187
AWS_AUDITMANAGER_API Framework & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedBy(const Aws::String &value)
Definition Framework.h:201
Framework & WithName(const char *value)
Definition Framework.h:85
const Aws::String & GetName() const
Definition Framework.h:78
const FrameworkType & GetType() const
Definition Framework.h:93
Framework & WithComplianceType(const char *value)
Definition Framework.h:112
Framework & AddTags(Aws::String &&key, Aws::String &&value)
Definition Framework.h:236
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Framework.h:177
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Framework.h:229
Framework & WithComplianceType(const Aws::String &value)
Definition Framework.h:110
const Aws::String & GetComplianceType() const
Definition Framework.h:105
Framework & WithDescription(const Aws::String &value)
Definition Framework.h:124
Framework & WithDescription(Aws::String &&value)
Definition Framework.h:125
Framework & WithLastUpdatedBy(const char *value)
Definition Framework.h:220
Framework & AddTags(const Aws::String &key, const Aws::String &value)
Definition Framework.h:233
const Aws::String & GetArn() const
Definition Framework.h:50
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Framework.h:175
Framework & WithArn(Aws::String &&value)
Definition Framework.h:56
Framework & AddTags(Aws::String &&key, const Aws::String &value)
Definition Framework.h:234
Framework & WithCreatedBy(const Aws::String &value)
Definition Framework.h:204
Framework & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Framework.h:180
void SetArn(const Aws::String &value)
Definition Framework.h:52
Framework & WithDescription(const char *value)
Definition Framework.h:126
void SetType(FrameworkType &&value)
Definition Framework.h:96
void SetComplianceType(const Aws::String &value)
Definition Framework.h:107
Framework & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Framework.h:232
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetId(const Aws::String &value)
Definition Framework.h:66
void SetId(Aws::String &&value)
Definition Framework.h:67
Framework & WithCreatedBy(Aws::String &&value)
Definition Framework.h:205
void SetComplianceType(const char *value)
Definition Framework.h:109
Framework & AddTags(const char *key, const char *value)
Definition Framework.h:239
Framework & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition Framework.h:191
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Framework.h:227
Framework & WithControlSources(Aws::String &&value)
Definition Framework.h:153
void SetDescription(const char *value)
Definition Framework.h:123
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Framework.h:230
Framework & WithComplianceType(Aws::String &&value)
Definition Framework.h:111
void SetId(const char *value)
Definition Framework.h:68
void SetDescription(const Aws::String &value)
Definition Framework.h:121
void SetLogo(const Aws::String &value)
Definition Framework.h:135
void SetLastUpdatedBy(const char *value)
Definition Framework.h:217
Framework & WithCreatedBy(const char *value)
Definition Framework.h:206
void SetComplianceType(Aws::String &&value)
Definition Framework.h:108
Framework & WithControlSources(const char *value)
Definition Framework.h:154
AWS_AUDITMANAGER_API Framework()
Framework & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Framework.h:231
void SetLogo(Aws::String &&value)
Definition Framework.h:136
Framework & WithLastUpdatedBy(const Aws::String &value)
Definition Framework.h:218
const Aws::String & GetDescription() const
Definition Framework.h:119
Framework & WithType(FrameworkType &&value)
Definition Framework.h:98
void SetControlSets(Aws::Vector< ControlSet > &&value)
Definition Framework.h:164
Framework & WithLogo(const Aws::String &value)
Definition Framework.h:138
void SetCreatedBy(const char *value)
Definition Framework.h:203
const Aws::String & GetId() const
Definition Framework.h:64
AWS_AUDITMANAGER_API Framework(Aws::Utils::Json::JsonView jsonValue)
void SetControlSources(const Aws::String &value)
Definition Framework.h:149
Framework & WithControlSets(const Aws::Vector< ControlSet > &value)
Definition Framework.h:165
Framework & WithId(const Aws::String &value)
Definition Framework.h:69
Framework & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition Framework.h:192
Framework & WithName(const Aws::String &value)
Definition Framework.h:83
void SetArn(const char *value)
Definition Framework.h:54
void SetArn(Aws::String &&value)
Definition Framework.h:53
Framework & WithId(const char *value)
Definition Framework.h:71
void SetType(const FrameworkType &value)
Definition Framework.h:95
Framework & WithLastUpdatedBy(Aws::String &&value)
Definition Framework.h:219
Framework & WithName(Aws::String &&value)
Definition Framework.h:84
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