/** * 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 namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CustomerProfiles { namespace Model { /** *

Information about the Identity Resolution Job.

See Also:

AWS * API Reference

*/ class IdentityResolutionJob { public: AWS_CUSTOMERPROFILES_API IdentityResolutionJob(); AWS_CUSTOMERPROFILES_API IdentityResolutionJob(Aws::Utils::Json::JsonView jsonValue); AWS_CUSTOMERPROFILES_API IdentityResolutionJob& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique name of the domain.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

The unique name of the domain.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

The unique name of the domain.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

The unique name of the domain.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

The unique name of the domain.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

The unique name of the domain.

*/ inline IdentityResolutionJob& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

The unique name of the domain.

*/ inline IdentityResolutionJob& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

The unique name of the domain.

*/ inline IdentityResolutionJob& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

The unique identifier of the Identity Resolution Job.

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

The unique identifier of the Identity Resolution Job.

*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *

The unique identifier of the Identity Resolution Job.

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

The unique identifier of the Identity Resolution Job.

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

The unique identifier of the Identity Resolution Job.

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

The unique identifier of the Identity Resolution Job.

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

The unique identifier of the Identity Resolution Job.

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

The unique identifier of the Identity Resolution Job.

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

The status of the Identity Resolution Job.

  • * PENDING: The Identity Resolution Job is scheduled but has not * started yet. If you turn off the Identity Resolution feature in your domain, * jobs in the PENDING state are deleted.

  • * PREPROCESSING: The Identity Resolution Job is loading your * data.

  • FIND_MATCHING: The Identity Resolution Job * is using the machine learning model to identify profiles that belong to the same * matching group.

  • MERGING: The Identity Resolution * Job is merging duplicate profiles.

  • COMPLETED: * The Identity Resolution Job completed successfully.

  • * PARTIAL_SUCCESS: There's a system error and not all of the data is * merged. The Identity Resolution Job writes a message indicating the source of * the problem.

  • FAILED: The Identity Resolution Job * did not merge any data. It writes a message indicating the source of the * problem.

*/ inline const IdentityResolutionJobStatus& GetStatus() const{ return m_status; } /** *

The status of the Identity Resolution Job.

  • * PENDING: The Identity Resolution Job is scheduled but has not * started yet. If you turn off the Identity Resolution feature in your domain, * jobs in the PENDING state are deleted.

  • * PREPROCESSING: The Identity Resolution Job is loading your * data.

  • FIND_MATCHING: The Identity Resolution Job * is using the machine learning model to identify profiles that belong to the same * matching group.

  • MERGING: The Identity Resolution * Job is merging duplicate profiles.

  • COMPLETED: * The Identity Resolution Job completed successfully.

  • * PARTIAL_SUCCESS: There's a system error and not all of the data is * merged. The Identity Resolution Job writes a message indicating the source of * the problem.

  • FAILED: The Identity Resolution Job * did not merge any data. It writes a message indicating the source of the * problem.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the Identity Resolution Job.

  • * PENDING: The Identity Resolution Job is scheduled but has not * started yet. If you turn off the Identity Resolution feature in your domain, * jobs in the PENDING state are deleted.

  • * PREPROCESSING: The Identity Resolution Job is loading your * data.

  • FIND_MATCHING: The Identity Resolution Job * is using the machine learning model to identify profiles that belong to the same * matching group.

  • MERGING: The Identity Resolution * Job is merging duplicate profiles.

  • COMPLETED: * The Identity Resolution Job completed successfully.

  • * PARTIAL_SUCCESS: There's a system error and not all of the data is * merged. The Identity Resolution Job writes a message indicating the source of * the problem.

  • FAILED: The Identity Resolution Job * did not merge any data. It writes a message indicating the source of the * problem.

*/ inline void SetStatus(const IdentityResolutionJobStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the Identity Resolution Job.

  • * PENDING: The Identity Resolution Job is scheduled but has not * started yet. If you turn off the Identity Resolution feature in your domain, * jobs in the PENDING state are deleted.

  • * PREPROCESSING: The Identity Resolution Job is loading your * data.

  • FIND_MATCHING: The Identity Resolution Job * is using the machine learning model to identify profiles that belong to the same * matching group.

  • MERGING: The Identity Resolution * Job is merging duplicate profiles.

  • COMPLETED: * The Identity Resolution Job completed successfully.

  • * PARTIAL_SUCCESS: There's a system error and not all of the data is * merged. The Identity Resolution Job writes a message indicating the source of * the problem.

  • FAILED: The Identity Resolution Job * did not merge any data. It writes a message indicating the source of the * problem.

*/ inline void SetStatus(IdentityResolutionJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the Identity Resolution Job.

  • * PENDING: The Identity Resolution Job is scheduled but has not * started yet. If you turn off the Identity Resolution feature in your domain, * jobs in the PENDING state are deleted.

  • * PREPROCESSING: The Identity Resolution Job is loading your * data.

  • FIND_MATCHING: The Identity Resolution Job * is using the machine learning model to identify profiles that belong to the same * matching group.

  • MERGING: The Identity Resolution * Job is merging duplicate profiles.

  • COMPLETED: * The Identity Resolution Job completed successfully.

  • * PARTIAL_SUCCESS: There's a system error and not all of the data is * merged. The Identity Resolution Job writes a message indicating the source of * the problem.

  • FAILED: The Identity Resolution Job * did not merge any data. It writes a message indicating the source of the * problem.

*/ inline IdentityResolutionJob& WithStatus(const IdentityResolutionJobStatus& value) { SetStatus(value); return *this;} /** *

The status of the Identity Resolution Job.

  • * PENDING: The Identity Resolution Job is scheduled but has not * started yet. If you turn off the Identity Resolution feature in your domain, * jobs in the PENDING state are deleted.

  • * PREPROCESSING: The Identity Resolution Job is loading your * data.

  • FIND_MATCHING: The Identity Resolution Job * is using the machine learning model to identify profiles that belong to the same * matching group.

  • MERGING: The Identity Resolution * Job is merging duplicate profiles.

  • COMPLETED: * The Identity Resolution Job completed successfully.

  • * PARTIAL_SUCCESS: There's a system error and not all of the data is * merged. The Identity Resolution Job writes a message indicating the source of * the problem.

  • FAILED: The Identity Resolution Job * did not merge any data. It writes a message indicating the source of the * problem.

*/ inline IdentityResolutionJob& WithStatus(IdentityResolutionJobStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The timestamp of when the job was started or will be started.

*/ inline const Aws::Utils::DateTime& GetJobStartTime() const{ return m_jobStartTime; } /** *

The timestamp of when the job was started or will be started.

*/ inline bool JobStartTimeHasBeenSet() const { return m_jobStartTimeHasBeenSet; } /** *

The timestamp of when the job was started or will be started.

*/ inline void SetJobStartTime(const Aws::Utils::DateTime& value) { m_jobStartTimeHasBeenSet = true; m_jobStartTime = value; } /** *

The timestamp of when the job was started or will be started.

*/ inline void SetJobStartTime(Aws::Utils::DateTime&& value) { m_jobStartTimeHasBeenSet = true; m_jobStartTime = std::move(value); } /** *

The timestamp of when the job was started or will be started.

*/ inline IdentityResolutionJob& WithJobStartTime(const Aws::Utils::DateTime& value) { SetJobStartTime(value); return *this;} /** *

The timestamp of when the job was started or will be started.

*/ inline IdentityResolutionJob& WithJobStartTime(Aws::Utils::DateTime&& value) { SetJobStartTime(std::move(value)); return *this;} /** *

The timestamp of when the job was completed.

*/ inline const Aws::Utils::DateTime& GetJobEndTime() const{ return m_jobEndTime; } /** *

The timestamp of when the job was completed.

*/ inline bool JobEndTimeHasBeenSet() const { return m_jobEndTimeHasBeenSet; } /** *

The timestamp of when the job was completed.

*/ inline void SetJobEndTime(const Aws::Utils::DateTime& value) { m_jobEndTimeHasBeenSet = true; m_jobEndTime = value; } /** *

The timestamp of when the job was completed.

*/ inline void SetJobEndTime(Aws::Utils::DateTime&& value) { m_jobEndTimeHasBeenSet = true; m_jobEndTime = std::move(value); } /** *

The timestamp of when the job was completed.

*/ inline IdentityResolutionJob& WithJobEndTime(const Aws::Utils::DateTime& value) { SetJobEndTime(value); return *this;} /** *

The timestamp of when the job was completed.

*/ inline IdentityResolutionJob& WithJobEndTime(Aws::Utils::DateTime&& value) { SetJobEndTime(std::move(value)); return *this;} /** *

Statistics about an Identity Resolution Job.

*/ inline const JobStats& GetJobStats() const{ return m_jobStats; } /** *

Statistics about an Identity Resolution Job.

*/ inline bool JobStatsHasBeenSet() const { return m_jobStatsHasBeenSet; } /** *

Statistics about an Identity Resolution Job.

*/ inline void SetJobStats(const JobStats& value) { m_jobStatsHasBeenSet = true; m_jobStats = value; } /** *

Statistics about an Identity Resolution Job.

*/ inline void SetJobStats(JobStats&& value) { m_jobStatsHasBeenSet = true; m_jobStats = std::move(value); } /** *

Statistics about an Identity Resolution Job.

*/ inline IdentityResolutionJob& WithJobStats(const JobStats& value) { SetJobStats(value); return *this;} /** *

Statistics about an Identity Resolution Job.

*/ inline IdentityResolutionJob& WithJobStats(JobStats&& value) { SetJobStats(std::move(value)); return *this;} /** *

The S3 location where the Identity Resolution Job writes result files.

*/ inline const ExportingLocation& GetExportingLocation() const{ return m_exportingLocation; } /** *

The S3 location where the Identity Resolution Job writes result files.

*/ inline bool ExportingLocationHasBeenSet() const { return m_exportingLocationHasBeenSet; } /** *

The S3 location where the Identity Resolution Job writes result files.

*/ inline void SetExportingLocation(const ExportingLocation& value) { m_exportingLocationHasBeenSet = true; m_exportingLocation = value; } /** *

The S3 location where the Identity Resolution Job writes result files.

*/ inline void SetExportingLocation(ExportingLocation&& value) { m_exportingLocationHasBeenSet = true; m_exportingLocation = std::move(value); } /** *

The S3 location where the Identity Resolution Job writes result files.

*/ inline IdentityResolutionJob& WithExportingLocation(const ExportingLocation& value) { SetExportingLocation(value); return *this;} /** *

The S3 location where the Identity Resolution Job writes result files.

*/ inline IdentityResolutionJob& WithExportingLocation(ExportingLocation&& value) { SetExportingLocation(std::move(value)); return *this;} /** *

The error messages that are generated when the Identity Resolution Job * runs.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

The error messages that are generated when the Identity Resolution Job * runs.

*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *

The error messages that are generated when the Identity Resolution Job * runs.

*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *

The error messages that are generated when the Identity Resolution Job * runs.

*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *

The error messages that are generated when the Identity Resolution Job * runs.

*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *

The error messages that are generated when the Identity Resolution Job * runs.

*/ inline IdentityResolutionJob& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

The error messages that are generated when the Identity Resolution Job * runs.

*/ inline IdentityResolutionJob& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

The error messages that are generated when the Identity Resolution Job * runs.

*/ inline IdentityResolutionJob& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_jobId; bool m_jobIdHasBeenSet = false; IdentityResolutionJobStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_jobStartTime; bool m_jobStartTimeHasBeenSet = false; Aws::Utils::DateTime m_jobEndTime; bool m_jobEndTimeHasBeenSet = false; JobStats m_jobStats; bool m_jobStatsHasBeenSet = false; ExportingLocation m_exportingLocation; bool m_exportingLocationHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws