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

Details regarding various fraud risk analyses performed against the current * session state and streamed audio of the speaker.

See Also:

AWS * API Reference

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

The details resulting from 'Known Fraudster Risk' analysis of the * speaker.

*/ inline const KnownFraudsterRisk& GetKnownFraudsterRisk() const{ return m_knownFraudsterRisk; } /** *

The details resulting from 'Known Fraudster Risk' analysis of the * speaker.

*/ inline bool KnownFraudsterRiskHasBeenSet() const { return m_knownFraudsterRiskHasBeenSet; } /** *

The details resulting from 'Known Fraudster Risk' analysis of the * speaker.

*/ inline void SetKnownFraudsterRisk(const KnownFraudsterRisk& value) { m_knownFraudsterRiskHasBeenSet = true; m_knownFraudsterRisk = value; } /** *

The details resulting from 'Known Fraudster Risk' analysis of the * speaker.

*/ inline void SetKnownFraudsterRisk(KnownFraudsterRisk&& value) { m_knownFraudsterRiskHasBeenSet = true; m_knownFraudsterRisk = std::move(value); } /** *

The details resulting from 'Known Fraudster Risk' analysis of the * speaker.

*/ inline FraudRiskDetails& WithKnownFraudsterRisk(const KnownFraudsterRisk& value) { SetKnownFraudsterRisk(value); return *this;} /** *

The details resulting from 'Known Fraudster Risk' analysis of the * speaker.

*/ inline FraudRiskDetails& WithKnownFraudsterRisk(KnownFraudsterRisk&& value) { SetKnownFraudsterRisk(std::move(value)); return *this;} /** *

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

*/ inline const VoiceSpoofingRisk& GetVoiceSpoofingRisk() const{ return m_voiceSpoofingRisk; } /** *

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

*/ inline bool VoiceSpoofingRiskHasBeenSet() const { return m_voiceSpoofingRiskHasBeenSet; } /** *

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

*/ inline void SetVoiceSpoofingRisk(const VoiceSpoofingRisk& value) { m_voiceSpoofingRiskHasBeenSet = true; m_voiceSpoofingRisk = value; } /** *

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

*/ inline void SetVoiceSpoofingRisk(VoiceSpoofingRisk&& value) { m_voiceSpoofingRiskHasBeenSet = true; m_voiceSpoofingRisk = std::move(value); } /** *

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

*/ inline FraudRiskDetails& WithVoiceSpoofingRisk(const VoiceSpoofingRisk& value) { SetVoiceSpoofingRisk(value); return *this;} /** *

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

*/ inline FraudRiskDetails& WithVoiceSpoofingRisk(VoiceSpoofingRisk&& value) { SetVoiceSpoofingRisk(std::move(value)); return *this;} private: KnownFraudsterRisk m_knownFraudsterRisk; bool m_knownFraudsterRiskHasBeenSet = false; VoiceSpoofingRisk m_voiceSpoofingRisk; bool m_voiceSpoofingRiskHasBeenSet = false; }; } // namespace Model } // namespace VoiceID } // namespace Aws