7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/macie2/model/JobStatus.h>
12#include <aws/macie2/model/JobType.h>
13#include <aws/macie2/model/LastRunErrorStatus.h>
14#include <aws/macie2/model/ManagedDataIdentifierSelector.h>
15#include <aws/macie2/model/S3JobDefinition.h>
16#include <aws/macie2/model/JobScheduleFrequency.h>
17#include <aws/macie2/model/Statistics.h>
18#include <aws/core/utils/memory/stl/AWSMap.h>
19#include <aws/macie2/model/UserPausedDetails.h>
21#include <aws/core/utils/UUID.h>
25template<
typename RESULT_TYPE>
26class AmazonWebServiceResult;
53 template<
typename AllowListIdsT = Aws::Vector<Aws::String>>
54 void SetAllowListIds(AllowListIdsT&& value) { m_allowListIdsHasBeenSet =
true; m_allowListIds = std::forward<AllowListIdsT>(value); }
55 template<
typename AllowListIdsT = Aws::Vector<Aws::String>>
57 template<
typename AllowListIdsT = Aws::String>
67 template<
typename ClientTokenT = Aws::String>
68 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
69 template<
typename ClientTokenT = Aws::String>
79 template<
typename CreatedAtT = Aws::Utils::DateTime>
80 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
81 template<
typename CreatedAtT = Aws::Utils::DateTime>
92 template<
typename CustomDataIdentifierIdsT = Aws::Vector<Aws::String>>
93 void SetCustomDataIdentifierIds(CustomDataIdentifierIdsT&& value) { m_customDataIdentifierIdsHasBeenSet =
true; m_customDataIdentifierIds = std::forward<CustomDataIdentifierIdsT>(value); }
94 template<
typename CustomDataIdentifierIdsT = Aws::Vector<Aws::String>>
96 template<
typename CustomDataIdentifierIdsT = Aws::String>
105 template<
typename DescriptionT = Aws::String>
106 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
107 template<
typename DescriptionT = Aws::String>
120 inline void SetInitialRun(
bool value) { m_initialRunHasBeenSet =
true; m_initialRun = value; }
129 template<
typename JobArnT = Aws::String>
130 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet =
true; m_jobArn = std::forward<JobArnT>(value); }
131 template<
typename JobArnT = Aws::String>
140 template<
typename JobIdT = Aws::String>
141 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
142 template<
typename JobIdT = Aws::String>
189 template<
typename LastRunErrorStatusT = LastRunErrorStatus>
190 void SetLastRunErrorStatus(LastRunErrorStatusT&& value) { m_lastRunErrorStatusHasBeenSet =
true; m_lastRunErrorStatus = std::forward<LastRunErrorStatusT>(value); }
191 template<
typename LastRunErrorStatusT = LastRunErrorStatus>
202 template<
typename LastRunTimeT = Aws::Utils::DateTime>
203 void SetLastRunTime(LastRunTimeT&& value) { m_lastRunTimeHasBeenSet =
true; m_lastRunTime = std::forward<LastRunTimeT>(value); }
204 template<
typename LastRunTimeT = Aws::Utils::DateTime>
218 template<
typename ManagedDataIdentifierIdsT = Aws::Vector<Aws::String>>
219 void SetManagedDataIdentifierIds(ManagedDataIdentifierIdsT&& value) { m_managedDataIdentifierIdsHasBeenSet =
true; m_managedDataIdentifierIds = std::forward<ManagedDataIdentifierIdsT>(value); }
220 template<
typename ManagedDataIdentifierIdsT = Aws::Vector<Aws::String>>
222 template<
typename ManagedDataIdentifierIdsT = Aws::String>
259 template<
typename NameT = Aws::String>
260 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
261 template<
typename NameT = Aws::String>
271 template<
typename S3JobDefinitionT = S3JobDefinition>
272 void SetS3JobDefinition(S3JobDefinitionT&& value) { m_s3JobDefinitionHasBeenSet =
true; m_s3JobDefinition = std::forward<S3JobDefinitionT>(value); }
273 template<
typename S3JobDefinitionT = S3JobDefinition>
283 inline void SetSamplingPercentage(
int value) { m_samplingPercentageHasBeenSet =
true; m_samplingPercentage = value; }
293 template<
typename ScheduleFrequencyT = JobScheduleFrequency>
294 void SetScheduleFrequency(ScheduleFrequencyT&& value) { m_scheduleFrequencyHasBeenSet =
true; m_scheduleFrequency = std::forward<ScheduleFrequencyT>(value); }
295 template<
typename ScheduleFrequencyT = JobScheduleFrequency>
305 template<
typename StatisticsT = Statistics>
306 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet =
true; m_statistics = std::forward<StatisticsT>(value); }
307 template<
typename StatisticsT = Statistics>
317 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
318 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
319 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
321 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
323 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
335 template<
typename UserPausedDetailsT = UserPausedDetails>
336 void SetUserPausedDetails(UserPausedDetailsT&& value) { m_userPausedDetailsHasBeenSet =
true; m_userPausedDetails = std::forward<UserPausedDetailsT>(value); }
337 template<
typename UserPausedDetailsT = UserPausedDetails>
344 template<
typename RequestIdT = Aws::String>
345 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
346 template<
typename RequestIdT = Aws::String>
352 bool m_allowListIdsHasBeenSet =
false;
355 bool m_clientTokenHasBeenSet =
true;
358 bool m_createdAtHasBeenSet =
false;
361 bool m_customDataIdentifierIdsHasBeenSet =
false;
364 bool m_descriptionHasBeenSet =
false;
366 bool m_initialRun{
false};
367 bool m_initialRunHasBeenSet =
false;
370 bool m_jobArnHasBeenSet =
false;
373 bool m_jobIdHasBeenSet =
false;
376 bool m_jobStatusHasBeenSet =
false;
379 bool m_jobTypeHasBeenSet =
false;
381 LastRunErrorStatus m_lastRunErrorStatus;
382 bool m_lastRunErrorStatusHasBeenSet =
false;
385 bool m_lastRunTimeHasBeenSet =
false;
388 bool m_managedDataIdentifierIdsHasBeenSet =
false;
391 bool m_managedDataIdentifierSelectorHasBeenSet =
false;
394 bool m_nameHasBeenSet =
false;
396 S3JobDefinition m_s3JobDefinition;
397 bool m_s3JobDefinitionHasBeenSet =
false;
399 int m_samplingPercentage{0};
400 bool m_samplingPercentageHasBeenSet =
false;
402 JobScheduleFrequency m_scheduleFrequency;
403 bool m_scheduleFrequencyHasBeenSet =
false;
405 Statistics m_statistics;
406 bool m_statisticsHasBeenSet =
false;
409 bool m_tagsHasBeenSet =
false;
411 UserPausedDetails m_userPausedDetails;
412 bool m_userPausedDetailsHasBeenSet =
false;
415 bool m_requestIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreatedAt() const
DescribeClassificationJobResult & WithTags(TagsT &&value)
DescribeClassificationJobResult & WithClientToken(ClientTokenT &&value)
AWS_MACIE2_API DescribeClassificationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedAt(CreatedAtT &&value)
DescribeClassificationJobResult & WithUserPausedDetails(UserPausedDetailsT &&value)
const Aws::Vector< Aws::String > & GetAllowListIds() const
DescribeClassificationJobResult & WithManagedDataIdentifierIds(ManagedDataIdentifierIdsT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetDescription() const
const LastRunErrorStatus & GetLastRunErrorStatus() const
void SetDescription(DescriptionT &&value)
JobType GetJobType() const
DescribeClassificationJobResult & WithName(NameT &&value)
const Aws::String & GetJobArn() const
DescribeClassificationJobResult & WithDescription(DescriptionT &&value)
void SetScheduleFrequency(ScheduleFrequencyT &&value)
const Aws::String & GetName() const
DescribeClassificationJobResult & WithInitialRun(bool value)
DescribeClassificationJobResult & WithLastRunTime(LastRunTimeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeClassificationJobResult & WithJobId(JobIdT &&value)
const Statistics & GetStatistics() const
void SetUserPausedDetails(UserPausedDetailsT &&value)
const Aws::String & GetClientToken() const
const S3JobDefinition & GetS3JobDefinition() const
void SetJobId(JobIdT &&value)
DescribeClassificationJobResult & WithJobType(JobType value)
void SetJobArn(JobArnT &&value)
DescribeClassificationJobResult & WithJobArn(JobArnT &&value)
DescribeClassificationJobResult & AddAllowListIds(AllowListIdsT &&value)
void SetAllowListIds(AllowListIdsT &&value)
const UserPausedDetails & GetUserPausedDetails() const
const Aws::String & GetRequestId() const
int GetSamplingPercentage() const
JobStatus GetJobStatus() const
const Aws::Vector< Aws::String > & GetCustomDataIdentifierIds() const
void SetManagedDataIdentifierSelector(ManagedDataIdentifierSelector value)
void SetRequestId(RequestIdT &&value)
AWS_MACIE2_API DescribeClassificationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeClassificationJobResult & WithLastRunErrorStatus(LastRunErrorStatusT &&value)
DescribeClassificationJobResult & AddManagedDataIdentifierIds(ManagedDataIdentifierIdsT &&value)
ManagedDataIdentifierSelector GetManagedDataIdentifierSelector() const
DescribeClassificationJobResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLastRunTime() const
AWS_MACIE2_API DescribeClassificationJobResult()=default
DescribeClassificationJobResult & WithAllowListIds(AllowListIdsT &&value)
DescribeClassificationJobResult & WithCreatedAt(CreatedAtT &&value)
DescribeClassificationJobResult & WithCustomDataIdentifierIds(CustomDataIdentifierIdsT &&value)
const JobScheduleFrequency & GetScheduleFrequency() const
void SetJobStatus(JobStatus value)
void SetStatistics(StatisticsT &&value)
void SetLastRunTime(LastRunTimeT &&value)
DescribeClassificationJobResult & WithManagedDataIdentifierSelector(ManagedDataIdentifierSelector value)
DescribeClassificationJobResult & WithS3JobDefinition(S3JobDefinitionT &&value)
DescribeClassificationJobResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetManagedDataIdentifierIds(ManagedDataIdentifierIdsT &&value)
DescribeClassificationJobResult & WithSamplingPercentage(int value)
void SetCustomDataIdentifierIds(CustomDataIdentifierIdsT &&value)
void SetS3JobDefinition(S3JobDefinitionT &&value)
DescribeClassificationJobResult & AddCustomDataIdentifierIds(CustomDataIdentifierIdsT &&value)
const Aws::String & GetJobId() const
DescribeClassificationJobResult & WithScheduleFrequency(ScheduleFrequencyT &&value)
void SetLastRunErrorStatus(LastRunErrorStatusT &&value)
void SetJobType(JobType value)
void SetClientToken(ClientTokenT &&value)
void SetName(NameT &&value)
const Aws::Vector< Aws::String > & GetManagedDataIdentifierIds() const
DescribeClassificationJobResult & WithJobStatus(JobStatus value)
DescribeClassificationJobResult & WithStatistics(StatisticsT &&value)
bool GetInitialRun() const
void SetInitialRun(bool value)
void SetSamplingPercentage(int 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
Aws::Utils::Json::JsonValue JsonValue