/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Macie2 { namespace Model { class DescribeClassificationJobResult { public: AWS_MACIE2_API DescribeClassificationJobResult(); AWS_MACIE2_API DescribeClassificationJobResult(const Aws::AmazonWebServiceResult& result); AWS_MACIE2_API DescribeClassificationJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of unique identifiers, one for each allow list that the job uses * when it analyzes data.

*/ inline const Aws::Vector& GetAllowListIds() const{ return m_allowListIds; } /** *

An array of unique identifiers, one for each allow list that the job uses * when it analyzes data.

*/ inline void SetAllowListIds(const Aws::Vector& value) { m_allowListIds = value; } /** *

An array of unique identifiers, one for each allow list that the job uses * when it analyzes data.

*/ inline void SetAllowListIds(Aws::Vector&& value) { m_allowListIds = std::move(value); } /** *

An array of unique identifiers, one for each allow list that the job uses * when it analyzes data.

*/ inline DescribeClassificationJobResult& WithAllowListIds(const Aws::Vector& value) { SetAllowListIds(value); return *this;} /** *

An array of unique identifiers, one for each allow list that the job uses * when it analyzes data.

*/ inline DescribeClassificationJobResult& WithAllowListIds(Aws::Vector&& value) { SetAllowListIds(std::move(value)); return *this;} /** *

An array of unique identifiers, one for each allow list that the job uses * when it analyzes data.

*/ inline DescribeClassificationJobResult& AddAllowListIds(const Aws::String& value) { m_allowListIds.push_back(value); return *this; } /** *

An array of unique identifiers, one for each allow list that the job uses * when it analyzes data.

*/ inline DescribeClassificationJobResult& AddAllowListIds(Aws::String&& value) { m_allowListIds.push_back(std::move(value)); return *this; } /** *

An array of unique identifiers, one for each allow list that the job uses * when it analyzes data.

*/ inline DescribeClassificationJobResult& AddAllowListIds(const char* value) { m_allowListIds.push_back(value); return *this; } /** *

The token that was provided to ensure the idempotency of the request to * create the job.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

The token that was provided to ensure the idempotency of the request to * create the job.

*/ inline void SetClientToken(const Aws::String& value) { m_clientToken = value; } /** *

The token that was provided to ensure the idempotency of the request to * create the job.

*/ inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); } /** *

The token that was provided to ensure the idempotency of the request to * create the job.

*/ inline void SetClientToken(const char* value) { m_clientToken.assign(value); } /** *

The token that was provided to ensure the idempotency of the request to * create the job.

*/ inline DescribeClassificationJobResult& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

The token that was provided to ensure the idempotency of the request to * create the job.

*/ inline DescribeClassificationJobResult& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

The token that was provided to ensure the idempotency of the request to * create the job.

*/ inline DescribeClassificationJobResult& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The date and time, in UTC and extended ISO 8601 format, when the job was * created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The date and time, in UTC and extended ISO 8601 format, when the job was * created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

The date and time, in UTC and extended ISO 8601 format, when the job was * created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } /** *

The date and time, in UTC and extended ISO 8601 format, when the job was * created.

*/ inline DescribeClassificationJobResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The date and time, in UTC and extended ISO 8601 format, when the job was * created.

*/ inline DescribeClassificationJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

An array of unique identifiers, one for each custom data identifier that the * job uses when it analyzes data. This value is null if the job uses only managed * data identifiers to analyze data.

