7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/Macie2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/macie2/model/JobType.h>
12#include <aws/macie2/model/ManagedDataIdentifierSelector.h>
13#include <aws/macie2/model/S3JobDefinition.h>
14#include <aws/macie2/model/JobScheduleFrequency.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/core/utils/UUID.h>
49 template<
typename AllowListIdsT = Aws::Vector<Aws::String>>
50 void SetAllowListIds(AllowListIdsT&& value) { m_allowListIdsHasBeenSet =
true; m_allowListIds = std::forward<AllowListIdsT>(value); }
51 template<
typename AllowListIdsT = Aws::Vector<Aws::String>>
53 template<
typename AllowListIdsT = Aws::String>
64 template<
typename ClientTokenT = Aws::String>
65 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
66 template<
typename ClientTokenT = Aws::String>
79 template<
typename CustomDataIdentifierIdsT = Aws::Vector<Aws::String>>
80 void SetCustomDataIdentifierIds(CustomDataIdentifierIdsT&& value) { m_customDataIdentifierIdsHasBeenSet =
true; m_customDataIdentifierIds = std::forward<CustomDataIdentifierIdsT>(value); }
81 template<
typename CustomDataIdentifierIdsT = Aws::Vector<Aws::String>>
83 template<
typename CustomDataIdentifierIdsT = Aws::String>
94 template<
typename DescriptionT = Aws::String>
95 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
96 template<
typename DescriptionT = Aws::String>
110 inline void SetInitialRun(
bool value) { m_initialRunHasBeenSet =
true; m_initialRun = value; }
138 template<
typename ManagedDataIdentifierIdsT = Aws::Vector<Aws::String>>
139 void SetManagedDataIdentifierIds(ManagedDataIdentifierIdsT&& value) { m_managedDataIdentifierIdsHasBeenSet =
true; m_managedDataIdentifierIds = std::forward<ManagedDataIdentifierIdsT>(value); }
140 template<
typename ManagedDataIdentifierIdsT = Aws::Vector<Aws::String>>
142 template<
typename ManagedDataIdentifierIdsT = Aws::String>
187 template<
typename NameT = Aws::String>
188 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
189 template<
typename NameT = Aws::String>
200 template<
typename S3JobDefinitionT = S3JobDefinition>
201 void SetS3JobDefinition(S3JobDefinitionT&& value) { m_s3JobDefinitionHasBeenSet =
true; m_s3JobDefinition = std::forward<S3JobDefinitionT>(value); }
202 template<
typename S3JobDefinitionT = S3JobDefinition>
216 inline void SetSamplingPercentage(
int value) { m_samplingPercentageHasBeenSet =
true; m_samplingPercentage = value; }
228 template<
typename ScheduleFrequencyT = JobScheduleFrequency>
229 void SetScheduleFrequency(ScheduleFrequencyT&& value) { m_scheduleFrequencyHasBeenSet =
true; m_scheduleFrequency = std::forward<ScheduleFrequencyT>(value); }
230 template<
typename ScheduleFrequencyT = JobScheduleFrequency>
243 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
244 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
245 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
247 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
249 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
255 bool m_allowListIdsHasBeenSet =
false;
258 bool m_clientTokenHasBeenSet =
true;
261 bool m_customDataIdentifierIdsHasBeenSet =
false;
264 bool m_descriptionHasBeenSet =
false;
266 bool m_initialRun{
false};
267 bool m_initialRunHasBeenSet =
false;
270 bool m_jobTypeHasBeenSet =
false;
273 bool m_managedDataIdentifierIdsHasBeenSet =
false;
276 bool m_managedDataIdentifierSelectorHasBeenSet =
false;
279 bool m_nameHasBeenSet =
false;
281 S3JobDefinition m_s3JobDefinition;
282 bool m_s3JobDefinitionHasBeenSet =
false;
284 int m_samplingPercentage{0};
285 bool m_samplingPercentageHasBeenSet =
false;
287 JobScheduleFrequency m_scheduleFrequency;
288 bool m_scheduleFrequencyHasBeenSet =
false;
291 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