AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
GetCustomDataIdentifierResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/macie2/Macie2_EXPORTS.h>
12#include <aws/macie2/model/SeverityLevel.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Macie2 {
26namespace Model {
28 public:
29 AWS_MACIE2_API GetCustomDataIdentifierResult() = default;
32
34
37 inline const Aws::String& GetArn() const { return m_arn; }
38 template <typename ArnT = Aws::String>
39 void SetArn(ArnT&& value) {
40 m_arnHasBeenSet = true;
41 m_arn = std::forward<ArnT>(value);
42 }
43 template <typename ArnT = Aws::String>
45 SetArn(std::forward<ArnT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
56 template <typename CreatedAtT = Aws::Utils::DateTime>
57 void SetCreatedAt(CreatedAtT&& value) {
58 m_createdAtHasBeenSet = true;
59 m_createdAt = std::forward<CreatedAtT>(value);
60 }
61 template <typename CreatedAtT = Aws::Utils::DateTime>
63 SetCreatedAt(std::forward<CreatedAtT>(value));
64 return *this;
65 }
67
69
74 inline bool GetDeleted() const { return m_deleted; }
75 inline void SetDeleted(bool value) {
76 m_deletedHasBeenSet = true;
77 m_deleted = value;
78 }
80 SetDeleted(value);
81 return *this;
82 }
84
86
89 inline const Aws::String& GetDescription() const { return m_description; }
90 template <typename DescriptionT = Aws::String>
91 void SetDescription(DescriptionT&& value) {
92 m_descriptionHasBeenSet = true;
93 m_description = std::forward<DescriptionT>(value);
94 }
95 template <typename DescriptionT = Aws::String>
97 SetDescription(std::forward<DescriptionT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetId() const { return m_id; }
107 template <typename IdT = Aws::String>
108 void SetId(IdT&& value) {
109 m_idHasBeenSet = true;
110 m_id = std::forward<IdT>(value);
111 }
112 template <typename IdT = Aws::String>
114 SetId(std::forward<IdT>(value));
115 return *this;
116 }
118
120
126 inline const Aws::Vector<Aws::String>& GetIgnoreWords() const { return m_ignoreWords; }
127 template <typename IgnoreWordsT = Aws::Vector<Aws::String>>
128 void SetIgnoreWords(IgnoreWordsT&& value) {
129 m_ignoreWordsHasBeenSet = true;
130 m_ignoreWords = std::forward<IgnoreWordsT>(value);
131 }
132 template <typename IgnoreWordsT = Aws::Vector<Aws::String>>
134 SetIgnoreWords(std::forward<IgnoreWordsT>(value));
135 return *this;
136 }
137 template <typename IgnoreWordsT = Aws::String>
139 m_ignoreWordsHasBeenSet = true;
140 m_ignoreWords.emplace_back(std::forward<IgnoreWordsT>(value));
141 return *this;
142 }
144
146
151 inline const Aws::Vector<Aws::String>& GetKeywords() const { return m_keywords; }
152 template <typename KeywordsT = Aws::Vector<Aws::String>>
153 void SetKeywords(KeywordsT&& value) {
154 m_keywordsHasBeenSet = true;
155 m_keywords = std::forward<KeywordsT>(value);
156 }
157 template <typename KeywordsT = Aws::Vector<Aws::String>>
159 SetKeywords(std::forward<KeywordsT>(value));
160 return *this;
161 }
162 template <typename KeywordsT = Aws::String>
164 m_keywordsHasBeenSet = true;
165 m_keywords.emplace_back(std::forward<KeywordsT>(value));
166 return *this;
167 }
169
171
178 inline int GetMaximumMatchDistance() const { return m_maximumMatchDistance; }
179 inline void SetMaximumMatchDistance(int value) {
180 m_maximumMatchDistanceHasBeenSet = true;
181 m_maximumMatchDistance = value;
182 }
185 return *this;
186 }
188
190
193 inline const Aws::String& GetName() const { return m_name; }
194 template <typename NameT = Aws::String>
195 void SetName(NameT&& value) {
196 m_nameHasBeenSet = true;
197 m_name = std::forward<NameT>(value);
198 }
199 template <typename NameT = Aws::String>
201 SetName(std::forward<NameT>(value));
202 return *this;
203 }
205
207
210 inline const Aws::String& GetRegex() const { return m_regex; }
211 template <typename RegexT = Aws::String>
212 void SetRegex(RegexT&& value) {
213 m_regexHasBeenSet = true;
214 m_regex = std::forward<RegexT>(value);
215 }
216 template <typename RegexT = Aws::String>
218 SetRegex(std::forward<RegexT>(value));
219 return *this;
220 }
222
224
232 inline const Aws::Vector<SeverityLevel>& GetSeverityLevels() const { return m_severityLevels; }
233 template <typename SeverityLevelsT = Aws::Vector<SeverityLevel>>
234 void SetSeverityLevels(SeverityLevelsT&& value) {
235 m_severityLevelsHasBeenSet = true;
236 m_severityLevels = std::forward<SeverityLevelsT>(value);
237 }
238 template <typename SeverityLevelsT = Aws::Vector<SeverityLevel>>
240 SetSeverityLevels(std::forward<SeverityLevelsT>(value));
241 return *this;
242 }
243 template <typename SeverityLevelsT = SeverityLevel>
245 m_severityLevelsHasBeenSet = true;
246 m_severityLevels.emplace_back(std::forward<SeverityLevelsT>(value));
247 return *this;
248 }
250
252
256 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
257 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
258 void SetTags(TagsT&& value) {
259 m_tagsHasBeenSet = true;
260 m_tags = std::forward<TagsT>(value);
261 }
262 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
264 SetTags(std::forward<TagsT>(value));
265 return *this;
266 }
267 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
268 GetCustomDataIdentifierResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
269 m_tagsHasBeenSet = true;
270 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
271 return *this;
272 }
274
276
277 inline const Aws::String& GetRequestId() const { return m_requestId; }
278 template <typename RequestIdT = Aws::String>
279 void SetRequestId(RequestIdT&& value) {
280 m_requestIdHasBeenSet = true;
281 m_requestId = std::forward<RequestIdT>(value);
282 }
283 template <typename RequestIdT = Aws::String>
285 SetRequestId(std::forward<RequestIdT>(value));
286 return *this;
287 }
289 private:
290 Aws::String m_arn;
291
292 Aws::Utils::DateTime m_createdAt{};
293
294 bool m_deleted{false};
295
296 Aws::String m_description;
297
298 Aws::String m_id;
299
300 Aws::Vector<Aws::String> m_ignoreWords;
301
302 Aws::Vector<Aws::String> m_keywords;
303
304 int m_maximumMatchDistance{0};
305
306 Aws::String m_name;
307
308 Aws::String m_regex;
309
310 Aws::Vector<SeverityLevel> m_severityLevels;
311
313
314 Aws::String m_requestId;
315 bool m_arnHasBeenSet = false;
316 bool m_createdAtHasBeenSet = false;
317 bool m_deletedHasBeenSet = false;
318 bool m_descriptionHasBeenSet = false;
319 bool m_idHasBeenSet = false;
320 bool m_ignoreWordsHasBeenSet = false;
321 bool m_keywordsHasBeenSet = false;
322 bool m_maximumMatchDistanceHasBeenSet = false;
323 bool m_nameHasBeenSet = false;
324 bool m_regexHasBeenSet = false;
325 bool m_severityLevelsHasBeenSet = false;
326 bool m_tagsHasBeenSet = false;
327 bool m_requestIdHasBeenSet = false;
328};
329
330} // namespace Model
331} // namespace Macie2
332} // 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