AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
54 template<typename ArnT = Aws::String>
55 Framework& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
66 template<typename IdT = Aws::String>
67 Framework& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template<typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
78 template<typename NameT = Aws::String>
79 Framework& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
81
83
87 inline FrameworkType GetType() const { return m_type; }
88 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
89 inline void SetType(FrameworkType value) { m_typeHasBeenSet = true; m_type = value; }
90 inline Framework& WithType(FrameworkType value) { SetType(value); return *this;}
92
94
97 inline const Aws::String& GetComplianceType() const { return m_complianceType; }
98 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
99 template<typename ComplianceTypeT = Aws::String>
100 void SetComplianceType(ComplianceTypeT&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::forward<ComplianceTypeT>(value); }
101 template<typename ComplianceTypeT = Aws::String>
102 Framework& WithComplianceType(ComplianceTypeT&& value) { SetComplianceType(std::forward<ComplianceTypeT>(value)); return *this;}
104
106
109 inline const Aws::String& GetDescription() const { return m_description; }
110 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
111 template<typename DescriptionT = Aws::String>
112 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
113 template<typename DescriptionT = Aws::String>
114 Framework& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
116
118
121 inline const Aws::String& GetLogo() const { return m_logo; }
122 inline bool LogoHasBeenSet() const { return m_logoHasBeenSet; }
123 template<typename LogoT = Aws::String>
124 void SetLogo(LogoT&& value) { m_logoHasBeenSet = true; m_logo = std::forward<LogoT>(value); }
125 template<typename LogoT = Aws::String>
126 Framework& WithLogo(LogoT&& value) { SetLogo(std::forward<LogoT>(value)); return *this;}
128
130
133 inline const Aws::String& GetControlSources() const { return m_controlSources; }
134 inline bool ControlSourcesHasBeenSet() const { return m_controlSourcesHasBeenSet; }
135 template<typename ControlSourcesT = Aws::String>
136 void SetControlSources(ControlSourcesT&& value) { m_controlSourcesHasBeenSet = true; m_controlSources = std::forward<ControlSourcesT>(value); }
137 template<typename ControlSourcesT = Aws::String>
138 Framework& WithControlSources(ControlSourcesT&& value) { SetControlSources(std::forward<ControlSourcesT>(value)); return *this;}
140
142
145 inline const Aws::Vector<ControlSet>& GetControlSets() const { return m_controlSets; }
146 inline bool ControlSetsHasBeenSet() const { return m_controlSetsHasBeenSet; }
147 template<typename ControlSetsT = Aws::Vector<ControlSet>>
148 void SetControlSets(ControlSetsT&& value) { m_controlSetsHasBeenSet = true; m_controlSets = std::forward<ControlSetsT>(value); }
149 template<typename ControlSetsT = Aws::Vector<ControlSet>>
150 Framework& WithControlSets(ControlSetsT&& value) { SetControlSets(std::forward<ControlSetsT>(value)); return *this;}
151 template<typename ControlSetsT = ControlSet>
152 Framework& AddControlSets(ControlSetsT&& value) { m_controlSetsHasBeenSet = true; m_controlSets.emplace_back(std::forward<ControlSetsT>(value)); return *this; }
154
156
159 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
160 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
161 template<typename CreatedAtT = Aws::Utils::DateTime>
162 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
163 template<typename CreatedAtT = Aws::Utils::DateTime>
164 Framework& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
166
168
171 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
172 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
173 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
174 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
175 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
176 Framework& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
178
180
183 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
184 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
185 template<typename CreatedByT = Aws::String>
186 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
187 template<typename CreatedByT = Aws::String>
188 Framework& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
190
192
195 inline const Aws::String& GetLastUpdatedBy() const { return m_lastUpdatedBy; }
196 inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; }
197 template<typename LastUpdatedByT = Aws::String>
198 void SetLastUpdatedBy(LastUpdatedByT&& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = std::forward<LastUpdatedByT>(value); }
199 template<typename LastUpdatedByT = Aws::String>
200 Framework& WithLastUpdatedBy(LastUpdatedByT&& value) { SetLastUpdatedBy(std::forward<LastUpdatedByT>(value)); return *this;}
202
204
207 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
208 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
209 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
210 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
211 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
212 Framework& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
213 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
214 Framework& AddTags(TagsKeyT&& key, TagsValueT&& value) {
215 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
216 }
218 private:
219
220 Aws::String m_arn;
221 bool m_arnHasBeenSet = false;
222
223 Aws::String m_id;
224 bool m_idHasBeenSet = false;
225
226 Aws::String m_name;
227 bool m_nameHasBeenSet = false;
228
230 bool m_typeHasBeenSet = false;
231
232 Aws::String m_complianceType;
233 bool m_complianceTypeHasBeenSet = false;
234
235 Aws::String m_description;
236 bool m_descriptionHasBeenSet = false;
237
238 Aws::String m_logo;
239 bool m_logoHasBeenSet = false;
240
241 Aws::String m_controlSources;
242 bool m_controlSourcesHasBeenSet = false;
243
244 Aws::Vector<ControlSet> m_controlSets;
245 bool m_controlSetsHasBeenSet = false;
246
247 Aws::Utils::DateTime m_createdAt{};
248 bool m_createdAtHasBeenSet = false;
249
250 Aws::Utils::DateTime m_lastUpdatedAt{};
251 bool m_lastUpdatedAtHasBeenSet = false;
252
253 Aws::String m_createdBy;
254 bool m_createdByHasBeenSet = false;
255
256 Aws::String m_lastUpdatedBy;
257 bool m_lastUpdatedByHasBeenSet = false;
258
260 bool m_tagsHasBeenSet = false;
261 };
262
263} // namespace Model
264} // namespace AuditManager
265} // namespace Aws
Framework & WithLastUpdatedAt(LastUpdatedAtT &&value)
Definition Framework.h:176
const Aws::String & GetLogo() const
Definition Framework.h:121
const Aws::String & GetLastUpdatedBy() const
Definition Framework.h:195
const Aws::String & GetCreatedBy() const
Definition Framework.h:183
Framework & WithDescription(DescriptionT &&value)
Definition Framework.h:114
Framework & AddControlSets(ControlSetsT &&value)
Definition Framework.h:152
Framework & WithCreatedAt(CreatedAtT &&value)
Definition Framework.h:164
void SetLastUpdatedBy(LastUpdatedByT &&value)
Definition Framework.h:198
Framework & WithCreatedBy(CreatedByT &&value)
Definition Framework.h:188
AWS_AUDITMANAGER_API Framework()=default
Framework & WithControlSets(ControlSetsT &&value)
Definition Framework.h:150
void SetComplianceType(ComplianceTypeT &&value)
Definition Framework.h:100
const Aws::String & GetControlSources() const
Definition Framework.h:133
Framework & WithComplianceType(ComplianceTypeT &&value)
Definition Framework.h:102
const Aws::Vector< ControlSet > & GetControlSets() const
Definition Framework.h:145
void SetControlSets(ControlSetsT &&value)
Definition Framework.h:148
void SetCreatedAt(CreatedAtT &&value)
Definition Framework.h:162
void SetCreatedBy(CreatedByT &&value)
Definition Framework.h:186
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition Framework.h:171
AWS_AUDITMANAGER_API Framework & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition Framework.h:74
const Aws::String & GetComplianceType() const
Definition Framework.h:97
const Aws::String & GetArn() const
Definition Framework.h:50
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Framework.h:159
void SetType(FrameworkType value)
Definition Framework.h:89
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
Framework & WithLogo(LogoT &&value)
Definition Framework.h:126
Framework & WithType(FrameworkType value)
Definition Framework.h:90
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Framework.h:207
FrameworkType GetType() const
Definition Framework.h:87
void SetLastUpdatedAt(LastUpdatedAtT &&value)
Definition Framework.h:174
Framework & WithArn(ArnT &&value)
Definition Framework.h:55
Framework & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Framework.h:214
Framework & WithId(IdT &&value)
Definition Framework.h:67
const Aws::String & GetDescription() const
Definition Framework.h:109
Framework & WithTags(TagsT &&value)
Definition Framework.h:212
Framework & WithLastUpdatedBy(LastUpdatedByT &&value)
Definition Framework.h:200
void SetDescription(DescriptionT &&value)
Definition Framework.h:112
Framework & WithControlSources(ControlSourcesT &&value)
Definition Framework.h:138
const Aws::String & GetId() const
Definition Framework.h:62
AWS_AUDITMANAGER_API Framework(Aws::Utils::Json::JsonView jsonValue)
void SetControlSources(ControlSourcesT &&value)
Definition Framework.h:136
Framework & WithName(NameT &&value)
Definition Framework.h:79
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