AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetCustomDataIdentifierResult.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/macie2/model/SeverityLevel.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Macie2
28{
29namespace Model
30{
32 {
33 public:
34 AWS_MACIE2_API GetCustomDataIdentifierResult() = default;
37
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template<typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
46 template<typename ArnT = Aws::String>
47 GetCustomDataIdentifierResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
58 template<typename CreatedAtT = Aws::Utils::DateTime>
59 GetCustomDataIdentifierResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
61
63
68 inline bool GetDeleted() const { return m_deleted; }
69 inline void SetDeleted(bool value) { m_deletedHasBeenSet = true; m_deleted = value; }
70 inline GetCustomDataIdentifierResult& WithDeleted(bool value) { SetDeleted(value); return *this;}
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 template<typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
80 template<typename DescriptionT = Aws::String>
81 GetCustomDataIdentifierResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
83
85
88 inline const Aws::String& GetId() const { return m_id; }
89 template<typename IdT = Aws::String>
90 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
91 template<typename IdT = Aws::String>
92 GetCustomDataIdentifierResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
94
96
102 inline const Aws::Vector<Aws::String>& GetIgnoreWords() const { return m_ignoreWords; }
103 template<typename IgnoreWordsT = Aws::Vector<Aws::String>>
104 void SetIgnoreWords(IgnoreWordsT&& value) { m_ignoreWordsHasBeenSet = true; m_ignoreWords = std::forward<IgnoreWordsT>(value); }
105 template<typename IgnoreWordsT = Aws::Vector<Aws::String>>
106 GetCustomDataIdentifierResult& WithIgnoreWords(IgnoreWordsT&& value) { SetIgnoreWords(std::forward<IgnoreWordsT>(value)); return *this;}
107 template<typename IgnoreWordsT = Aws::String>
108 GetCustomDataIdentifierResult& AddIgnoreWords(IgnoreWordsT&& value) { m_ignoreWordsHasBeenSet = true; m_ignoreWords.emplace_back(std::forward<IgnoreWordsT>(value)); return *this; }
110
112
117 inline const Aws::Vector<Aws::String>& GetKeywords() const { return m_keywords; }
118 template<typename KeywordsT = Aws::Vector<Aws::String>>
119 void SetKeywords(KeywordsT&& value) { m_keywordsHasBeenSet = true; m_keywords = std::forward<KeywordsT>(value); }
120 template<typename KeywordsT = Aws::Vector<Aws::String>>
121 GetCustomDataIdentifierResult& WithKeywords(KeywordsT&& value) { SetKeywords(std::forward<KeywordsT>(value)); return *this;}
122 template<typename KeywordsT = Aws::String>
123 GetCustomDataIdentifierResult& AddKeywords(KeywordsT&& value) { m_keywordsHasBeenSet = true; m_keywords.emplace_back(std::forward<KeywordsT>(value)); return *this; }
125
127
134 inline int GetMaximumMatchDistance() const { return m_maximumMatchDistance; }
135 inline void SetMaximumMatchDistance(int value) { m_maximumMatchDistanceHasBeenSet = true; m_maximumMatchDistance = value; }
138
140
143 inline const Aws::String& GetName() const { return m_name; }
144 template<typename NameT = Aws::String>
145 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
146 template<typename NameT = Aws::String>
147 GetCustomDataIdentifierResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
149
151
154 inline const Aws::String& GetRegex() const { return m_regex; }
155 template<typename RegexT = Aws::String>
156 void SetRegex(RegexT&& value) { m_regexHasBeenSet = true; m_regex = std::forward<RegexT>(value); }
157 template<typename RegexT = Aws::String>
158 GetCustomDataIdentifierResult& WithRegex(RegexT&& value) { SetRegex(std::forward<RegexT>(value)); return *this;}
160
162
170 inline const Aws::Vector<SeverityLevel>& GetSeverityLevels() const { return m_severityLevels; }
171 template<typename SeverityLevelsT = Aws::Vector<SeverityLevel>>
172 void SetSeverityLevels(SeverityLevelsT&& value) { m_severityLevelsHasBeenSet = true; m_severityLevels = std::forward<SeverityLevelsT>(value); }
173 template<typename SeverityLevelsT = Aws::Vector<SeverityLevel>>
174 GetCustomDataIdentifierResult& WithSeverityLevels(SeverityLevelsT&& value) { SetSeverityLevels(std::forward<SeverityLevelsT>(value)); return *this;}
175 template<typename SeverityLevelsT = SeverityLevel>
176 GetCustomDataIdentifierResult& AddSeverityLevels(SeverityLevelsT&& value) { m_severityLevelsHasBeenSet = true; m_severityLevels.emplace_back(std::forward<SeverityLevelsT>(value)); return *this; }
178
180
184 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
185 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
186 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
187 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
188 GetCustomDataIdentifierResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
189 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
190 GetCustomDataIdentifierResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
191 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
192 }
194
196
197 inline const Aws::String& GetRequestId() const { return m_requestId; }
198 template<typename RequestIdT = Aws::String>
199 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
200 template<typename RequestIdT = Aws::String>
201 GetCustomDataIdentifierResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
203 private:
204
205 Aws::String m_arn;
206 bool m_arnHasBeenSet = false;
207
208 Aws::Utils::DateTime m_createdAt{};
209 bool m_createdAtHasBeenSet = false;
210
211 bool m_deleted{false};
212 bool m_deletedHasBeenSet = false;
213
214 Aws::String m_description;
215 bool m_descriptionHasBeenSet = false;
216
217 Aws::String m_id;
218 bool m_idHasBeenSet = false;
219
220 Aws::Vector<Aws::String> m_ignoreWords;
221 bool m_ignoreWordsHasBeenSet = false;
222
223 Aws::Vector<Aws::String> m_keywords;
224 bool m_keywordsHasBeenSet = false;
225
226 int m_maximumMatchDistance{0};
227 bool m_maximumMatchDistanceHasBeenSet = false;
228
229 Aws::String m_name;
230 bool m_nameHasBeenSet = false;
231
232 Aws::String m_regex;
233 bool m_regexHasBeenSet = false;
234
235 Aws::Vector<SeverityLevel> m_severityLevels;
236 bool m_severityLevelsHasBeenSet = false;
237
239 bool m_tagsHasBeenSet = false;
240
241 Aws::String m_requestId;
242 bool m_requestIdHasBeenSet = false;
243 };
244
245} // namespace Model
246} // namespace Macie2
247} // 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