*/ inline const Aws::Vector& GetCustomDataIdentifierIds() const{ return m_customDataIdentifierIds; } /** *

An array of unique identifiers, one for each custom data identifier that the * job uses when it analyzes data. This value is null if the job uses only managed * data identifiers to analyze data.

*/ inline void SetCustomDataIdentifierIds(const Aws::Vector& value) { m_customDataIdentifierIds = value; } /** *

An array of unique identifiers, one for each custom data identifier that the * job uses when it analyzes data. This value is null if the job uses only managed * data identifiers to analyze data.

*/ inline void SetCustomDataIdentifierIds(Aws::Vector&& value) { m_customDataIdentifierIds = std::move(value); } /** *

An array of unique identifiers, one for each custom data identifier that the * job uses when it analyzes data. This value is null if the job uses only managed * data identifiers to analyze data.

*/ inline DescribeClassificationJobResult& WithCustomDataIdentifierIds(const Aws::Vector& value) { SetCustomDataIdentifierIds(value); return *this;} /** *

An array of unique identifiers, one for each custom data identifier that the * job uses when it analyzes data. This value is null if the job uses only managed * data identifiers to analyze data.

*/ inline DescribeClassificationJobResult& WithCustomDataIdentifierIds(Aws::Vector&& value) { SetCustomDataIdentifierIds(std::move(value)); return *this;} /** *

An array of unique identifiers, one for each custom data identifier that the * job uses when it analyzes data. This value is null if the job uses only managed * data identifiers to analyze data.

*/ inline DescribeClassificationJobResult& AddCustomDataIdentifierIds(const Aws::String& value) { m_customDataIdentifierIds.push_back(value); return *this; } /** *

An array of unique identifiers, one for each custom data identifier that the * job uses when it analyzes data. This value is null if the job uses only managed * data identifiers to analyze data.

*/ inline DescribeClassificationJobResult& AddCustomDataIdentifierIds(Aws::String&& value) { m_customDataIdentifierIds.push_back(std::move(value)); return *this; } /** *

An array of unique identifiers, one for each custom data identifier that the * job uses when it analyzes data. This value is null if the job uses only managed * data identifiers to analyze data.

*/ inline DescribeClassificationJobResult& AddCustomDataIdentifierIds(const char* value) { m_customDataIdentifierIds.push_back(value); return *this; } /** *

The custom description of the job.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The custom description of the job.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

The custom description of the job.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

The custom description of the job.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The custom description of the job.

*/ inline DescribeClassificationJobResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The custom description of the job.

*/ inline DescribeClassificationJobResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The custom description of the job.

*/ inline DescribeClassificationJobResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

For a recurring job, specifies whether you configured the job to analyze all * existing, eligible objects immediately after the job was created (true). If you * configured the job to analyze only those objects that were created or changed * after the job was created and before the job's first scheduled run, this value * is false. This value is also false for a one-time job.

*/ inline bool GetInitialRun() const{ return m_initialRun; } /** *

For a recurring job, specifies whether you configured the job to analyze all * existing, eligible objects immediately after the job was created (true). If you * configured the job to analyze only those objects that were created or changed * after the job was created and before the job's first scheduled run, this value * is false. This value is also false for a one-time job.

*/ inline void SetInitialRun(bool value) { m_initialRun = value; } /** *

For a recurring job, specifies whether you configured the job to analyze all * existing, eligible objects immediately after the job was created (true). If you * configured the job to analyze only those objects that were created or changed * after the job was created and before the job's first scheduled run, this value * is false. This value is also false for a one-time job.

*/ inline DescribeClassificationJobResult& WithInitialRun(bool value) { SetInitialRun(value); return *this;} /** *

The Amazon Resource Name (ARN) of the job.

*/ inline const Aws::String& GetJobArn() const{ return m_jobArn; } /** *

The Amazon Resource Name (ARN) of the job.

*/ inline void SetJobArn(const Aws::String& value) { m_jobArn = value; } /** *

The Amazon Resource Name (ARN) of the job.

*/ inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the job.

*/ inline void SetJobArn(const char* value) { m_jobArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the job.

*/ inline DescribeClassificationJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the job.

*/ inline DescribeClassificationJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the job.

*/ inline DescribeClassificationJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;} /** *

The unique identifier for the job.

*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *

The unique identifier for the job.

*/ inline void SetJobId(const Aws::String& value) { m_jobId = value; } /** *

The unique identifier for the job.

*/ inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); } /** *

The unique identifier for the job.

*/ inline void SetJobId(const char* value) { m_jobId.assign(value); } /** *

The unique identifier for the job.

*/ inline DescribeClassificationJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The unique identifier for the job.

*/ inline DescribeClassificationJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *

The unique identifier for the job.

