AWS SDK for C++

AWS SDK for C++ Version 1.11.637

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
136 inline const Aws::Vector<ControlSet>& GetControlSets() const { return m_controlSets; }
137 inline bool ControlSetsHasBeenSet() const { return m_controlSetsHasBeenSet; }
138 template<typename ControlSetsT = Aws::Vector<ControlSet>>
139 void SetControlSets(ControlSetsT&& value) { m_controlSetsHasBeenSet = true; m_controlSets = std::forward<ControlSetsT>(value); }
140 template<typename ControlSetsT = Aws::Vector<ControlSet>>
141 Framework& WithControlSets(ControlSetsT&& value) { SetControlSets(std::forward<ControlSetsT>(value)); return *this;}
142 template<typename ControlSetsT = ControlSet>
143 Framework& AddControlSets(ControlSetsT&& value) { m_controlSetsHasBeenSet = true; m_controlSets.emplace_back(std::forward<ControlSetsT>(value)); return *this; }
145
147
150 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
151 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
152 template<typename CreatedAtT = Aws::Utils::DateTime>
153 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
154 template<typename CreatedAtT = Aws::Utils::DateTime>
155 Framework& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
157
159
162 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
163 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
164 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
165 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
166 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
167 Framework& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
169
171
174 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
175 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
176 template<typename CreatedByT = Aws::String>
177 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
178 template<typename CreatedByT = Aws::String>
179 Framework& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
181
183
186 inline const Aws::String& GetLastUpdatedBy() const { return m_lastUpdatedBy; }
187 inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; }
188 template<typename LastUpdatedByT = Aws::String>
189 void SetLastUpdatedBy(LastUpdatedByT&& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = std::forward<LastUpdatedByT>(value); }
190 template<typename LastUpdatedByT = Aws::String>
191 Framework& WithLastUpdatedBy(LastUpdatedByT&& value) { SetLastUpdatedBy(std::forward<LastUpdatedByT>(value)); return *this;}
193
195
198 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
199 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
200 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
201 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
202 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
203 Framework& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
204 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
205 Framework& AddTags(TagsKeyT&& key, TagsValueT&& value) {
206 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
207 }
209 private:
210
211 Aws::String m_arn;
212 bool m_arnHasBeenSet = false;
213
214 Aws::String m_id;
215 bool m_idHasBeenSet = false;
216
217 Aws::String m_name;
218 bool m_nameHasBeenSet = false;
219
221 bool m_typeHasBeenSet = false;
222
223 Aws::String m_complianceType;
224 bool m_complianceTypeHasBeenSet = false;
225
226 Aws::String m_description;
227 bool m_descriptionHasBeenSet = false;
228
229 Aws::String m_logo;
230 bool m_logoHasBeenSet = false;
231
232 Aws::Vector<ControlSet> m_controlSets;
233 bool m_controlSetsHasBeenSet = false;
234
235 Aws::Utils::DateTime m_createdAt{};
236 bool m_createdAtHasBeenSet = false;
237
238 Aws::Utils::DateTime m_lastUpdatedAt{};
239 bool m_lastUpdatedAtHasBeenSet = false;
240
241 Aws::String m_createdBy;
242 bool m_createdByHasBeenSet = false;
243
244 Aws::String m_lastUpdatedBy;
245 bool m_lastUpdatedByHasBeenSet = false;
246
248 bool m_tagsHasBeenSet = false;
249 };
250
251} // namespace Model
252} // namespace AuditManager
253} // namespace Aws
Framework & WithLastUpdatedAt(LastUpdatedAtT &&value)
Definition Framework.h:167
const Aws::String & GetLogo() const
Definition Framework.h:121
const Aws::String & GetLastUpdatedBy() const
Definition Framework.h:186
const Aws::String & GetCreatedBy() const
Definition Framework.h:174
Framework & WithDescription(DescriptionT &&value)
Definition Framework.h:114
Framework & AddControlSets(ControlSetsT &&value)
Definition Framework.h:143
Framework & WithCreatedAt(CreatedAtT &&value)
Definition Framework.h:155
void SetLastUpdatedBy(LastUpdatedByT &&value)
Definition Framework.h:189
Framework & WithCreatedBy(CreatedByT &&value)
Definition Framework.h:179
AWS_AUDITMANAGER_API Framework()=default
Framework & WithControlSets(ControlSetsT &&value)
Definition Framework.h:141
void SetComplianceType(ComplianceTypeT &&value)
Definition Framework.h:100
Framework & WithComplianceType(ComplianceTypeT &&value)
Definition Framework.h:102
const Aws::Vector< ControlSet > & GetControlSets() const
Definition Framework.h:136
void SetControlSets(ControlSetsT &&value)
Definition Framework.h:139
void SetCreatedAt(CreatedAtT &&value)
Definition Framework.h:153
void SetCreatedBy(CreatedByT &&value)
Definition Framework.h:177
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition Framework.h:162
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:150
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:198
FrameworkType GetType() const
Definition Framework.h:87
void SetLastUpdatedAt(LastUpdatedAtT &&value)
Definition Framework.h:165
Framework & WithArn(ArnT &&value)
Definition Framework.h:55
Framework & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Framework.h:205
Framework & WithId(IdT &&value)
Definition Framework.h:67
const Aws::String & GetDescription() const
Definition Framework.h:109
Framework & WithTags(TagsT &&value)
Definition Framework.h:203
Framework & WithLastUpdatedBy(LastUpdatedByT &&value)
Definition Framework.h:191
void SetDescription(DescriptionT &&value)
Definition Framework.h:112
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: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