/** * 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 namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CustomerProfiles { namespace Model { class GetIdentityResolutionJobResult { public: AWS_CUSTOMERPROFILES_API GetIdentityResolutionJobResult(); AWS_CUSTOMERPROFILES_API GetIdentityResolutionJobResult(const Aws::AmazonWebServiceResult& result); AWS_CUSTOMERPROFILES_API GetIdentityResolutionJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

*/ inline GetIdentityResolutionJobResult& 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 void SetJobId(const Aws::String& value) { m_jobId = value; } /** *

The unique identifier of the Identity Resolution Job.

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

The unique identifier of the Identity Resolution Job.

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

The unique identifier of the Identity Resolution Job.

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

The unique identifier of the Identity Resolution Job.

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

The unique identifier of the Identity Resolution Job.

*/ inline GetIdentityResolutionJobResult& 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 void SetStatus(const IdentityResolutionJobStatus& value) { 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_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 GetIdentityResolutionJobResult& 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 GetIdentityResolutionJobResult& WithStatus(IdentityResolutionJobStatus&& value) { SetStatus(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 void SetMessage(const Aws::String& value) { m_message = value; } /** *

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

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

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

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

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

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

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

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

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

*/ inline GetIdentityResolutionJobResult& WithMessage(const char* value) { SetMessage(value); return *this;} /** *

The timestamp of when the Identity Resolution Job was started or will be * started.

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

The timestamp of when the Identity Resolution Job was started or will be * started.

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

The timestamp of when the Identity Resolution Job was started or will be * started.

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

The timestamp of when the Identity Resolution Job was started or will be * started.

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

The timestamp of when the Identity Resolution Job was started or will be * started.

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

The timestamp of when the Identity Resolution Job was completed.

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

The timestamp of when the Identity Resolution Job was completed.

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

The timestamp of when the Identity Resolution Job was completed.

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

The timestamp of when the Identity Resolution Job was completed.

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

The timestamp of when the Identity Resolution Job was completed.

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

The timestamp of when the Identity Resolution Job was most recently * edited.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *

The timestamp of when the Identity Resolution Job was most recently * edited.

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

The timestamp of when the Identity Resolution Job was most recently * edited.

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

The timestamp of when the Identity Resolution Job was most recently * edited.

*/ inline GetIdentityResolutionJobResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *

The timestamp of when the Identity Resolution Job was most recently * edited.

*/ inline GetIdentityResolutionJobResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *

The timestamp of when the Identity Resolution Job will expire.

*/ inline const Aws::Utils::DateTime& GetJobExpirationTime() const{ return m_jobExpirationTime; } /** *

The timestamp of when the Identity Resolution Job will expire.

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

The timestamp of when the Identity Resolution Job will expire.

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

The timestamp of when the Identity Resolution Job will expire.

*/ inline GetIdentityResolutionJobResult& WithJobExpirationTime(const Aws::Utils::DateTime& value) { SetJobExpirationTime(value); return *this;} /** *

The timestamp of when the Identity Resolution Job will expire.

*/ inline GetIdentityResolutionJobResult& WithJobExpirationTime(Aws::Utils::DateTime&& value) { SetJobExpirationTime(std::move(value)); return *this;} /** *

Configuration settings for how to perform the auto-merging of profiles.

*/ inline const AutoMerging& GetAutoMerging() const{ return m_autoMerging; } /** *

Configuration settings for how to perform the auto-merging of profiles.

*/ inline void SetAutoMerging(const AutoMerging& value) { m_autoMerging = value; } /** *

Configuration settings for how to perform the auto-merging of profiles.

*/ inline void SetAutoMerging(AutoMerging&& value) { m_autoMerging = std::move(value); } /** *

Configuration settings for how to perform the auto-merging of profiles.

*/ inline GetIdentityResolutionJobResult& WithAutoMerging(const AutoMerging& value) { SetAutoMerging(value); return *this;} /** *

Configuration settings for how to perform the auto-merging of profiles.

*/ inline GetIdentityResolutionJobResult& WithAutoMerging(AutoMerging&& value) { SetAutoMerging(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 void SetExportingLocation(const ExportingLocation& value) { m_exportingLocation = value; } /** *

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

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

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

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

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

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

Statistics about the Identity Resolution Job.

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

Statistics about the Identity Resolution Job.

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

Statistics about the Identity Resolution Job.

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

Statistics about the Identity Resolution Job.

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

Statistics about the Identity Resolution Job.

*/ inline GetIdentityResolutionJobResult& WithJobStats(JobStats&& value) { SetJobStats(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 GetIdentityResolutionJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetIdentityResolutionJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetIdentityResolutionJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_domainName; Aws::String m_jobId; IdentityResolutionJobStatus m_status; Aws::String m_message; Aws::Utils::DateTime m_jobStartTime; Aws::Utils::DateTime m_jobEndTime; Aws::Utils::DateTime m_lastUpdatedAt; Aws::Utils::DateTime m_jobExpirationTime; AutoMerging m_autoMerging; ExportingLocation m_exportingLocation; JobStats m_jobStats; Aws::String m_requestId; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws