7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/UUID.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/macie2/Macie2_EXPORTS.h>
14#include <aws/macie2/model/JobScheduleFrequency.h>
15#include <aws/macie2/model/JobStatus.h>
16#include <aws/macie2/model/JobType.h>
17#include <aws/macie2/model/LastRunErrorStatus.h>
18#include <aws/macie2/model/ManagedDataIdentifierSelector.h>
19#include <aws/macie2/model/S3JobDefinition.h>
20#include <aws/macie2/model/Statistics.h>
21#include <aws/macie2/model/UserPausedDetails.h>
26template <
typename RESULT_TYPE>
27class AmazonWebServiceResult;
48 template <
typename AllowListIdsT = Aws::Vector<Aws::String>>
50 m_allowListIdsHasBeenSet =
true;
51 m_allowListIds = std::forward<AllowListIdsT>(value);
53 template <
typename AllowListIdsT = Aws::Vector<Aws::String>>
58 template <
typename AllowListIdsT = Aws::String>
60 m_allowListIdsHasBeenSet =
true;
61 m_allowListIds.emplace_back(std::forward<AllowListIdsT>(value));
72 template <
typename ClientTokenT = Aws::String>
74 m_clientTokenHasBeenSet =
true;
75 m_clientToken = std::forward<ClientTokenT>(value);
77 template <
typename ClientTokenT = Aws::String>
90 template <
typename CreatedAtT = Aws::Utils::DateTime>
92 m_createdAtHasBeenSet =
true;
93 m_createdAt = std::forward<CreatedAtT>(value);
95 template <
typename CreatedAtT = Aws::Utils::DateTime>
109 template <
typename CustomDataIdentifierIdsT = Aws::Vector<Aws::String>>
111 m_customDataIdentifierIdsHasBeenSet =
true;
112 m_customDataIdentifierIds = std::forward<CustomDataIdentifierIdsT>(value);
114 template <
typename CustomDataIdentifierIdsT = Aws::Vector<Aws::String>>
119 template <
typename CustomDataIdentifierIdsT = Aws::String>
121 m_customDataIdentifierIdsHasBeenSet =
true;
122 m_customDataIdentifierIds.emplace_back(std::forward<CustomDataIdentifierIdsT>(value));
132 template <
typename DescriptionT = Aws::String>
134 m_descriptionHasBeenSet =
true;
135 m_description = std::forward<DescriptionT>(value);
137 template <
typename DescriptionT = Aws::String>
154 m_initialRunHasBeenSet =
true;
155 m_initialRun = value;
168 template <
typename JobArnT = Aws::String>
170 m_jobArnHasBeenSet =
true;
171 m_jobArn = std::forward<JobArnT>(value);
173 template <
typename JobArnT = Aws::String>
185 template <
typename JobIdT = Aws::String>
187 m_jobIdHasBeenSet =
true;
188 m_jobId = std::forward<JobIdT>(value);
190 template <
typename JobIdT = Aws::String>
192 SetJobId(std::forward<JobIdT>(value));
218 m_jobStatusHasBeenSet =
true;
236 m_jobTypeHasBeenSet =
true;
252 template <
typename LastRunErrorStatusT = LastRunErrorStatus>
254 m_lastRunErrorStatusHasBeenSet =
true;
255 m_lastRunErrorStatus = std::forward<LastRunErrorStatusT>(value);
257 template <
typename LastRunErrorStatusT = LastRunErrorStatus>
271 template <
typename LastRunTimeT = Aws::Utils::DateTime>
273 m_lastRunTimeHasBeenSet =
true;
274 m_lastRunTime = std::forward<LastRunTimeT>(value);
276 template <
typename LastRunTimeT = Aws::Utils::DateTime>
293 template <
typename ManagedDataIdentifierIdsT = Aws::Vector<Aws::String>>
295 m_managedDataIdentifierIdsHasBeenSet =
true;
296 m_managedDataIdentifierIds = std::forward<ManagedDataIdentifierIdsT>(value);
298 template <
typename ManagedDataIdentifierIdsT = Aws::Vector<Aws::String>>
303 template <
typename ManagedDataIdentifierIdsT = Aws::String>
305 m_managedDataIdentifierIdsHasBeenSet =
true;
306 m_managedDataIdentifierIds.emplace_back(std::forward<ManagedDataIdentifierIdsT>(value));
336 m_managedDataIdentifierSelectorHasBeenSet =
true;
337 m_managedDataIdentifierSelector = value;
350 template <
typename NameT = Aws::String>
352 m_nameHasBeenSet =
true;
353 m_name = std::forward<NameT>(value);
355 template <
typename NameT = Aws::String>
357 SetName(std::forward<NameT>(value));
368 template <
typename S3JobDefinitionT = S3JobDefinition>
370 m_s3JobDefinitionHasBeenSet =
true;
371 m_s3JobDefinition = std::forward<S3JobDefinitionT>(value);
373 template <
typename S3JobDefinitionT = S3JobDefinition>
387 m_samplingPercentageHasBeenSet =
true;
388 m_samplingPercentage = value;
402 template <
typename ScheduleFrequencyT = JobScheduleFrequency>
404 m_scheduleFrequencyHasBeenSet =
true;
405 m_scheduleFrequency = std::forward<ScheduleFrequencyT>(value);
407 template <
typename ScheduleFrequencyT = JobScheduleFrequency>
420 template <
typename StatisticsT = Statistics>
422 m_statisticsHasBeenSet =
true;
423 m_statistics = std::forward<StatisticsT>(value);
425 template <
typename StatisticsT = Statistics>
438 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
440 m_tagsHasBeenSet =
true;
441 m_tags = std::forward<TagsT>(value);
443 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
445 SetTags(std::forward<TagsT>(value));
448 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
450 m_tagsHasBeenSet =
true;
451 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
464 template <
typename UserPausedDetailsT = UserPausedDetails>
466 m_userPausedDetailsHasBeenSet =
true;
467 m_userPausedDetails = std::forward<UserPausedDetailsT>(value);
469 template <
typename UserPausedDetailsT = UserPausedDetails>
479 template <
typename RequestIdT = Aws::String>
481 m_requestIdHasBeenSet =
true;
482 m_requestId = std::forward<RequestIdT>(value);
484 template <
typename RequestIdT = Aws::String>
503 bool m_initialRun{
false};
513 LastRunErrorStatus m_lastRunErrorStatus;
523 S3JobDefinition m_s3JobDefinition;
525 int m_samplingPercentage{0};
527 JobScheduleFrequency m_scheduleFrequency;
529 Statistics m_statistics;
533 UserPausedDetails m_userPausedDetails;
537 bool m_allowListIdsHasBeenSet =
false;
538 bool m_clientTokenHasBeenSet =
true;
539 bool m_createdAtHasBeenSet =
false;
540 bool m_customDataIdentifierIdsHasBeenSet =
false;
541 bool m_descriptionHasBeenSet =
false;
542 bool m_initialRunHasBeenSet =
false;
543 bool m_jobArnHasBeenSet =
false;
544 bool m_jobIdHasBeenSet =
false;
545 bool m_jobStatusHasBeenSet =
false;
546 bool m_jobTypeHasBeenSet =
false;
547 bool m_lastRunErrorStatusHasBeenSet =
false;
548 bool m_lastRunTimeHasBeenSet =
false;
549 bool m_managedDataIdentifierIdsHasBeenSet =
false;
550 bool m_managedDataIdentifierSelectorHasBeenSet =
false;
551 bool m_nameHasBeenSet =
false;
552 bool m_s3JobDefinitionHasBeenSet =
false;
553 bool m_samplingPercentageHasBeenSet =
false;
554 bool m_scheduleFrequencyHasBeenSet =
false;
555 bool m_statisticsHasBeenSet =
false;
556 bool m_tagsHasBeenSet =
false;
557 bool m_userPausedDetailsHasBeenSet =
false;
558 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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