/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration used for performing fraud detection over a speaker during a
* session.See Also:
AWS
* API Reference
Threshold value for determining whether the speaker is a fraudster. If the * detected risk score calculated by Voice ID is higher than the threshold, the * speaker is considered a fraudster.
*/ inline int GetRiskThreshold() const{ return m_riskThreshold; } /** *Threshold value for determining whether the speaker is a fraudster. If the * detected risk score calculated by Voice ID is higher than the threshold, the * speaker is considered a fraudster.
*/ inline bool RiskThresholdHasBeenSet() const { return m_riskThresholdHasBeenSet; } /** *Threshold value for determining whether the speaker is a fraudster. If the * detected risk score calculated by Voice ID is higher than 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 fraudster. If the * detected risk score calculated by Voice ID is higher than the threshold, the * speaker is considered a fraudster.
*/ inline FraudDetectionConfiguration& WithRiskThreshold(int value) { SetRiskThreshold(value); return *this;} /** *The identifier of the watchlist against which fraud detection is performed. *
*/ inline const Aws::String& GetWatchlistId() const{ return m_watchlistId; } /** *The identifier of the watchlist against which fraud detection is performed. *
*/ inline bool WatchlistIdHasBeenSet() const { return m_watchlistIdHasBeenSet; } /** *The identifier of the watchlist against which fraud detection is performed. *
*/ inline void SetWatchlistId(const Aws::String& value) { m_watchlistIdHasBeenSet = true; m_watchlistId = value; } /** *The identifier of the watchlist against which fraud detection is performed. *
*/ inline void SetWatchlistId(Aws::String&& value) { m_watchlistIdHasBeenSet = true; m_watchlistId = std::move(value); } /** *The identifier of the watchlist against which fraud detection is performed. *
*/ inline void SetWatchlistId(const char* value) { m_watchlistIdHasBeenSet = true; m_watchlistId.assign(value); } /** *The identifier of the watchlist against which fraud detection is performed. *
*/ inline FraudDetectionConfiguration& WithWatchlistId(const Aws::String& value) { SetWatchlistId(value); return *this;} /** *The identifier of the watchlist against which fraud detection is performed. *
*/ inline FraudDetectionConfiguration& WithWatchlistId(Aws::String&& value) { SetWatchlistId(std::move(value)); return *this;} /** *The identifier of the watchlist against which fraud detection is performed. *
*/ inline FraudDetectionConfiguration& WithWatchlistId(const char* value) { SetWatchlistId(value); return *this;} private: int m_riskThreshold; bool m_riskThresholdHasBeenSet = false; Aws::String m_watchlistId; bool m_watchlistIdHasBeenSet = false; }; } // namespace Model } // namespace VoiceID } // namespace Aws