/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The authentication result produced by Voice ID, processed against the current
* session state and streamed audio of the speaker.See Also:
AWS
* API Reference
A timestamp of when audio aggregation ended for this authentication * result.
*/ inline const Aws::Utils::DateTime& GetAudioAggregationEndedAt() const{ return m_audioAggregationEndedAt; } /** *A timestamp of when audio aggregation ended for this authentication * result.
*/ inline bool AudioAggregationEndedAtHasBeenSet() const { return m_audioAggregationEndedAtHasBeenSet; } /** *A timestamp of when audio aggregation ended for this authentication * result.
*/ inline void SetAudioAggregationEndedAt(const Aws::Utils::DateTime& value) { m_audioAggregationEndedAtHasBeenSet = true; m_audioAggregationEndedAt = value; } /** *A timestamp of when audio aggregation ended for this authentication * result.
*/ inline void SetAudioAggregationEndedAt(Aws::Utils::DateTime&& value) { m_audioAggregationEndedAtHasBeenSet = true; m_audioAggregationEndedAt = std::move(value); } /** *A timestamp of when audio aggregation ended for this authentication * result.
*/ inline AuthenticationResult& WithAudioAggregationEndedAt(const Aws::Utils::DateTime& value) { SetAudioAggregationEndedAt(value); return *this;} /** *A timestamp of when audio aggregation ended for this authentication * result.
*/ inline AuthenticationResult& WithAudioAggregationEndedAt(Aws::Utils::DateTime&& value) { SetAudioAggregationEndedAt(std::move(value)); return *this;} /** *A timestamp of when audio aggregation started for this authentication * result.
*/ inline const Aws::Utils::DateTime& GetAudioAggregationStartedAt() const{ return m_audioAggregationStartedAt; } /** *A timestamp of when audio aggregation started for this authentication * result.
*/ inline bool AudioAggregationStartedAtHasBeenSet() const { return m_audioAggregationStartedAtHasBeenSet; } /** *A timestamp of when audio aggregation started for this authentication * result.
*/ inline void SetAudioAggregationStartedAt(const Aws::Utils::DateTime& value) { m_audioAggregationStartedAtHasBeenSet = true; m_audioAggregationStartedAt = value; } /** *A timestamp of when audio aggregation started for this authentication * result.
*/ inline void SetAudioAggregationStartedAt(Aws::Utils::DateTime&& value) { m_audioAggregationStartedAtHasBeenSet = true; m_audioAggregationStartedAt = std::move(value); } /** *A timestamp of when audio aggregation started for this authentication * result.
*/ inline AuthenticationResult& WithAudioAggregationStartedAt(const Aws::Utils::DateTime& value) { SetAudioAggregationStartedAt(value); return *this;} /** *A timestamp of when audio aggregation started for this authentication * result.
*/ inline AuthenticationResult& WithAudioAggregationStartedAt(Aws::Utils::DateTime&& value) { SetAudioAggregationStartedAt(std::move(value)); return *this;} /** *The unique identifier for this authentication result. Because there can be
* multiple authentications for a given session, this field helps to identify if
* the returned result is from a previous streaming activity or a new result. Note
* that in absence of any new streaming activity, AcceptanceThreshold
* changes, or SpeakerId
changes, Voice ID always returns cached
* Authentication Result for this API.
The unique identifier for this authentication result. Because there can be
* multiple authentications for a given session, this field helps to identify if
* the returned result is from a previous streaming activity or a new result. Note
* that in absence of any new streaming activity, AcceptanceThreshold
* changes, or SpeakerId
changes, Voice ID always returns cached
* Authentication Result for this API.
The unique identifier for this authentication result. Because there can be
* multiple authentications for a given session, this field helps to identify if
* the returned result is from a previous streaming activity or a new result. Note
* that in absence of any new streaming activity, AcceptanceThreshold
* changes, or SpeakerId
changes, Voice ID always returns cached
* Authentication Result for this API.
The unique identifier for this authentication result. Because there can be
* multiple authentications for a given session, this field helps to identify if
* the returned result is from a previous streaming activity or a new result. Note
* that in absence of any new streaming activity, AcceptanceThreshold
* changes, or SpeakerId
changes, Voice ID always returns cached
* Authentication Result for this API.
The unique identifier for this authentication result. Because there can be
* multiple authentications for a given session, this field helps to identify if
* the returned result is from a previous streaming activity or a new result. Note
* that in absence of any new streaming activity, AcceptanceThreshold
* changes, or SpeakerId
changes, Voice ID always returns cached
* Authentication Result for this API.
The unique identifier for this authentication result. Because there can be
* multiple authentications for a given session, this field helps to identify if
* the returned result is from a previous streaming activity or a new result. Note
* that in absence of any new streaming activity, AcceptanceThreshold
* changes, or SpeakerId
changes, Voice ID always returns cached
* Authentication Result for this API.
The unique identifier for this authentication result. Because there can be
* multiple authentications for a given session, this field helps to identify if
* the returned result is from a previous streaming activity or a new result. Note
* that in absence of any new streaming activity, AcceptanceThreshold
* changes, or SpeakerId
changes, Voice ID always returns cached
* Authentication Result for this API.
The unique identifier for this authentication result. Because there can be
* multiple authentications for a given session, this field helps to identify if
* the returned result is from a previous streaming activity or a new result. Note
* that in absence of any new streaming activity, AcceptanceThreshold
* changes, or SpeakerId
changes, Voice ID always returns cached
* Authentication Result for this API.
The AuthenticationConfiguration
used to generate this
* authentication result.
The AuthenticationConfiguration
used to generate this
* authentication result.
The AuthenticationConfiguration
used to generate this
* authentication result.
The AuthenticationConfiguration
used to generate this
* authentication result.
The AuthenticationConfiguration
used to generate this
* authentication result.
The AuthenticationConfiguration
used to generate this
* authentication result.
The client-provided identifier for the speaker whose authentication result is
* produced. Only present if a SpeakerId
is provided for the
* session.
The client-provided identifier for the speaker whose authentication result is
* produced. Only present if a SpeakerId
is provided for the
* session.
The client-provided identifier for the speaker whose authentication result is
* produced. Only present if a SpeakerId
is provided for the
* session.
The client-provided identifier for the speaker whose authentication result is
* produced. Only present if a SpeakerId
is provided for the
* session.
The client-provided identifier for the speaker whose authentication result is
* produced. Only present if a SpeakerId
is provided for the
* session.
The client-provided identifier for the speaker whose authentication result is
* produced. Only present if a SpeakerId
is provided for the
* session.
The client-provided identifier for the speaker whose authentication result is
* produced. Only present if a SpeakerId
is provided for the
* session.
The client-provided identifier for the speaker whose authentication result is
* produced. Only present if a SpeakerId
is provided for the
* session.
The authentication decision produced by Voice ID, processed against the * current session state and streamed audio of the speaker.
*/ inline const AuthenticationDecision& GetDecision() const{ return m_decision; } /** *The authentication decision produced by Voice ID, processed against the * current session state and streamed audio of the speaker.
*/ inline bool DecisionHasBeenSet() const { return m_decisionHasBeenSet; } /** *The authentication decision produced by Voice ID, processed against the * current session state and streamed audio of the speaker.
*/ inline void SetDecision(const AuthenticationDecision& value) { m_decisionHasBeenSet = true; m_decision = value; } /** *The authentication decision produced by Voice ID, processed against the * current session state and streamed audio of the speaker.
*/ inline void SetDecision(AuthenticationDecision&& value) { m_decisionHasBeenSet = true; m_decision = std::move(value); } /** *The authentication decision produced by Voice ID, processed against the * current session state and streamed audio of the speaker.
*/ inline AuthenticationResult& WithDecision(const AuthenticationDecision& value) { SetDecision(value); return *this;} /** *The authentication decision produced by Voice ID, processed against the * current session state and streamed audio of the speaker.
*/ inline AuthenticationResult& WithDecision(AuthenticationDecision&& value) { SetDecision(std::move(value)); return *this;} /** *The service-generated identifier for the speaker whose authentication result * is produced.
*/ inline const Aws::String& GetGeneratedSpeakerId() const{ return m_generatedSpeakerId; } /** *The service-generated identifier for the speaker whose authentication result * is produced.
*/ inline bool GeneratedSpeakerIdHasBeenSet() const { return m_generatedSpeakerIdHasBeenSet; } /** *The service-generated identifier for the speaker whose authentication result * is produced.
*/ inline void SetGeneratedSpeakerId(const Aws::String& value) { m_generatedSpeakerIdHasBeenSet = true; m_generatedSpeakerId = value; } /** *The service-generated identifier for the speaker whose authentication result * is produced.
*/ inline void SetGeneratedSpeakerId(Aws::String&& value) { m_generatedSpeakerIdHasBeenSet = true; m_generatedSpeakerId = std::move(value); } /** *The service-generated identifier for the speaker whose authentication result * is produced.
*/ inline void SetGeneratedSpeakerId(const char* value) { m_generatedSpeakerIdHasBeenSet = true; m_generatedSpeakerId.assign(value); } /** *The service-generated identifier for the speaker whose authentication result * is produced.
*/ inline AuthenticationResult& WithGeneratedSpeakerId(const Aws::String& value) { SetGeneratedSpeakerId(value); return *this;} /** *The service-generated identifier for the speaker whose authentication result * is produced.
*/ inline AuthenticationResult& WithGeneratedSpeakerId(Aws::String&& value) { SetGeneratedSpeakerId(std::move(value)); return *this;} /** *The service-generated identifier for the speaker whose authentication result * is produced.
*/ inline AuthenticationResult& WithGeneratedSpeakerId(const char* value) { SetGeneratedSpeakerId(value); return *this;} /** *The authentication score for the speaker whose authentication result is
* produced. This value is only present if the authentication decision is either
* ACCEPT
or REJECT
.
The authentication score for the speaker whose authentication result is
* produced. This value is only present if the authentication decision is either
* ACCEPT
or REJECT
.
The authentication score for the speaker whose authentication result is
* produced. This value is only present if the authentication decision is either
* ACCEPT
or REJECT
.
The authentication score for the speaker whose authentication result is
* produced. This value is only present if the authentication decision is either
* ACCEPT
or REJECT
.