*/ inline DescribeClassificationJobResult& WithJobId(const char* value) { SetJobId(value); return *this;} /** *

The current status of the job. Possible values are:

  • CANCELLED * - You cancelled the job or, if it's a one-time job, you paused the job and * didn't resume it within 30 days.

  • COMPLETE - For a one-time job, * Amazon Macie finished processing the data specified for the job. This value * doesn't apply to recurring jobs.

  • IDLE - For a recurring job, the * previous scheduled run is complete and the next scheduled run is pending. This * value doesn't apply to one-time jobs.

  • PAUSED - Macie started * running the job but additional processing would exceed the monthly sensitive * data discovery quota for your account or one or more member accounts that the * job analyzes data for.

  • RUNNING - For a one-time job, the job is * in progress. For a recurring job, a scheduled run is in progress.

  • *
  • USER_PAUSED - You paused the job. If you paused the job while it had a * status of RUNNING and you don't resume it within 30 days of pausing it, the job * or job run will expire and be cancelled, depending on the job's type. To check * the expiration date, refer to the UserPausedDetails.jobExpiresAt * property.

*/ inline const JobStatus& GetJobStatus() const{ return m_jobStatus; } /** *

The current status of the job. Possible values are:

  • CANCELLED * - You cancelled the job or, if it's a one-time job, you paused the job and * didn't resume it within 30 days.

  • COMPLETE - For a one-time job, * Amazon Macie finished processing the data specified for the job. This value * doesn't apply to recurring jobs.

  • IDLE - For a recurring job, the * previous scheduled run is complete and the next scheduled run is pending. This * value doesn't apply to one-time jobs.

  • PAUSED - Macie started * running the job but additional processing would exceed the monthly sensitive * data discovery quota for your account or one or more member accounts that the * job analyzes data for.

  • RUNNING - For a one-time job, the job is * in progress. For a recurring job, a scheduled run is in progress.

  • *
  • USER_PAUSED - You paused the job. If you paused the job while it had a * status of RUNNING and you don't resume it within 30 days of pausing it, the job * or job run will expire and be cancelled, depending on the job's type. To check * the expiration date, refer to the UserPausedDetails.jobExpiresAt * property.

*/ inline void SetJobStatus(const JobStatus& value) { m_jobStatus = value; } /** *

The current status of the job. Possible values are:

  • CANCELLED * - You cancelled the job or, if it's a one-time job, you paused the job and * didn't resume it within 30 days.

  • COMPLETE - For a one-time job, * Amazon Macie finished processing the data specified for the job. This value * doesn't apply to recurring jobs.

  • IDLE - For a recurring job, the * previous scheduled run is complete and the next scheduled run is pending. This * value doesn't apply to one-time jobs.

  • PAUSED - Macie started * running the job but additional processing would exceed the monthly sensitive * data discovery quota for your account or one or more member accounts that the * job analyzes data for.

  • RUNNING - For a one-time job, the job is * in progress. For a recurring job, a scheduled run is in progress.

  • *
  • USER_PAUSED - You paused the job. If you paused the job while it had a * status of RUNNING and you don't resume it within 30 days of pausing it, the job * or job run will expire and be cancelled, depending on the job's type. To check * the expiration date, refer to the UserPausedDetails.jobExpiresAt * property.

*/ inline void SetJobStatus(JobStatus&& value) { m_jobStatus = std::move(value); } /** *

The current status of the job. Possible values are:

  • CANCELLED * - You cancelled the job or, if it's a one-time job, you paused the job and * didn't resume it within 30 days.

  • COMPLETE - For a one-time job, * Amazon Macie finished processing the data specified for the job. This value * doesn't apply to recurring jobs.

  • IDLE - For a recurring job, the * previous scheduled run is complete and the next scheduled run is pending. This * value doesn't apply to one-time jobs.

  • PAUSED - Macie started * running the job but additional processing would exceed the monthly sensitive * data discovery quota for your account or one or more member accounts that the * job analyzes data for.

  • RUNNING - For a one-time job, the job is * in progress. For a recurring job, a scheduled run is in progress.

  • *
  • USER_PAUSED - You paused the job. If you paused the job while it had a * status of RUNNING and you don't resume it within 30 days of pausing it, the job * or job run will expire and be cancelled, depending on the job's type. To check * the expiration date, refer to the UserPausedDetails.jobExpiresAt * property.

*/ inline DescribeClassificationJobResult& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;} /** *

The current status of the job. Possible values are:

  • CANCELLED * - You cancelled the job or, if it's a one-time job, you paused the job and * didn't resume it within 30 days.

  • COMPLETE - For a one-time job, * Amazon Macie finished processing the data specified for the job. This value * doesn't apply to recurring jobs.

  • IDLE - For a recurring job, the * previous scheduled run is complete and the next scheduled run is pending. This * value doesn't apply to one-time jobs.

  • PAUSED - Macie started * running the job but additional processing would exceed the monthly sensitive * data discovery quota for your account or one or more member accounts that the * job analyzes data for.

  • RUNNING - For a one-time job, the job is * in progress. For a recurring job, a scheduled run is in progress.

  • *
  • USER_PAUSED - You paused the job. If you paused the job while it had a * status of RUNNING and you don't resume it within 30 days of pausing it, the job * or job run will expire and be cancelled, depending on the job's type. To check * the expiration date, refer to the UserPausedDetails.jobExpiresAt * property.

*/ inline DescribeClassificationJobResult& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;} /** *

The schedule for running the job. Possible values are:

*
  • ONE_TIME - The job runs only once.

  • SCHEDULED - The * job runs on a daily, weekly, or monthly basis. The scheduleFrequency property * indicates the recurrence pattern for the job.

*/ inline const JobType& GetJobType() const{ return m_jobType; } /** *

The schedule for running the job. Possible values are:

*
  • ONE_TIME - The job runs only once.

  • SCHEDULED - The * job runs on a daily, weekly, or monthly basis. The scheduleFrequency property * indicates the recurrence pattern for the job.

*/ inline void SetJobType(const JobType& value) { m_jobType = value; } /** *

The schedule for running the job. Possible values are:

*
  • ONE_TIME - The job runs only once.

  • SCHEDULED - The * job runs on a daily, weekly, or monthly basis. The scheduleFrequency property * indicates the recurrence pattern for the job.

*/ inline void SetJobType(JobType&& value) { m_jobType = std::move(value); } /** *

The schedule for running the job. Possible values are:

*
  • ONE_TIME - The job runs only once.

  • SCHEDULED - The * job runs on a daily, weekly, or monthly basis. The scheduleFrequency property * indicates the recurrence pattern for the job.

*/ inline DescribeClassificationJobResult& WithJobType(const JobType& value) { SetJobType(value); return *this;} /** *

The schedule for running the job. Possible values are:

*
  • ONE_TIME - The job runs only once.

  • SCHEDULED - The * job runs on a daily, weekly, or monthly basis. The scheduleFrequency property * indicates the recurrence pattern for the job.

*/ inline DescribeClassificationJobResult& WithJobType(JobType&& value) { SetJobType(std::move(value)); return *this;} /** *

Specifies whether any account- or bucket-level access errors occurred when * the job ran. For a recurring job, this value indicates the error status of the * job's most recent run.

*/ inline const LastRunErrorStatus& GetLastRunErrorStatus() const{ return m_lastRunErrorStatus; } /** *

Specifies whether any account- or bucket-level access errors occurred when * the job ran. For a recurring job, this value indicates the error status of the * job's most recent run.

*/ inline void SetLastRunErrorStatus(const LastRunErrorStatus& value) { m_lastRunErrorStatus = value; } /** *

Specifies whether any account- or bucket-level access errors occurred when * the job ran. For a recurring job, this value indicates the error status of the * job's most recent run.

*/ inline void SetLastRunErrorStatus(LastRunErrorStatus&& value) { m_lastRunErrorStatus = std::move(value); } /** *

Specifies whether any account- or bucket-level access errors occurred when * the job ran. For a recurring job, this value indicates the error status of the * job's most recent run.

*/ inline DescribeClassificationJobResult& WithLastRunErrorStatus(const LastRunErrorStatus& value) { SetLastRunErrorStatus(value); return *this;} /** *

Specifies whether any account- or bucket-level access errors occurred when * the job ran. For a recurring job, this value indicates the error status of the * job's most recent run.

*/ inline DescribeClassificationJobResult& WithLastRunErrorStatus(LastRunErrorStatus&& value) { SetLastRunErrorStatus(std::move(value)); return *this;} /** *

The date and time, in UTC and extended ISO 8601 format, when the job started. * If the job is a recurring job, this value indicates when the most recent run * started or, if the job hasn't run yet, when the job was created.

*/ inline const Aws::Utils::DateTime& GetLastRunTime() const{ return m_lastRunTime; } /** *

The date and time, in UTC and extended ISO 8601 format, when the job started. * If the job is a recurring job, this value indicates when the most recent run * started or, if the job hasn't run yet, when the job was created.

*/ inline void SetLastRunTime(const Aws::Utils::DateTime& value) { m_lastRunTime = value; } /** *

The date and time, in UTC and extended ISO 8601 format, when the job started. * If the job is a recurring job, this value indicates when the most recent run * started or, if the job hasn't run yet, when the job was created.

*/ inline void SetLastRunTime(Aws::Utils::DateTime&& value) { m_lastRunTime = std::move(value); } /** *

The date and time, in UTC and extended ISO 8601 format, when the job started. * If the job is a recurring job, this value indicates when the most recent run * started or, if the job hasn't run yet, when the job was created.

*/ inline DescribeClassificationJobResult& WithLastRunTime(const Aws::Utils::DateTime& value) { SetLastRunTime(value); return *this;} /** *

The date and time, in UTC and extended ISO 8601 format, when the job started. * If the job is a recurring job, this value indicates when the most recent run * started or, if the job hasn't run yet, when the job was created.

*/ inline DescribeClassificationJobResult& WithLastRunTime(Aws::Utils::DateTime&& value) { SetLastRunTime(std::move(value)); return *this;} /** *

An array of unique identifiers, one for each managed data identifier that the * job is explicitly configured to include (use) or exclude (not use) when it * analyzes data. Inclusion or exclusion depends on the managed data identifier * selection type specified for the job (managedDataIdentifierSelector).

This * value is null if the job's managed data identifier selection type is ALL, NONE, * or RECOMMENDED.

*/ inline const Aws::Vector& GetManagedDataIdentifierIds() const{ return m_managedDataIdentifierIds; } /** *

An array of unique identifiers, one for each managed data identifier that the * job is explicitly configured to include (use) or exclude (not use) when it * analyzes data. Inclusion or exclusion depends on the managed data identifier * selection type specified for the job (managedDataIdentifierSelector).

This * value is null if the job's managed data identifier selection type is ALL, NONE, * or RECOMMENDED.

*/ inline void SetManagedDataIdentifierIds(const Aws::Vector& value) { m_managedDataIdentifierIds = value; } /** *

An array of unique identifiers, one for each managed data identifier that the * job is explicitly configured to include (use) or exclude (not use) when it * analyzes data. Inclusion or exclusion depends on the managed data identifier * selection type specified for the job (managedDataIdentifierSelector).

This * value is null if the job's managed data identifier selection type is ALL, NONE, * or RECOMMENDED.

*/ inline void SetManagedDataIdentifierIds(Aws::Vector&& value) { m_managedDataIdentifierIds = std::move(value); } /** *

An array of unique identifiers, one for each managed data identifier that the * job is explicitly configured to include (use) or exclude (not use) when it * analyzes data. Inclusion or exclusion depends on the managed data identifier * selection type specified for the job (managedDataIdentifierSelector).

This * value is null if the job's managed data identifier selection type is ALL, NONE, * or RECOMMENDED.

*/ inline DescribeClassificationJobResult& WithManagedDataIdentifierIds(const Aws::Vector& value) { SetManagedDataIdentifierIds(value); return *this;} /** *

An array of unique identifiers, one for each managed data identifier that the * job is explicitly configured to include (use) or exclude (not use) when it * analyzes data. Inclusion or exclusion depends on the managed data identifier * selection type specified for the job (managedDataIdentifierSelector).

This * value is null if the job's managed data identifier selection type is ALL, NONE, * or RECOMMENDED.

*/ inline DescribeClassificationJobResult& WithManagedDataIdentifierIds(Aws::Vector&& value) { SetManagedDataIdentifierIds(std::move(value)); return *this;} /** *

An array of unique identifiers, one for each managed data identifier that the * job is explicitly configured to include (use) or exclude (not use) when it * analyzes data. Inclusion or exclusion depends on the managed data identifier * selection type specified for the job (managedDataIdentifierSelector).

This * value is null if the job's managed data identifier selection type is ALL, NONE, * or RECOMMENDED.

*/ inline DescribeClassificationJobResult& AddManagedDataIdentifierIds(const Aws::String& value) { m_managedDataIdentifierIds.push_back(value); return *this; } /** *

An array of unique identifiers, one for each managed data identifier that the * job is explicitly configured to include (use) or exclude (not use) when it * analyzes data. Inclusion or exclusion depends on the managed data identifier * selection type specified for the job (managedDataIdentifierSelector).

This * value is null if the job's managed data identifier selection type is ALL, NONE, * or RECOMMENDED.

*/ inline DescribeClassificationJobResult& AddManagedDataIdentifierIds(Aws::String&& value) { m_managedDataIdentifierIds.push_back(std::move(value)); return *this; } /** *

An array of unique identifiers, one for each managed data identifier that the * job is explicitly configured to include (use) or exclude (not use) when it * analyzes data. Inclusion or exclusion depends on the managed data identifier * selection type specified for the job (managedDataIdentifierSelector).

This * value is null if the job's managed data identifier selection type is ALL, NONE, * or RECOMMENDED.

*/ inline DescribeClassificationJobResult& AddManagedDataIdentifierIds(const char* value) { m_managedDataIdentifierIds.push_back(value); return *this; } /** *

The selection type that determines which managed data identifiers the job * uses when it analyzes data. Possible values are:

  • ALL (default) - * Use all managed data identifiers.

  • EXCLUDE - Use all managed data * identifiers except the ones specified by the managedDataIdentifierIds * property.

  • INCLUDE - Use only the managed data identifiers * specified by the managedDataIdentifierIds property.

  • NONE - Don't * use any managed data identifiers. Use only custom data identifiers * (customDataIdentifierIds).

  • RECOMMENDED - Use only the set of * managed data identifiers that Amazon Web Services recommends for * jobs.

If this value is null, the job uses all managed data * identifiers.

If the job is a recurring job and this value is null, ALL, * or EXCLUDE, each job run automatically uses new managed data identifiers that * are released after the job was created or the preceding run ended. If this value * is RECOMMENDED for a recurring job, each job run uses all the managed data * identifiers that are in the recommended set when the run starts.

For * information about individual managed data identifiers or to determine which ones * are in the recommended set, see Using * managed data identifiers and Recommended * managed data identifiers in the Amazon Macie User Guide.

*/ inline const ManagedDataIdentifierSelector& GetManagedDataIdentifierSelector() const{ return m_managedDataIdentifierSelector; } /** *

The selection type that determines which managed data identifiers the job * uses when it analyzes data. Possible values are:

  • ALL (default) - * Use all managed data identifiers.

  • EXCLUDE - Use all managed data * identifiers except the ones specified by the managedDataIdentifierIds * property.

  • INCLUDE - Use only the managed data identifiers * specified by the managedDataIdentifierIds property.

  • NONE - Don't * use any managed data identifiers. Use only custom data identifiers * (customDataIdentifierIds).

  • RECOMMENDED - Use only the set of * managed data identifiers that Amazon Web Services recommends for * jobs.

If this value is null, the job uses all managed data * identifiers.

If the job is a recurring job and this value is null, ALL, * or EXCLUDE, each job run automatically uses new managed data identifiers that * are released after the job was created or the preceding run ended. If this value * is RECOMMENDED for a recurring job, each job run uses all the managed data * identifiers that are in the recommended set when the run starts.

For * information about individual managed data identifiers or to determine which ones * are in the recommended set, see Using * managed data identifiers and Recommended * managed data identifiers in the Amazon Macie User Guide.

*/ inline void SetManagedDataIdentifierSelector(const ManagedDataIdentifierSelector& value) { m_managedDataIdentifierSelector = value; } /** *

The selection type that determines which managed data identifiers the job * uses when it analyzes data. Possible values are:

  • ALL (default) - * Use all managed data identifiers.

  • EXCLUDE - Use all managed data * identifiers except the ones specified by the managedDataIdentifierIds * property.

  • INCLUDE - Use only the managed data identifiers * specified by the managedDataIdentifierIds property.

  • NONE - Don't * use any managed data identifiers. Use only custom data identifiers * (customDataIdentifierIds).

  • RECOMMENDED - Use only the set of * managed data identifiers that Amazon Web Services recommends for * jobs.

If this value is null, the job uses all managed data * identifiers.

If the job is a recurring job and this value is null, ALL, * or EXCLUDE, each job run automatically uses new managed data identifiers that * are released after the job was created or the preceding run ended. If this value * is RECOMMENDED for a recurring job, each job run uses all the managed data * identifiers that are in the recommended set when the run starts.

For * information about individual managed data identifiers or to determine which ones * are in the recommended set, see Using * managed data identifiers and Recommended * managed data identifiers in the Amazon Macie User Guide.

*/ inline void SetManagedDataIdentifierSelector(ManagedDataIdentifierSelector&& value) { m_managedDataIdentifierSelector = std::move(value); } /** *

The selection type that determines which managed data identifiers the job * uses when it analyzes data. Possible values are:

  • ALL (default) - * Use all managed data identifiers.

  • EXCLUDE - Use all managed data * identifiers except the ones specified by the managedDataIdentifierIds * property.

  • INCLUDE - Use only the managed data identifiers * specified by the managedDataIdentifierIds property.

  • NONE - Don't * use any managed data identifiers. Use only custom data identifiers * (customDataIdentifierIds).

  • RECOMMENDED - Use only the set of * managed data identifiers that Amazon Web Services recommends for * jobs.

If this value is null, the job uses all managed data * identifiers.

If the job is a recurring job and this value is null, ALL, * or EXCLUDE, each job run automatically uses new managed data identifiers that * are released after the job was created or the preceding run ended. If this value * is RECOMMENDED for a recurring job, each job run uses all the managed data * identifiers that are in the recommended set when the run starts.

For * information about individual managed data identifiers or to determine which ones * are in the recommended set, see Using * managed data identifiers and Recommended * managed data identifiers in the Amazon Macie User Guide.

*/ inline DescribeClassificationJobResult& WithManagedDataIdentifierSelector(const ManagedDataIdentifierSelector& value) { SetManagedDataIdentifierSelector(value); return *this;} /** *

The selection type that determines which managed data identifiers the job * uses when it analyzes data. Possible values are:

  • ALL (default) - * Use all managed data identifiers.

  • EXCLUDE - Use all managed data * identifiers except the ones specified by the managedDataIdentifierIds * property.

  • INCLUDE - Use only the managed data identifiers * specified by the managedDataIdentifierIds property.

  • NONE - Don't * use any managed data identifiers. Use only custom data identifiers * (customDataIdentifierIds).

  • RECOMMENDED - Use only the set of * managed data identifiers that Amazon Web Services recommends for * jobs.

If this value is null, the job uses all managed data * identifiers.

If the job is a recurring job and this value is null, ALL, * or EXCLUDE, each job run automatically uses new managed data identifiers that * are released after the job was created or the preceding run ended. If this value * is RECOMMENDED for a recurring job, each job run uses all the managed data * identifiers that are in the recommended set when the run starts.

For * information about individual managed data identifiers or to determine which ones * are in the recommended set, see Using * managed data identifiers and Recommended * managed data identifiers in the Amazon Macie User Guide.

*/ inline DescribeClassificationJobResult& WithManagedDataIdentifierSelector(ManagedDataIdentifierSelector&& value) { SetManagedDataIdentifierSelector(std::move(value)); return *this;} /** *

The custom name of the job.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The custom name of the job.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The custom name of the job.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The custom name of the job.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The custom name of the job.

*/ inline DescribeClassificationJobResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The custom name of the job.

