AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateCustomDataIdentifierRequest.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/Macie2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.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#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace Macie2
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateCustomDataIdentifier"; }
35
36 AWS_MACIE2_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
45 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
46 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
47 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
48 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
49 inline CreateCustomDataIdentifierRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
50 inline CreateCustomDataIdentifierRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
51 inline CreateCustomDataIdentifierRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
53
55
62 inline const Aws::String& GetDescription() const{ return m_description; }
63 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
64 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
65 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
66 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
67 inline CreateCustomDataIdentifierRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
68 inline CreateCustomDataIdentifierRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
69 inline CreateCustomDataIdentifierRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
71
73
80 inline const Aws::Vector<Aws::String>& GetIgnoreWords() const{ return m_ignoreWords; }
81 inline bool IgnoreWordsHasBeenSet() const { return m_ignoreWordsHasBeenSet; }
82 inline void SetIgnoreWords(const Aws::Vector<Aws::String>& value) { m_ignoreWordsHasBeenSet = true; m_ignoreWords = value; }
83 inline void SetIgnoreWords(Aws::Vector<Aws::String>&& value) { m_ignoreWordsHasBeenSet = true; m_ignoreWords = std::move(value); }
86 inline CreateCustomDataIdentifierRequest& AddIgnoreWords(const Aws::String& value) { m_ignoreWordsHasBeenSet = true; m_ignoreWords.push_back(value); return *this; }
87 inline CreateCustomDataIdentifierRequest& AddIgnoreWords(Aws::String&& value) { m_ignoreWordsHasBeenSet = true; m_ignoreWords.push_back(std::move(value)); return *this; }
88 inline CreateCustomDataIdentifierRequest& AddIgnoreWords(const char* value) { m_ignoreWordsHasBeenSet = true; m_ignoreWords.push_back(value); return *this; }
90
92
98 inline const Aws::Vector<Aws::String>& GetKeywords() const{ return m_keywords; }
99 inline bool KeywordsHasBeenSet() const { return m_keywordsHasBeenSet; }
100 inline void SetKeywords(const Aws::Vector<Aws::String>& value) { m_keywordsHasBeenSet = true; m_keywords = value; }
101 inline void SetKeywords(Aws::Vector<Aws::String>&& value) { m_keywordsHasBeenSet = true; m_keywords = std::move(value); }
103 inline CreateCustomDataIdentifierRequest& WithKeywords(Aws::Vector<Aws::String>&& value) { SetKeywords(std::move(value)); return *this;}
104 inline CreateCustomDataIdentifierRequest& AddKeywords(const Aws::String& value) { m_keywordsHasBeenSet = true; m_keywords.push_back(value); return *this; }
105 inline CreateCustomDataIdentifierRequest& AddKeywords(Aws::String&& value) { m_keywordsHasBeenSet = true; m_keywords.push_back(std::move(value)); return *this; }
106 inline CreateCustomDataIdentifierRequest& AddKeywords(const char* value) { m_keywordsHasBeenSet = true; m_keywords.push_back(value); return *this; }
108
110
118 inline int GetMaximumMatchDistance() const{ return m_maximumMatchDistance; }
119 inline bool MaximumMatchDistanceHasBeenSet() const { return m_maximumMatchDistanceHasBeenSet; }
120 inline void SetMaximumMatchDistance(int value) { m_maximumMatchDistanceHasBeenSet = true; m_maximumMatchDistance = value; }
123
125
132 inline const Aws::String& GetName() const{ return m_name; }
133 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
134 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
135 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
136 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
137 inline CreateCustomDataIdentifierRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
138 inline CreateCustomDataIdentifierRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
139 inline CreateCustomDataIdentifierRequest& WithName(const char* value) { SetName(value); return *this;}
141
143
147 inline const Aws::String& GetRegex() const{ return m_regex; }
148 inline bool RegexHasBeenSet() const { return m_regexHasBeenSet; }
149 inline void SetRegex(const Aws::String& value) { m_regexHasBeenSet = true; m_regex = value; }
150 inline void SetRegex(Aws::String&& value) { m_regexHasBeenSet = true; m_regex = std::move(value); }
151 inline void SetRegex(const char* value) { m_regexHasBeenSet = true; m_regex.assign(value); }
152 inline CreateCustomDataIdentifierRequest& WithRegex(const Aws::String& value) { SetRegex(value); return *this;}
153 inline CreateCustomDataIdentifierRequest& WithRegex(Aws::String&& value) { SetRegex(std::move(value)); return *this;}
154 inline CreateCustomDataIdentifierRequest& WithRegex(const char* value) { SetRegex(value); return *this;}
156
158
171 inline const Aws::Vector<SeverityLevel>& GetSeverityLevels() const{ return m_severityLevels; }
172 inline bool SeverityLevelsHasBeenSet() const { return m_severityLevelsHasBeenSet; }
173 inline void SetSeverityLevels(const Aws::Vector<SeverityLevel>& value) { m_severityLevelsHasBeenSet = true; m_severityLevels = value; }
174 inline void SetSeverityLevels(Aws::Vector<SeverityLevel>&& value) { m_severityLevelsHasBeenSet = true; m_severityLevels = std::move(value); }
177 inline CreateCustomDataIdentifierRequest& AddSeverityLevels(const SeverityLevel& value) { m_severityLevelsHasBeenSet = true; m_severityLevels.push_back(value); return *this; }
178 inline CreateCustomDataIdentifierRequest& AddSeverityLevels(SeverityLevel&& value) { m_severityLevelsHasBeenSet = true; m_severityLevels.push_back(std::move(value)); return *this; }
180
182
189 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
190 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
191 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
192 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
195 inline CreateCustomDataIdentifierRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
196 inline CreateCustomDataIdentifierRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
197 inline CreateCustomDataIdentifierRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
198 inline CreateCustomDataIdentifierRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
199 inline CreateCustomDataIdentifierRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
200 inline CreateCustomDataIdentifierRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
201 inline CreateCustomDataIdentifierRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
203 private:
204
205 Aws::String m_clientToken;
206 bool m_clientTokenHasBeenSet = false;
207
208 Aws::String m_description;
209 bool m_descriptionHasBeenSet = false;
210
211 Aws::Vector<Aws::String> m_ignoreWords;
212 bool m_ignoreWordsHasBeenSet = false;
213
214 Aws::Vector<Aws::String> m_keywords;
215 bool m_keywordsHasBeenSet = false;
216
217 int m_maximumMatchDistance;
218 bool m_maximumMatchDistanceHasBeenSet = false;
219
220 Aws::String m_name;
221 bool m_nameHasBeenSet = false;
222
223 Aws::String m_regex;
224 bool m_regexHasBeenSet = false;
225
226 Aws::Vector<SeverityLevel> m_severityLevels;
227 bool m_severityLevelsHasBeenSet = false;
228
230 bool m_tagsHasBeenSet = false;
231 };
232
233} // namespace Model
234} // namespace Macie2
235} // namespace Aws
CreateCustomDataIdentifierRequest & AddTags(Aws::String &&key, const char *value)
CreateCustomDataIdentifierRequest & WithDescription(Aws::String &&value)
CreateCustomDataIdentifierRequest & WithName(const char *value)
CreateCustomDataIdentifierRequest & AddTags(const char *key, Aws::String &&value)
CreateCustomDataIdentifierRequest & WithRegex(const Aws::String &value)
CreateCustomDataIdentifierRequest & AddSeverityLevels(const SeverityLevel &value)
CreateCustomDataIdentifierRequest & WithClientToken(const Aws::String &value)
CreateCustomDataIdentifierRequest & WithIgnoreWords(const Aws::Vector< Aws::String > &value)
CreateCustomDataIdentifierRequest & AddIgnoreWords(Aws::String &&value)
CreateCustomDataIdentifierRequest & AddTags(const char *key, const char *value)
CreateCustomDataIdentifierRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateCustomDataIdentifierRequest & WithDescription(const Aws::String &value)
CreateCustomDataIdentifierRequest & WithMaximumMatchDistance(int value)
CreateCustomDataIdentifierRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateCustomDataIdentifierRequest & WithClientToken(Aws::String &&value)
CreateCustomDataIdentifierRequest & AddKeywords(Aws::String &&value)
CreateCustomDataIdentifierRequest & AddKeywords(const Aws::String &value)
CreateCustomDataIdentifierRequest & WithKeywords(Aws::Vector< Aws::String > &&value)
CreateCustomDataIdentifierRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateCustomDataIdentifierRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateCustomDataIdentifierRequest & WithDescription(const char *value)
CreateCustomDataIdentifierRequest & WithSeverityLevels(Aws::Vector< SeverityLevel > &&value)
CreateCustomDataIdentifierRequest & AddIgnoreWords(const char *value)
CreateCustomDataIdentifierRequest & WithKeywords(const Aws::Vector< Aws::String > &value)
CreateCustomDataIdentifierRequest & WithName(Aws::String &&value)
CreateCustomDataIdentifierRequest & WithName(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetSeverityLevels(const Aws::Vector< SeverityLevel > &value)
CreateCustomDataIdentifierRequest & AddIgnoreWords(const Aws::String &value)
CreateCustomDataIdentifierRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateCustomDataIdentifierRequest & WithRegex(const char *value)
CreateCustomDataIdentifierRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateCustomDataIdentifierRequest & WithRegex(Aws::String &&value)
CreateCustomDataIdentifierRequest & WithSeverityLevels(const Aws::Vector< SeverityLevel > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_MACIE2_API Aws::String SerializePayload() const override
CreateCustomDataIdentifierRequest & WithClientToken(const char *value)
CreateCustomDataIdentifierRequest & AddSeverityLevels(SeverityLevel &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateCustomDataIdentifierRequest & AddKeywords(const char *value)
CreateCustomDataIdentifierRequest & WithIgnoreWords(Aws::Vector< 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