/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The fraud detection configuration to be used during the batch speaker
* enrollment job.See Also:
AWS
* API Reference
The action to take when the given speaker is flagged by the fraud detection
* system. The default value is FAIL
, which fails the speaker
* enrollment. Changing this value to IGNORE
results in the speaker
* being enrolled even if they are flagged by the fraud detection system.
The action to take when the given speaker is flagged by the fraud detection
* system. The default value is FAIL
, which fails the speaker
* enrollment. Changing this value to IGNORE
results in the speaker
* being enrolled even if they are flagged by the fraud detection system.
The action to take when the given speaker is flagged by the fraud detection
* system. The default value is FAIL
, which fails the speaker
* enrollment. Changing this value to IGNORE
results in the speaker
* being enrolled even if they are flagged by the fraud detection system.
The action to take when the given speaker is flagged by the fraud detection
* system. The default value is FAIL
, which fails the speaker
* enrollment. Changing this value to IGNORE
results in the speaker
* being enrolled even if they are flagged by the fraud detection system.
The action to take when the given speaker is flagged by the fraud detection
* system. The default value is FAIL
, which fails the speaker
* enrollment. Changing this value to IGNORE
results in the speaker
* being enrolled even if they are flagged by the fraud detection system.
The action to take when the given speaker is flagged by the fraud detection
* system. The default value is FAIL
, which fails the speaker
* enrollment. Changing this value to IGNORE
results in the speaker
* being enrolled even if they are flagged by the fraud detection system.
Threshold value for determining whether the speaker is a high risk to be * fraudulent. If the detected risk score calculated by Voice ID is greater than or * equal to the threshold, the speaker is considered a fraudster.
*/ inline int GetRiskThreshold() const{ return m_riskThreshold; } /** *Threshold value for determining whether the speaker is a high risk to be * fraudulent. If the detected risk score calculated by Voice ID is greater than or * equal to the threshold, the speaker is considered a fraudster.
*/ inline bool RiskThresholdHasBeenSet() const { return m_riskThresholdHasBeenSet; } /** *Threshold value for determining whether the speaker is a high risk to be * fraudulent. If the detected risk score calculated by Voice ID is greater than or * equal to the threshold, the speaker is considered a fraudster.
*/ inline void SetRiskThreshold(int value) { m_riskThresholdHasBeenSet = true; m_riskThreshold = value; } /** *Threshold value for determining whether the speaker is a high risk to be * fraudulent. If the detected risk score calculated by Voice ID is greater than or * equal to the threshold, the speaker is considered a fraudster.
*/ inline EnrollmentJobFraudDetectionConfig& WithRiskThreshold(int value) { SetRiskThreshold(value); return *this;} /** *The identifier of watchlists against which fraud detection is performed.
*/ inline const Aws::VectorThe identifier of watchlists against which fraud detection is performed.
*/ inline bool WatchlistIdsHasBeenSet() const { return m_watchlistIdsHasBeenSet; } /** *The identifier of watchlists against which fraud detection is performed.
*/ inline void SetWatchlistIds(const Aws::VectorThe identifier of watchlists against which fraud detection is performed.
*/ inline void SetWatchlistIds(Aws::VectorThe identifier of watchlists against which fraud detection is performed.
*/ inline EnrollmentJobFraudDetectionConfig& WithWatchlistIds(const Aws::VectorThe identifier of watchlists against which fraud detection is performed.
*/ inline EnrollmentJobFraudDetectionConfig& WithWatchlistIds(Aws::VectorThe identifier of watchlists against which fraud detection is performed.
*/ inline EnrollmentJobFraudDetectionConfig& AddWatchlistIds(const Aws::String& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds.push_back(value); return *this; } /** *The identifier of watchlists against which fraud detection is performed.
*/ inline EnrollmentJobFraudDetectionConfig& AddWatchlistIds(Aws::String&& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds.push_back(std::move(value)); return *this; } /** *The identifier of watchlists against which fraud detection is performed.
*/ inline EnrollmentJobFraudDetectionConfig& AddWatchlistIds(const char* value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds.push_back(value); return *this; } private: FraudDetectionAction m_fraudDetectionAction; bool m_fraudDetectionActionHasBeenSet = false; int m_riskThreshold; bool m_riskThresholdHasBeenSet = false; Aws::Vector