*/ inline DescribeClassificationJobResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The custom name of the job.

*/ inline DescribeClassificationJobResult& WithName(const char* value) { SetName(value); return *this;} /** *

The S3 buckets that contain the objects to analyze, and the scope of that * analysis.

*/ inline const S3JobDefinition& GetS3JobDefinition() const{ return m_s3JobDefinition; } /** *

The S3 buckets that contain the objects to analyze, and the scope of that * analysis.

*/ inline void SetS3JobDefinition(const S3JobDefinition& value) { m_s3JobDefinition = value; } /** *

The S3 buckets that contain the objects to analyze, and the scope of that * analysis.

*/ inline void SetS3JobDefinition(S3JobDefinition&& value) { m_s3JobDefinition = std::move(value); } /** *

The S3 buckets that contain the objects to analyze, and the scope of that * analysis.

*/ inline DescribeClassificationJobResult& WithS3JobDefinition(const S3JobDefinition& value) { SetS3JobDefinition(value); return *this;} /** *

The S3 buckets that contain the objects to analyze, and the scope of that * analysis.

*/ inline DescribeClassificationJobResult& WithS3JobDefinition(S3JobDefinition&& value) { SetS3JobDefinition(std::move(value)); return *this;} /** *

The sampling depth, as a percentage, that determines the percentage of * eligible objects that the job analyzes.

*/ inline int GetSamplingPercentage() const{ return m_samplingPercentage; } /** *

The sampling depth, as a percentage, that determines the percentage of * eligible objects that the job analyzes.

*/ inline void SetSamplingPercentage(int value) { m_samplingPercentage = value; } /** *

The sampling depth, as a percentage, that determines the percentage of * eligible objects that the job analyzes.

*/ inline DescribeClassificationJobResult& WithSamplingPercentage(int value) { SetSamplingPercentage(value); return *this;} /** *

The recurrence pattern for running the job. This value is null if the job is * configured to run only once.

*/ inline const JobScheduleFrequency& GetScheduleFrequency() const{ return m_scheduleFrequency; } /** *

The recurrence pattern for running the job. This value is null if the job is * configured to run only once.

*/ inline void SetScheduleFrequency(const JobScheduleFrequency& value) { m_scheduleFrequency = value; } /** *

The recurrence pattern for running the job. This value is null if the job is * configured to run only once.

*/ inline void SetScheduleFrequency(JobScheduleFrequency&& value) { m_scheduleFrequency = std::move(value); } /** *

The recurrence pattern for running the job. This value is null if the job is * configured to run only once.

*/ inline DescribeClassificationJobResult& WithScheduleFrequency(const JobScheduleFrequency& value) { SetScheduleFrequency(value); return *this;} /** *

The recurrence pattern for running the job. This value is null if the job is * configured to run only once.

*/ inline DescribeClassificationJobResult& WithScheduleFrequency(JobScheduleFrequency&& value) { SetScheduleFrequency(std::move(value)); return *this;} /** *

The number of times that the job has run and processing statistics for the * job's current run.

*/ inline const Statistics& GetStatistics() const{ return m_statistics; } /** *

The number of times that the job has run and processing statistics for the * job's current run.

*/ inline void SetStatistics(const Statistics& value) { m_statistics = value; } /** *

The number of times that the job has run and processing statistics for the * job's current run.

*/ inline void SetStatistics(Statistics&& value) { m_statistics = std::move(value); } /** *

The number of times that the job has run and processing statistics for the * job's current run.

*/ inline DescribeClassificationJobResult& WithStatistics(const Statistics& value) { SetStatistics(value); return *this;} /** *

The number of times that the job has run and processing statistics for the * job's current run.

*/ inline DescribeClassificationJobResult& WithStatistics(Statistics&& value) { SetStatistics(std::move(value)); return *this;} /** *

A map of key-value pairs that specifies which tags (keys and values) are * associated with the classification job.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

A map of key-value pairs that specifies which tags (keys and values) are * associated with the classification job.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

A map of key-value pairs that specifies which tags (keys and values) are * associated with the classification job.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

A map of key-value pairs that specifies which tags (keys and values) are * associated with the classification job.

*/ inline DescribeClassificationJobResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

