AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
37
38
40
43 inline const Aws::String& GetArn() const{ return m_arn; }
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arn.assign(value); }
47 inline GetCustomDataIdentifierResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline GetCustomDataIdentifierResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline GetCustomDataIdentifierResult& WithArn(const char* value) { SetArn(value); return *this;}
51
53
57 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
58 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
59 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
61 inline GetCustomDataIdentifierResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
63
65
70 inline bool GetDeleted() const{ return m_deleted; }
71 inline void SetDeleted(bool value) { m_deleted = value; }
72 inline GetCustomDataIdentifierResult& WithDeleted(bool value) { SetDeleted(value); return *this;}
74
76
79 inline const Aws::String& GetDescription() const{ return m_description; }
80 inline void SetDescription(const Aws::String& value) { m_description = value; }
81 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
82 inline void SetDescription(const char* value) { m_description.assign(value); }
83 inline GetCustomDataIdentifierResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
84 inline GetCustomDataIdentifierResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
85 inline GetCustomDataIdentifierResult& WithDescription(const char* value) { SetDescription(value); return *this;}
87
89
92 inline const Aws::String& GetId() const{ return m_id; }
93 inline void SetId(const Aws::String& value) { m_id = value; }
94 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
95 inline void SetId(const char* value) { m_id.assign(value); }
96 inline GetCustomDataIdentifierResult& WithId(const Aws::String& value) { SetId(value); return *this;}
97 inline GetCustomDataIdentifierResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
98 inline GetCustomDataIdentifierResult& WithId(const char* value) { SetId(value); return *this;}
100
102
108 inline const Aws::Vector<Aws::String>& GetIgnoreWords() const{ return m_ignoreWords; }
109 inline void SetIgnoreWords(const Aws::Vector<Aws::String>& value) { m_ignoreWords = value; }
110 inline void SetIgnoreWords(Aws::Vector<Aws::String>&& value) { m_ignoreWords = std::move(value); }
113 inline GetCustomDataIdentifierResult& AddIgnoreWords(const Aws::String& value) { m_ignoreWords.push_back(value); return *this; }
114 inline GetCustomDataIdentifierResult& AddIgnoreWords(Aws::String&& value) { m_ignoreWords.push_back(std::move(value)); return *this; }
115 inline GetCustomDataIdentifierResult& AddIgnoreWords(const char* value) { m_ignoreWords.push_back(value); return *this; }
117
119
124 inline const Aws::Vector<Aws::String>& GetKeywords() const{ return m_keywords; }
125 inline void SetKeywords(const Aws::Vector<Aws::String>& value) { m_keywords = value; }
126 inline void SetKeywords(Aws::Vector<Aws::String>&& value) { m_keywords = std::move(value); }
128 inline GetCustomDataIdentifierResult& WithKeywords(Aws::Vector<Aws::String>&& value) { SetKeywords(std::move(value)); return *this;}
129 inline GetCustomDataIdentifierResult& AddKeywords(const Aws::String& value) { m_keywords.push_back(value); return *this; }
130 inline GetCustomDataIdentifierResult& AddKeywords(Aws::String&& value) { m_keywords.push_back(std::move(value)); return *this; }
131 inline GetCustomDataIdentifierResult& AddKeywords(const char* value) { m_keywords.push_back(value); return *this; }
133
135
142 inline int GetMaximumMatchDistance() const{ return m_maximumMatchDistance; }
143 inline void SetMaximumMatchDistance(int value) { m_maximumMatchDistance = value; }
146
148
151 inline const Aws::String& GetName() const{ return m_name; }
152 inline void SetName(const Aws::String& value) { m_name = value; }
153 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
154 inline void SetName(const char* value) { m_name.assign(value); }
155 inline GetCustomDataIdentifierResult& WithName(const Aws::String& value) { SetName(value); return *this;}
156 inline GetCustomDataIdentifierResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
157 inline GetCustomDataIdentifierResult& WithName(const char* value) { SetName(value); return *this;}
159
161
164 inline const Aws::String& GetRegex() const{ return m_regex; }
165 inline void SetRegex(const Aws::String& value) { m_regex = value; }
166 inline void SetRegex(Aws::String&& value) { m_regex = std::move(value); }
167 inline void SetRegex(const char* value) { m_regex.assign(value); }
168 inline GetCustomDataIdentifierResult& WithRegex(const Aws::String& value) { SetRegex(value); return *this;}
169 inline GetCustomDataIdentifierResult& WithRegex(Aws::String&& value) { SetRegex(std::move(value)); return *this;}
170 inline GetCustomDataIdentifierResult& WithRegex(const char* value) { SetRegex(value); return *this;}
172
174
182 inline const Aws::Vector<SeverityLevel>& GetSeverityLevels() const{ return m_severityLevels; }
183 inline void SetSeverityLevels(const Aws::Vector<SeverityLevel>& value) { m_severityLevels = value; }
184 inline void SetSeverityLevels(Aws::Vector<SeverityLevel>&& value) { m_severityLevels = std::move(value); }
187 inline GetCustomDataIdentifierResult& AddSeverityLevels(const SeverityLevel& value) { m_severityLevels.push_back(value); return *this; }
188 inline GetCustomDataIdentifierResult& AddSeverityLevels(SeverityLevel&& value) { m_severityLevels.push_back(std::move(value)); return *this; }
190
192
196 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
197 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
198 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
200 inline GetCustomDataIdentifierResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
201 inline GetCustomDataIdentifierResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
202 inline GetCustomDataIdentifierResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
203 inline GetCustomDataIdentifierResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
204 inline GetCustomDataIdentifierResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
205 inline GetCustomDataIdentifierResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
206 inline GetCustomDataIdentifierResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
207 inline GetCustomDataIdentifierResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
209
211
212 inline const Aws::String& GetRequestId() const{ return m_requestId; }
213 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
214 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
215 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
216 inline GetCustomDataIdentifierResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
217 inline GetCustomDataIdentifierResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
218 inline GetCustomDataIdentifierResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
220 private:
221
222 Aws::String m_arn;
223
224 Aws::Utils::DateTime m_createdAt;
225
226 bool m_deleted;
227
228 Aws::String m_description;
229
230 Aws::String m_id;
231
232 Aws::Vector<Aws::String> m_ignoreWords;
233
234 Aws::Vector<Aws::String> m_keywords;
235
236 int m_maximumMatchDistance;
237
238 Aws::String m_name;
239
240 Aws::String m_regex;
241
242 Aws::Vector<SeverityLevel> m_severityLevels;
243
245
246 Aws::String m_requestId;
247 };
248
249} // namespace Model
250} // namespace Macie2
251} // namespace Aws
GetCustomDataIdentifierResult & WithArn(const char *value)
GetCustomDataIdentifierResult & WithDescription(const Aws::String &value)
GetCustomDataIdentifierResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetCustomDataIdentifierResult & AddTags(const char *key, const char *value)
GetCustomDataIdentifierResult & WithSeverityLevels(const Aws::Vector< SeverityLevel > &value)
void SetKeywords(const Aws::Vector< Aws::String > &value)
AWS_MACIE2_API GetCustomDataIdentifierResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCustomDataIdentifierResult & WithRequestId(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetCustomDataIdentifierResult & WithRegex(const Aws::String &value)
const Aws::Vector< Aws::String > & GetKeywords() const
GetCustomDataIdentifierResult & AddTags(Aws::String &&key, const Aws::String &value)
GetCustomDataIdentifierResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetCustomDataIdentifierResult & AddTags(Aws::String &&key, Aws::String &&value)
GetCustomDataIdentifierResult & WithArn(const Aws::String &value)
GetCustomDataIdentifierResult & WithIgnoreWords(const Aws::Vector< Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetCustomDataIdentifierResult & WithName(const Aws::String &value)
GetCustomDataIdentifierResult & WithSeverityLevels(Aws::Vector< SeverityLevel > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetCustomDataIdentifierResult & AddTags(const char *key, Aws::String &&value)
GetCustomDataIdentifierResult & WithMaximumMatchDistance(int value)
AWS_MACIE2_API GetCustomDataIdentifierResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCustomDataIdentifierResult & WithRequestId(Aws::String &&value)
GetCustomDataIdentifierResult & AddIgnoreWords(Aws::String &&value)
GetCustomDataIdentifierResult & WithRegex(const char *value)
GetCustomDataIdentifierResult & AddKeywords(const Aws::String &value)
GetCustomDataIdentifierResult & AddKeywords(const char *value)
GetCustomDataIdentifierResult & WithName(Aws::String &&value)
GetCustomDataIdentifierResult & WithKeywords(const Aws::Vector< Aws::String > &value)
GetCustomDataIdentifierResult & WithRegex(Aws::String &&value)
GetCustomDataIdentifierResult & AddSeverityLevels(const SeverityLevel &value)
GetCustomDataIdentifierResult & AddTags(Aws::String &&key, const char *value)
void SetIgnoreWords(const Aws::Vector< Aws::String > &value)
GetCustomDataIdentifierResult & WithArn(Aws::String &&value)
void SetSeverityLevels(const Aws::Vector< SeverityLevel > &value)
GetCustomDataIdentifierResult & AddIgnoreWords(const Aws::String &value)
GetCustomDataIdentifierResult & WithRequestId(const Aws::String &value)
GetCustomDataIdentifierResult & WithId(Aws::String &&value)
GetCustomDataIdentifierResult & AddIgnoreWords(const char *value)
GetCustomDataIdentifierResult & AddKeywords(Aws::String &&value)
GetCustomDataIdentifierResult & WithKeywords(Aws::Vector< Aws::String > &&value)
void SetSeverityLevels(Aws::Vector< SeverityLevel > &&value)
GetCustomDataIdentifierResult & WithDescription(const char *value)
GetCustomDataIdentifierResult & AddSeverityLevels(SeverityLevel &&value)
GetCustomDataIdentifierResult & WithDescription(Aws::String &&value)
GetCustomDataIdentifierResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetCustomDataIdentifierResult & AddTags(const Aws::String &key, Aws::String &&value)
GetCustomDataIdentifierResult & WithId(const char *value)
GetCustomDataIdentifierResult & WithDeleted(bool value)
GetCustomDataIdentifierResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetCustomDataIdentifierResult & WithIgnoreWords(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetIgnoreWords() const
GetCustomDataIdentifierResult & WithId(const Aws::String &value)
GetCustomDataIdentifierResult & WithName(const char *value)
const Aws::Vector< SeverityLevel > & GetSeverityLevels() const
GetCustomDataIdentifierResult & AddTags(const Aws::String &key, const Aws::String &value)
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