/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace VoiceID { namespace Model { /** *

Contains details produced as a result of performing known fraudster risk * analysis on a speaker.

See Also:

AWS * API Reference

*/ class KnownFraudsterRisk { public: AWS_VOICEID_API KnownFraudsterRisk(); AWS_VOICEID_API KnownFraudsterRisk(Aws::Utils::Json::JsonView jsonValue); AWS_VOICEID_API KnownFraudsterRisk& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The identifier of the fraudster that is the closest match to the speaker. If * there are no fraudsters registered in a given domain, or if there are no * fraudsters with a non-zero RiskScore, this value is null.

*/ inline const Aws::String& GetGeneratedFraudsterId() const{ return m_generatedFraudsterId; } /** *

The identifier of the fraudster that is the closest match to the speaker. If * there are no fraudsters registered in a given domain, or if there are no * fraudsters with a non-zero RiskScore, this value is null.

*/ inline bool GeneratedFraudsterIdHasBeenSet() const { return m_generatedFraudsterIdHasBeenSet; } /** *

The identifier of the fraudster that is the closest match to the speaker. If * there are no fraudsters registered in a given domain, or if there are no * fraudsters with a non-zero RiskScore, this value is null.

*/ inline void SetGeneratedFraudsterId(const Aws::String& value) { m_generatedFraudsterIdHasBeenSet = true; m_generatedFraudsterId = value; } /** *

The identifier of the fraudster that is the closest match to the speaker. If * there are no fraudsters registered in a given domain, or if there are no * fraudsters with a non-zero RiskScore, this value is null.

*/ inline void SetGeneratedFraudsterId(Aws::String&& value) { m_generatedFraudsterIdHasBeenSet = true; m_generatedFraudsterId = std::move(value); } /** *

The identifier of the fraudster that is the closest match to the speaker. If * there are no fraudsters registered in a given domain, or if there are no * fraudsters with a non-zero RiskScore, this value is null.

*/ inline void SetGeneratedFraudsterId(const char* value) { m_generatedFraudsterIdHasBeenSet = true; m_generatedFraudsterId.assign(value); } /** *

The identifier of the fraudster that is the closest match to the speaker. If * there are no fraudsters registered in a given domain, or if there are no * fraudsters with a non-zero RiskScore, this value is null.

*/ inline KnownFraudsterRisk& WithGeneratedFraudsterId(const Aws::String& value) { SetGeneratedFraudsterId(value); return *this;} /** *

The identifier of the fraudster that is the closest match to the speaker. If * there are no fraudsters registered in a given domain, or if there are no * fraudsters with a non-zero RiskScore, this value is null.

*/ inline KnownFraudsterRisk& WithGeneratedFraudsterId(Aws::String&& value) { SetGeneratedFraudsterId(std::move(value)); return *this;} /** *

The identifier of the fraudster that is the closest match to the speaker. If * there are no fraudsters registered in a given domain, or if there are no * fraudsters with a non-zero RiskScore, this value is null.

*/ inline KnownFraudsterRisk& WithGeneratedFraudsterId(const char* value) { SetGeneratedFraudsterId(value); return *this;} /** *

The score indicating the likelihood the speaker is a known fraudster.

*/ inline int GetRiskScore() const{ return m_riskScore; } /** *

The score indicating the likelihood the speaker is a known fraudster.

*/ inline bool RiskScoreHasBeenSet() const { return m_riskScoreHasBeenSet; } /** *

The score indicating the likelihood the speaker is a known fraudster.

*/ inline void SetRiskScore(int value) { m_riskScoreHasBeenSet = true; m_riskScore = value; } /** *

The score indicating the likelihood the speaker is a known fraudster.

*/ inline KnownFraudsterRisk& WithRiskScore(int value) { SetRiskScore(value); return *this;} private: Aws::String m_generatedFraudsterId; bool m_generatedFraudsterIdHasBeenSet = false; int m_riskScore; bool m_riskScoreHasBeenSet = false; }; } // namespace Model } // namespace VoiceID } // namespace Aws