/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the customer-profiles-2020-08-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CustomerProfiles.Model
{
///
/// Information about the Identity Resolution Job.
///
public partial class IdentityResolutionJob
{
private string _domainName;
private ExportingLocation _exportingLocation;
private DateTime? _jobEndTime;
private string _jobId;
private DateTime? _jobStartTime;
private JobStats _jobStats;
private string _message;
private IdentityResolutionJobStatus _status;
///
/// Gets and sets the property DomainName.
///
/// The unique name of the domain.
///
///
[AWSProperty(Min=1, Max=64)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != null;
}
///
/// Gets and sets the property ExportingLocation.
///
/// The S3 location where the Identity Resolution Job writes result files.
///
///
public ExportingLocation ExportingLocation
{
get { return this._exportingLocation; }
set { this._exportingLocation = value; }
}
// Check to see if ExportingLocation property is set
internal bool IsSetExportingLocation()
{
return this._exportingLocation != null;
}
///
/// Gets and sets the property JobEndTime.
///
/// The timestamp of when the job was completed.
///
///
public DateTime JobEndTime
{
get { return this._jobEndTime.GetValueOrDefault(); }
set { this._jobEndTime = value; }
}
// Check to see if JobEndTime property is set
internal bool IsSetJobEndTime()
{
return this._jobEndTime.HasValue;
}
///
/// Gets and sets the property JobId.
///
/// The unique identifier of the Identity Resolution Job.
///
///
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
///
/// Gets and sets the property JobStartTime.
///
/// The timestamp of when the job was started or will be started.
///
///
public DateTime JobStartTime
{
get { return this._jobStartTime.GetValueOrDefault(); }
set { this._jobStartTime = value; }
}
// Check to see if JobStartTime property is set
internal bool IsSetJobStartTime()
{
return this._jobStartTime.HasValue;
}
///
/// Gets and sets the property JobStats.
///
/// Statistics about an Identity Resolution Job.
///
///
public JobStats JobStats
{
get { return this._jobStats; }
set { this._jobStats = value; }
}
// Check to see if JobStats property is set
internal bool IsSetJobStats()
{
return this._jobStats != null;
}
///
/// Gets and sets the property Message.
///
/// The error messages that are generated when the Identity Resolution Job runs.
///
///
[AWSProperty(Max=2048)]
public string Message
{
get { return this._message; }
set { this._message = value; }
}
// Check to see if Message property is set
internal bool IsSetMessage()
{
return this._message != null;
}
///
/// Gets and sets the property 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.
///
///
///
public IdentityResolutionJobStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}