/** * 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 ChimeSDKVoice { namespace Model { /** *

The result of a speaker search analysis.

See Also:

AWS * API Reference

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

The confidence score in the speaker search analysis.

*/ inline double GetConfidenceScore() const{ return m_confidenceScore; } /** *

The confidence score in the speaker search analysis.

*/ inline bool ConfidenceScoreHasBeenSet() const { return m_confidenceScoreHasBeenSet; } /** *

The confidence score in the speaker search analysis.

*/ inline void SetConfidenceScore(double value) { m_confidenceScoreHasBeenSet = true; m_confidenceScore = value; } /** *

The confidence score in the speaker search analysis.

*/ inline SpeakerSearchResult& WithConfidenceScore(double value) { SetConfidenceScore(value); return *this;} /** *

The voice profile ID.

*/ inline const Aws::String& GetVoiceProfileId() const{ return m_voiceProfileId; } /** *

The voice profile ID.

*/ inline bool VoiceProfileIdHasBeenSet() const { return m_voiceProfileIdHasBeenSet; } /** *

The voice profile ID.

*/ inline void SetVoiceProfileId(const Aws::String& value) { m_voiceProfileIdHasBeenSet = true; m_voiceProfileId = value; } /** *

The voice profile ID.

*/ inline void SetVoiceProfileId(Aws::String&& value) { m_voiceProfileIdHasBeenSet = true; m_voiceProfileId = std::move(value); } /** *

The voice profile ID.

*/ inline void SetVoiceProfileId(const char* value) { m_voiceProfileIdHasBeenSet = true; m_voiceProfileId.assign(value); } /** *

The voice profile ID.

*/ inline SpeakerSearchResult& WithVoiceProfileId(const Aws::String& value) { SetVoiceProfileId(value); return *this;} /** *

The voice profile ID.

*/ inline SpeakerSearchResult& WithVoiceProfileId(Aws::String&& value) { SetVoiceProfileId(std::move(value)); return *this;} /** *

The voice profile ID.

*/ inline SpeakerSearchResult& WithVoiceProfileId(const char* value) { SetVoiceProfileId(value); return *this;} private: double m_confidenceScore; bool m_confidenceScoreHasBeenSet = false; Aws::String m_voiceProfileId; bool m_voiceProfileIdHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws