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>
14#include <aws/core/utils/UUID.h>
46 template<
typename ClientTokenT = Aws::String>
47 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
48 template<
typename ClientTokenT = Aws::String>
62 template<
typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
64 template<
typename DescriptionT = Aws::String>
78 template<
typename IgnoreWordsT = Aws::Vector<Aws::String>>
79 void SetIgnoreWords(IgnoreWordsT&& value) { m_ignoreWordsHasBeenSet =
true; m_ignoreWords = std::forward<IgnoreWordsT>(value); }
80 template<
typename IgnoreWordsT = Aws::Vector<Aws::String>>
82 template<
typename IgnoreWordsT = Aws::String>
95 template<
typename KeywordsT = Aws::Vector<Aws::String>>
96 void SetKeywords(KeywordsT&& value) { m_keywordsHasBeenSet =
true; m_keywords = std::forward<KeywordsT>(value); }
97 template<
typename KeywordsT = Aws::Vector<Aws::String>>
99 template<
typename KeywordsT = Aws::String>
128 template<
typename NameT = Aws::String>
129 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
130 template<
typename NameT = Aws::String>
141 template<
typename RegexT = Aws::String>
142 void SetRegex(RegexT&& value) { m_regexHasBeenSet =
true; m_regex = std::forward<RegexT>(value); }
143 template<
typename RegexT = Aws::String>
163 template<
typename SeverityLevelsT = Aws::Vector<SeverityLevel>>
164 void SetSeverityLevels(SeverityLevelsT&& value) { m_severityLevelsHasBeenSet =
true; m_severityLevels = std::forward<SeverityLevelsT>(value); }
165 template<
typename SeverityLevelsT = Aws::Vector<SeverityLevel>>
167 template<
typename SeverityLevelsT = SeverityLevel>
181 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
182 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
183 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
185 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
187 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
193 bool m_clientTokenHasBeenSet =
true;
196 bool m_descriptionHasBeenSet =
false;
199 bool m_ignoreWordsHasBeenSet =
false;
202 bool m_keywordsHasBeenSet =
false;
204 int m_maximumMatchDistance{0};
205 bool m_maximumMatchDistanceHasBeenSet =
false;
208 bool m_nameHasBeenSet =
false;
211 bool m_regexHasBeenSet =
false;
214 bool m_severityLevelsHasBeenSet =
false;
217 bool m_tagsHasBeenSet =
false;
CreateCustomDataIdentifierRequest & AddKeywords(KeywordsT &&value)
void SetMaximumMatchDistance(int value)
virtual const char * GetServiceRequestName() const override
bool RegexHasBeenSet() const
void SetSeverityLevels(SeverityLevelsT &&value)
bool TagsHasBeenSet() const
void SetName(NameT &&value)
void SetDescription(DescriptionT &&value)
CreateCustomDataIdentifierRequest & AddSeverityLevels(SeverityLevelsT &&value)
const Aws::Vector< SeverityLevel > & GetSeverityLevels() const
void SetClientToken(ClientTokenT &&value)
CreateCustomDataIdentifierRequest & WithIgnoreWords(IgnoreWordsT &&value)
const Aws::Vector< Aws::String > & GetKeywords() const
int GetMaximumMatchDistance() const
CreateCustomDataIdentifierRequest & WithMaximumMatchDistance(int value)
const Aws::Vector< Aws::String > & GetIgnoreWords() const
bool SeverityLevelsHasBeenSet() const
CreateCustomDataIdentifierRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
void SetRegex(RegexT &&value)
void SetIgnoreWords(IgnoreWordsT &&value)
const Aws::String & GetRegex() const
const Aws::String & GetName() const
CreateCustomDataIdentifierRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool MaximumMatchDistanceHasBeenSet() const
AWS_MACIE2_API CreateCustomDataIdentifierRequest()=default
void SetKeywords(KeywordsT &&value)
CreateCustomDataIdentifierRequest & WithTags(TagsT &&value)
bool ClientTokenHasBeenSet() const
CreateCustomDataIdentifierRequest & AddIgnoreWords(IgnoreWordsT &&value)
CreateCustomDataIdentifierRequest & WithDescription(DescriptionT &&value)
bool NameHasBeenSet() const
CreateCustomDataIdentifierRequest & WithSeverityLevels(SeverityLevelsT &&value)
CreateCustomDataIdentifierRequest & WithName(NameT &&value)
CreateCustomDataIdentifierRequest & WithRegex(RegexT &&value)
AWS_MACIE2_API Aws::String SerializePayload() const override
bool IgnoreWordsHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::String & GetDescription() const
bool KeywordsHasBeenSet() const
CreateCustomDataIdentifierRequest & WithKeywords(KeywordsT &&value)
bool DescriptionHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
static Aws::Utils::UUID PseudoRandomUUID()
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