A map of key-value pairs that specifies which tags (keys and values) are * associated with the classification job.

*/ inline DescribeClassificationJobResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

A map of key-value pairs that specifies which tags (keys and values) are * associated with the classification job.

*/ inline DescribeClassificationJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

A map of key-value pairs that specifies which tags (keys and values) are * associated with the classification job.

*/ inline DescribeClassificationJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

A map of key-value pairs that specifies which tags (keys and values) are * associated with the classification job.

*/ inline DescribeClassificationJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

A map of key-value pairs that specifies which tags (keys and values) are * associated with the classification job.

*/ inline DescribeClassificationJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

A map of key-value pairs that specifies which tags (keys and values) are * associated with the classification job.

*/ inline DescribeClassificationJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

A map of key-value pairs that specifies which tags (keys and values) are * associated with the classification job.

*/ inline DescribeClassificationJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

A map of key-value pairs that specifies which tags (keys and values) are * associated with the classification job.

*/ inline DescribeClassificationJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

If the current status of the job is USER_PAUSED, specifies when the job was * paused and when the job or job run will expire and be cancelled if it isn't * resumed. This value is present only if the value for jobStatus is * USER_PAUSED.

*/ inline const UserPausedDetails& GetUserPausedDetails() const{ return m_userPausedDetails; } /** *

If the current status of the job is USER_PAUSED, specifies when the job was * paused and when the job or job run will expire and be cancelled if it isn't * resumed. This value is present only if the value for jobStatus is * USER_PAUSED.

*/ inline void SetUserPausedDetails(const UserPausedDetails& value) { m_userPausedDetails = value; } /** *

If the current status of the job is USER_PAUSED, specifies when the job was * paused and when the job or job run will expire and be cancelled if it isn't * resumed. This value is present only if the value for jobStatus is * USER_PAUSED.

*/ inline void SetUserPausedDetails(UserPausedDetails&& value) { m_userPausedDetails = std::move(value); } /** *

If the current status of the job is USER_PAUSED, specifies when the job was * paused and when the job or job run will expire and be cancelled if it isn't * resumed. This value is present only if the value for jobStatus is * USER_PAUSED.

*/ inline DescribeClassificationJobResult& WithUserPausedDetails(const UserPausedDetails& value) { SetUserPausedDetails(value); return *this;} /** *

If the current status of the job is USER_PAUSED, specifies when the job was * paused and when the job or job run will expire and be cancelled if it isn't * resumed. This value is present only if the value for jobStatus is * USER_PAUSED.

*/ inline DescribeClassificationJobResult& WithUserPausedDetails(UserPausedDetails&& value) { SetUserPausedDetails(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeClassificationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeClassificationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeClassificationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_allowListIds; Aws::String m_clientToken; Aws::Utils::DateTime m_createdAt; Aws::Vector m_customDataIdentifierIds; Aws::String m_description; bool m_initialRun; Aws::String m_jobArn; Aws::String m_jobId; JobStatus m_jobStatus; JobType m_jobType; LastRunErrorStatus m_lastRunErrorStatus; Aws::Utils::DateTime m_lastRunTime; Aws::Vector m_managedDataIdentifierIds; ManagedDataIdentifierSelector m_managedDataIdentifierSelector; Aws::String m_name; S3JobDefinition m_s3JobDefinition; int m_samplingPercentage; JobScheduleFrequency m_scheduleFrequency; Statistics m_statistics; Aws::Map m_tags; UserPausedDetails m_userPausedDetails; Aws::String m_requestId; }; } // namespace Model } // namespace Macie2 } // namespace Aws