AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
GetCustomDataIdentifierResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/macie2/Macie2_EXPORTS.h>
13#include <aws/macie2/model/SeverityLevel.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Macie2 {
27namespace Model {
29 public:
30 AWS_MACIE2_API GetCustomDataIdentifierResult() = default;
33
35
38 inline const Aws::String& GetArn() const { return m_arn; }
39 template <typename ArnT = Aws::String>
40 void SetArn(ArnT&& value) {
41 m_arnHasBeenSet = true;
42 m_arn = std::forward<ArnT>(value);
43 }
44 template <typename ArnT = Aws::String>
46 SetArn(std::forward<ArnT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
57 template <typename CreatedAtT = Aws::Utils::DateTime>
58 void SetCreatedAt(CreatedAtT&& value) {
59 m_createdAtHasBeenSet = true;
60 m_createdAt = std::forward<CreatedAtT>(value);
61 }
62 template <typename CreatedAtT = Aws::Utils::DateTime>
64 SetCreatedAt(std::forward<CreatedAtT>(value));
65 return *this;
66 }
68
70
75 inline bool GetDeleted() const { return m_deleted; }
76 inline void SetDeleted(bool value) {
77 m_deletedHasBeenSet = true;
78 m_deleted = value;
79 }
81 SetDeleted(value);
82 return *this;
83 }
85
87
90 inline const Aws::String& GetDescription() const { return m_description; }
91 template <typename DescriptionT = Aws::String>
92 void SetDescription(DescriptionT&& value) {
93 m_descriptionHasBeenSet = true;
94 m_description = std::forward<DescriptionT>(value);
95 }
96 template <typename DescriptionT = Aws::String>
98 SetDescription(std::forward<DescriptionT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetId() const { return m_id; }
108 template <typename IdT = Aws::String>
109 void SetId(IdT&& value) {
110 m_idHasBeenSet = true;
111 m_id = std::forward<IdT>(value);
112 }
113 template <typename IdT = Aws::String>
115 SetId(std::forward<IdT>(value));
116 return *this;
117 }
119
121
127 inline const Aws::Vector<Aws::String>& GetIgnoreWords() const { return m_ignoreWords; }
128 template <typename IgnoreWordsT = Aws::Vector<Aws::String>>
129 void SetIgnoreWords(IgnoreWordsT&& value) {
130 m_ignoreWordsHasBeenSet = true;
131 m_ignoreWords = std::forward<IgnoreWordsT>(value);
132 }
133 template <typename IgnoreWordsT = Aws::Vector<Aws::String>>
135 SetIgnoreWords(std::forward<IgnoreWordsT>(value));
136 return *this;
137 }
138 template <typename IgnoreWordsT = Aws::String>
140 m_ignoreWordsHasBeenSet = true;
141 m_ignoreWords.emplace_back(std::forward<IgnoreWordsT>(value));
142 return *this;
143 }
145
147
152 inline const Aws::Vector<Aws::String>& GetKeywords() const { return m_keywords; }
153 template <typename KeywordsT = Aws::Vector<Aws::String>>
154 void SetKeywords(KeywordsT&& value) {
155 m_keywordsHasBeenSet = true;
156 m_keywords = std::forward<KeywordsT>(value);
157 }
158 template <typename KeywordsT = Aws::Vector<Aws::String>>
160 SetKeywords(std::forward<KeywordsT>(value));
161 return *this;
162 }
163 template <typename KeywordsT = Aws::String>
165 m_keywordsHasBeenSet = true;
166 m_keywords.emplace_back(std::forward<KeywordsT>(value));
167 return *this;
168 }
170
172
179 inline int GetMaximumMatchDistance() const { return m_maximumMatchDistance; }
180 inline void SetMaximumMatchDistance(int value) {
181 m_maximumMatchDistanceHasBeenSet = true;
182 m_maximumMatchDistance = value;
183 }
186 return *this;
187 }
189
191
194 inline const Aws::String& GetName() const { return m_name; }
195 template <typename NameT = Aws::String>
196 void SetName(NameT&& value) {
197 m_nameHasBeenSet = true;
198 m_name = std::forward<NameT>(value);
199 }
200 template <typename NameT = Aws::String>
202 SetName(std::forward<NameT>(value));
203 return *this;
204 }
206
208
211 inline const Aws::String& GetRegex() const { return m_regex; }
212 template <typename RegexT = Aws::String>
213 void SetRegex(RegexT&& value) {
214 m_regexHasBeenSet = true;
215 m_regex = std::forward<RegexT>(value);
216 }
217 template <typename RegexT = Aws::String>
219 SetRegex(std::forward<RegexT>(value));
220 return *this;
221 }
223
225
233 inline const Aws::Vector<SeverityLevel>& GetSeverityLevels() const { return m_severityLevels; }
234 template <typename SeverityLevelsT = Aws::Vector<SeverityLevel>>
235 void SetSeverityLevels(SeverityLevelsT&& value) {
236 m_severityLevelsHasBeenSet = true;
237 m_severityLevels = std::forward<SeverityLevelsT>(value);
238 }
239 template <typename SeverityLevelsT = Aws::Vector<SeverityLevel>>
241 SetSeverityLevels(std::forward<SeverityLevelsT>(value));
242 return *this;
243 }
244 template <typename SeverityLevelsT = SeverityLevel>
246 m_severityLevelsHasBeenSet = true;
247 m_severityLevels.emplace_back(std::forward<SeverityLevelsT>(value));
248 return *this;
249 }
251
253
257 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
258 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
259 void SetTags(TagsT&& value) {
260 m_tagsHasBeenSet = true;
261 m_tags = std::forward<TagsT>(value);
262 }
263 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
265 SetTags(std::forward<TagsT>(value));
266 return *this;
267 }
268 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
269 GetCustomDataIdentifierResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
270 m_tagsHasBeenSet = true;
271 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
272 return *this;
273 }
275
277
278 inline const Aws::String& GetRequestId() const { return m_requestId; }
279 template <typename RequestIdT = Aws::String>
280 void SetRequestId(RequestIdT&& value) {
281 m_requestIdHasBeenSet = true;
282 m_requestId = std::forward<RequestIdT>(value);
283 }
284 template <typename RequestIdT = Aws::String>
286 SetRequestId(std::forward<RequestIdT>(value));
287 return *this;
288 }
290 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
291
292 private:
293 Aws::String m_arn;
294
295 Aws::Utils::DateTime m_createdAt{};
296
297 bool m_deleted{false};
298
299 Aws::String m_description;
300
301 Aws::String m_id;
302
303 Aws::Vector<Aws::String> m_ignoreWords;
304
305 Aws::Vector<Aws::String> m_keywords;
306
307 int m_maximumMatchDistance{0};
308
309 Aws::String m_name;
310
311 Aws::String m_regex;
312
313 Aws::Vector<SeverityLevel> m_severityLevels;
314
316
317 Aws::String m_requestId;
318 Aws::Http::HttpResponseCode m_HttpResponseCode;
319 bool m_arnHasBeenSet = false;
320 bool m_createdAtHasBeenSet = false;
321 bool m_deletedHasBeenSet = false;
322 bool m_descriptionHasBeenSet = false;
323 bool m_idHasBeenSet = false;
324 bool m_ignoreWordsHasBeenSet = false;
325 bool m_keywordsHasBeenSet = false;
326 bool m_maximumMatchDistanceHasBeenSet = false;
327 bool m_nameHasBeenSet = false;
328 bool m_regexHasBeenSet = false;
329 bool m_severityLevelsHasBeenSet = false;
330 bool m_tagsHasBeenSet = false;
331 bool m_requestIdHasBeenSet = false;
332};
333
334} // namespace Model
335} // namespace Macie2
336} // namespace Aws
GetCustomDataIdentifierResult & WithDescription(DescriptionT &&value)
GetCustomDataIdentifierResult & WithCreatedAt(CreatedAtT &&value)
GetCustomDataIdentifierResult & WithArn(ArnT &&value)
AWS_MACIE2_API GetCustomDataIdentifierResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetKeywords() const
GetCustomDataIdentifierResult & WithIgnoreWords(IgnoreWordsT &&value)
GetCustomDataIdentifierResult & AddKeywords(KeywordsT &&value)
GetCustomDataIdentifierResult & WithKeywords(KeywordsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetCustomDataIdentifierResult & WithMaximumMatchDistance(int value)
GetCustomDataIdentifierResult & WithRegex(RegexT &&value)
AWS_MACIE2_API GetCustomDataIdentifierResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCustomDataIdentifierResult & AddIgnoreWords(IgnoreWordsT &&value)
GetCustomDataIdentifierResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_MACIE2_API GetCustomDataIdentifierResult()=default
GetCustomDataIdentifierResult & WithTags(TagsT &&value)
GetCustomDataIdentifierResult & WithRequestId(RequestIdT &&value)
GetCustomDataIdentifierResult & WithSeverityLevels(SeverityLevelsT &&value)
GetCustomDataIdentifierResult & WithDeleted(bool value)
GetCustomDataIdentifierResult & AddSeverityLevels(SeverityLevelsT &&value)
const Aws::Vector< Aws::String > & GetIgnoreWords() const
GetCustomDataIdentifierResult & WithId(IdT &&value)
GetCustomDataIdentifierResult & WithName(NameT &&value)
const Aws::Vector< SeverityLevel > & GetSeverityLevels() const
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