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

The details resulting from 'Voice Spoofing Risk' analysis of the * speaker.

See Also:

AWS * API Reference

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

The score indicating the likelihood of speaker’s voice being spoofed.

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

The score indicating the likelihood of speaker’s voice being spoofed.

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

The score indicating the likelihood of speaker’s voice being spoofed.

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

The score indicating the likelihood of speaker’s voice being spoofed.

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