7#include <aws/core/utils/UUID.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/Macie2Request.h>
12#include <aws/macie2/Macie2_EXPORTS.h>
13#include <aws/macie2/model/JobScheduleFrequency.h>
14#include <aws/macie2/model/JobType.h>
15#include <aws/macie2/model/ManagedDataIdentifierSelector.h>
16#include <aws/macie2/model/S3JobDefinition.h>
45 template <
typename AllowListIdsT = Aws::Vector<Aws::String>>
47 m_allowListIdsHasBeenSet =
true;
48 m_allowListIds = std::forward<AllowListIdsT>(value);
50 template <
typename AllowListIdsT = Aws::Vector<Aws::String>>
55 template <
typename AllowListIdsT = Aws::String>
57 m_allowListIdsHasBeenSet =
true;
58 m_allowListIds.emplace_back(std::forward<AllowListIdsT>(value));
70 template <
typename ClientTokenT = Aws::String>
72 m_clientTokenHasBeenSet =
true;
73 m_clientToken = std::forward<ClientTokenT>(value);
75 template <
typename ClientTokenT = Aws::String>
91 template <
typename CustomDataIdentifierIdsT = Aws::Vector<Aws::String>>
93 m_customDataIdentifierIdsHasBeenSet =
true;
94 m_customDataIdentifierIds = std::forward<CustomDataIdentifierIdsT>(value);
96 template <
typename CustomDataIdentifierIdsT = Aws::Vector<Aws::String>>
101 template <
typename CustomDataIdentifierIdsT = Aws::String>
103 m_customDataIdentifierIdsHasBeenSet =
true;
104 m_customDataIdentifierIds.emplace_back(std::forward<CustomDataIdentifierIdsT>(value));
116 template <
typename DescriptionT = Aws::String>
118 m_descriptionHasBeenSet =
true;
119 m_description = std::forward<DescriptionT>(value);
121 template <
typename DescriptionT = Aws::String>
139 m_initialRunHasBeenSet =
true;
140 m_initialRun = value;
159 m_jobTypeHasBeenSet =
true;
178 template <
typename ManagedDataIdentifierIdsT = Aws::Vector<Aws::String>>
180 m_managedDataIdentifierIdsHasBeenSet =
true;
181 m_managedDataIdentifierIds = std::forward<ManagedDataIdentifierIdsT>(value);
183 template <
typename ManagedDataIdentifierIdsT = Aws::Vector<Aws::String>>
188 template <
typename ManagedDataIdentifierIdsT = Aws::String>
190 m_managedDataIdentifierIdsHasBeenSet =
true;
191 m_managedDataIdentifierIds.emplace_back(std::forward<ManagedDataIdentifierIdsT>(value));
227 m_managedDataIdentifierSelectorHasBeenSet =
true;
228 m_managedDataIdentifierSelector = value;
243 template <
typename NameT = Aws::String>
245 m_nameHasBeenSet =
true;
246 m_name = std::forward<NameT>(value);
248 template <
typename NameT = Aws::String>
250 SetName(std::forward<NameT>(value));
262 template <
typename S3JobDefinitionT = S3JobDefinition>
264 m_s3JobDefinitionHasBeenSet =
true;
265 m_s3JobDefinition = std::forward<S3JobDefinitionT>(value);
267 template <
typename S3JobDefinitionT = S3JobDefinition>
285 m_samplingPercentageHasBeenSet =
true;
286 m_samplingPercentage = value;
302 template <
typename ScheduleFrequencyT = JobScheduleFrequency>
304 m_scheduleFrequencyHasBeenSet =
true;
305 m_scheduleFrequency = std::forward<ScheduleFrequencyT>(value);
307 template <
typename ScheduleFrequencyT = JobScheduleFrequency>
323 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
325 m_tagsHasBeenSet =
true;
326 m_tags = std::forward<TagsT>(value);
328 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
330 SetTags(std::forward<TagsT>(value));
333 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
335 m_tagsHasBeenSet =
true;
336 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
349 bool m_initialRun{
false};
359 S3JobDefinition m_s3JobDefinition;
361 int m_samplingPercentage{0};
363 JobScheduleFrequency m_scheduleFrequency;
366 bool m_allowListIdsHasBeenSet =
false;
367 bool m_clientTokenHasBeenSet =
true;
368 bool m_customDataIdentifierIdsHasBeenSet =
false;
369 bool m_descriptionHasBeenSet =
false;
370 bool m_initialRunHasBeenSet =
false;
371 bool m_jobTypeHasBeenSet =
false;
372 bool m_managedDataIdentifierIdsHasBeenSet =
false;
373 bool m_managedDataIdentifierSelectorHasBeenSet =
false;
374 bool m_nameHasBeenSet =
false;
375 bool m_s3JobDefinitionHasBeenSet =
false;
376 bool m_samplingPercentageHasBeenSet =
false;
377 bool m_scheduleFrequencyHasBeenSet =
false;
378 bool m_tagsHasBeenSet =
false;
bool GetInitialRun() const
CreateClassificationJobRequest & WithAllowListIds(AllowListIdsT &&value)
const Aws::String & GetName() const
void SetSamplingPercentage(int value)
void SetInitialRun(bool value)
bool CustomDataIdentifierIdsHasBeenSet() const
void SetName(NameT &&value)
CreateClassificationJobRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetManagedDataIdentifierIds(ManagedDataIdentifierIdsT &&value)
void SetScheduleFrequency(ScheduleFrequencyT &&value)
bool NameHasBeenSet() const
const Aws::Vector< Aws::String > & GetManagedDataIdentifierIds() const
CreateClassificationJobRequest & WithManagedDataIdentifierSelector(ManagedDataIdentifierSelector value)
CreateClassificationJobRequest & AddManagedDataIdentifierIds(ManagedDataIdentifierIdsT &&value)
const Aws::String & GetDescription() const
JobType GetJobType() const
CreateClassificationJobRequest & WithJobType(JobType value)
void SetJobType(JobType value)
bool ManagedDataIdentifierSelectorHasBeenSet() const
CreateClassificationJobRequest & WithTags(TagsT &&value)
const JobScheduleFrequency & GetScheduleFrequency() const
void SetDescription(DescriptionT &&value)
CreateClassificationJobRequest & WithName(NameT &&value)
CreateClassificationJobRequest & WithScheduleFrequency(ScheduleFrequencyT &&value)
const Aws::Vector< Aws::String > & GetCustomDataIdentifierIds() const
CreateClassificationJobRequest & WithInitialRun(bool value)
bool AllowListIdsHasBeenSet() const
void SetTags(TagsT &&value)
bool DescriptionHasBeenSet() const
void SetAllowListIds(AllowListIdsT &&value)
bool TagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool ManagedDataIdentifierIdsHasBeenSet() const
bool ScheduleFrequencyHasBeenSet() const
bool S3JobDefinitionHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateClassificationJobRequest & AddAllowListIds(AllowListIdsT &&value)
CreateClassificationJobRequest & WithSamplingPercentage(int value)
const Aws::Vector< Aws::String > & GetAllowListIds() const
bool SamplingPercentageHasBeenSet() const
CreateClassificationJobRequest & WithCustomDataIdentifierIds(CustomDataIdentifierIdsT &&value)
void SetManagedDataIdentifierSelector(ManagedDataIdentifierSelector value)
CreateClassificationJobRequest & WithManagedDataIdentifierIds(ManagedDataIdentifierIdsT &&value)
int GetSamplingPercentage() const
const S3JobDefinition & GetS3JobDefinition() const
bool InitialRunHasBeenSet() const
bool JobTypeHasBeenSet() const
void SetCustomDataIdentifierIds(CustomDataIdentifierIdsT &&value)
AWS_MACIE2_API CreateClassificationJobRequest()=default
const Aws::String & GetClientToken() const
AWS_MACIE2_API Aws::String SerializePayload() const override
void SetClientToken(ClientTokenT &&value)
ManagedDataIdentifierSelector GetManagedDataIdentifierSelector() const
void SetS3JobDefinition(S3JobDefinitionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateClassificationJobRequest & WithS3JobDefinition(S3JobDefinitionT &&value)
CreateClassificationJobRequest & WithClientToken(ClientTokenT &&value)
CreateClassificationJobRequest & AddCustomDataIdentifierIds(CustomDataIdentifierIdsT &&value)
CreateClassificationJobRequest & WithDescription(DescriptionT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
ManagedDataIdentifierSelector
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