/*
* 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 voice-id-2021-09-27.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.VoiceID.Model
{
///
/// The registration configuration to be used during the batch fraudster registration
/// job.
///
public partial class RegistrationConfig
{
private DuplicateRegistrationAction _duplicateRegistrationAction;
private int? _fraudsterSimilarityThreshold;
private List _watchlistIds = new List();
///
/// Gets and sets the property DuplicateRegistrationAction.
///
/// The action to take when a fraudster is identified as a duplicate. The default action
/// is SKIP
, which skips registering the duplicate fraudster. Setting the
/// value to REGISTER_AS_NEW
always registers a new fraudster into the specified
/// domain.
///
///
public DuplicateRegistrationAction DuplicateRegistrationAction
{
get { return this._duplicateRegistrationAction; }
set { this._duplicateRegistrationAction = value; }
}
// Check to see if DuplicateRegistrationAction property is set
internal bool IsSetDuplicateRegistrationAction()
{
return this._duplicateRegistrationAction != null;
}
///
/// Gets and sets the property FraudsterSimilarityThreshold.
///
/// The minimum similarity score between the new and old fraudsters in order to consider
/// the new fraudster a duplicate.
///
///
[AWSProperty(Min=0, Max=100)]
public int FraudsterSimilarityThreshold
{
get { return this._fraudsterSimilarityThreshold.GetValueOrDefault(); }
set { this._fraudsterSimilarityThreshold = value; }
}
// Check to see if FraudsterSimilarityThreshold property is set
internal bool IsSetFraudsterSimilarityThreshold()
{
return this._fraudsterSimilarityThreshold.HasValue;
}
///
/// Gets and sets the property WatchlistIds.
///
/// The identifiers of watchlists that a fraudster is registered to. If a watchlist isn't
/// provided, the fraudsters are registered to the default watchlist.
///
///
[AWSProperty(Min=1, Max=1)]
public List WatchlistIds
{
get { return this._watchlistIds; }
set { this._watchlistIds = value; }
}
// Check to see if WatchlistIds property is set
internal bool IsSetWatchlistIds()
{
return this._watchlistIds != null && this._watchlistIds.Count > 0;
}
}
}