/*
* 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
{
///
/// The Match group object.
///
public partial class MatchItem
{
private double? _confidenceScore;
private string _matchId;
private List _profileIds = new List();
///
/// Gets and sets the property ConfidenceScore.
///
/// A number between 0 and 1, where a higher score means higher similarity. Examining
/// match confidence scores lets you distinguish between groups of similar records in
/// which the system is highly confident (which you may decide to merge), groups of similar
/// records about which the system is uncertain (which you may decide to have reviewed
/// by a human), and groups of similar records that the system deems to be unlikely (which
/// you may decide to reject). Given confidence scores vary as per the data input, it
/// should not be used an absolute measure of matching quality.
///
///
public double ConfidenceScore
{
get { return this._confidenceScore.GetValueOrDefault(); }
set { this._confidenceScore = value; }
}
// Check to see if ConfidenceScore property is set
internal bool IsSetConfidenceScore()
{
return this._confidenceScore.HasValue;
}
///
/// Gets and sets the property MatchId.
///
/// The unique identifiers for this group of profiles that match.
///
///
[AWSProperty(Min=1, Max=255)]
public string MatchId
{
get { return this._matchId; }
set { this._matchId = value; }
}
// Check to see if MatchId property is set
internal bool IsSetMatchId()
{
return this._matchId != null;
}
///
/// Gets and sets the property ProfileIds.
///
/// A list of identifiers for profiles that match.
///
///
public List ProfileIds
{
get { return this._profileIds; }
set { this._profileIds = value; }
}
// Check to see if ProfileIds property is set
internal bool IsSetProfileIds()
{
return this._profileIds != null && this._profileIds.Count > 0;
}
}
}