/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains set of transcription results from one or more audio segments, along
* with additional information about the parameters included in your request. For
* example, channel definitions, partial result stabilization, sentiment, and issue
* detection.See Also:
AWS
* API Reference
The unique identifier that is associated with the specified
* UtteranceEvent
.
The unique identifier that is associated with the specified
* UtteranceEvent
.
The unique identifier that is associated with the specified
* UtteranceEvent
.
The unique identifier that is associated with the specified
* UtteranceEvent
.
The unique identifier that is associated with the specified
* UtteranceEvent
.
The unique identifier that is associated with the specified
* UtteranceEvent
.
The unique identifier that is associated with the specified
* UtteranceEvent
.
The unique identifier that is associated with the specified
* UtteranceEvent
.
Indicates whether the segment in the UtteranceEvent
is complete
* (FALSE
) or partial (TRUE
).
Indicates whether the segment in the UtteranceEvent
is complete
* (FALSE
) or partial (TRUE
).
Indicates whether the segment in the UtteranceEvent
is complete
* (FALSE
) or partial (TRUE
).
Indicates whether the segment in the UtteranceEvent
is complete
* (FALSE
) or partial (TRUE
).
Provides the role of the speaker for each audio channel, either
* CUSTOMER
or AGENT
.
Provides the role of the speaker for each audio channel, either
* CUSTOMER
or AGENT
.
Provides the role of the speaker for each audio channel, either
* CUSTOMER
or AGENT
.
Provides the role of the speaker for each audio channel, either
* CUSTOMER
or AGENT
.
Provides the role of the speaker for each audio channel, either
* CUSTOMER
or AGENT
.
Provides the role of the speaker for each audio channel, either
* CUSTOMER
or AGENT
.
The time, in milliseconds, from the beginning of the audio stream to the
* start of the UtteranceEvent
.
The time, in milliseconds, from the beginning of the audio stream to the
* start of the UtteranceEvent
.
The time, in milliseconds, from the beginning of the audio stream to the
* start of the UtteranceEvent
.
The time, in milliseconds, from the beginning of the audio stream to the
* start of the UtteranceEvent
.
The time, in milliseconds, from the beginning of the audio stream to the
* start of the UtteranceEvent
.
The time, in milliseconds, from the beginning of the audio stream to the
* start of the UtteranceEvent
.
The time, in milliseconds, from the beginning of the audio stream to the
* start of the UtteranceEvent
.
The time, in milliseconds, from the beginning of the audio stream to the
* start of the UtteranceEvent
.
Contains transcribed text.
*/ inline const Aws::String& GetTranscript() const{ return m_transcript; } /** *Contains transcribed text.
*/ inline bool TranscriptHasBeenSet() const { return m_transcriptHasBeenSet; } /** *Contains transcribed text.
*/ inline void SetTranscript(const Aws::String& value) { m_transcriptHasBeenSet = true; m_transcript = value; } /** *Contains transcribed text.
*/ inline void SetTranscript(Aws::String&& value) { m_transcriptHasBeenSet = true; m_transcript = std::move(value); } /** *Contains transcribed text.
*/ inline void SetTranscript(const char* value) { m_transcriptHasBeenSet = true; m_transcript.assign(value); } /** *Contains transcribed text.
*/ inline UtteranceEvent& WithTranscript(const Aws::String& value) { SetTranscript(value); return *this;} /** *Contains transcribed text.
*/ inline UtteranceEvent& WithTranscript(Aws::String&& value) { SetTranscript(std::move(value)); return *this;} /** *Contains transcribed text.
*/ inline UtteranceEvent& WithTranscript(const char* value) { SetTranscript(value); return *this;} /** *Contains words, phrases, or punctuation marks that are associated with the
* specified UtteranceEvent
.
Contains words, phrases, or punctuation marks that are associated with the
* specified UtteranceEvent
.
Contains words, phrases, or punctuation marks that are associated with the
* specified UtteranceEvent
.
Contains words, phrases, or punctuation marks that are associated with the
* specified UtteranceEvent
.
Contains words, phrases, or punctuation marks that are associated with the
* specified UtteranceEvent
.
Contains words, phrases, or punctuation marks that are associated with the
* specified UtteranceEvent
.
Contains words, phrases, or punctuation marks that are associated with the
* specified UtteranceEvent
.
Contains words, phrases, or punctuation marks that are associated with the
* specified UtteranceEvent
.
Contains entities identified as personally identifiable information (PII) in * your transcription output.
*/ inline const Aws::VectorContains entities identified as personally identifiable information (PII) in * your transcription output.
*/ inline bool EntitiesHasBeenSet() const { return m_entitiesHasBeenSet; } /** *Contains entities identified as personally identifiable information (PII) in * your transcription output.
*/ inline void SetEntities(const Aws::VectorContains entities identified as personally identifiable information (PII) in * your transcription output.
*/ inline void SetEntities(Aws::VectorContains entities identified as personally identifiable information (PII) in * your transcription output.
*/ inline UtteranceEvent& WithEntities(const Aws::VectorContains entities identified as personally identifiable information (PII) in * your transcription output.
*/ inline UtteranceEvent& WithEntities(Aws::VectorContains entities identified as personally identifiable information (PII) in * your transcription output.
*/ inline UtteranceEvent& AddEntities(const CallAnalyticsEntity& value) { m_entitiesHasBeenSet = true; m_entities.push_back(value); return *this; } /** *Contains entities identified as personally identifiable information (PII) in * your transcription output.
*/ inline UtteranceEvent& AddEntities(CallAnalyticsEntity&& value) { m_entitiesHasBeenSet = true; m_entities.push_back(std::move(value)); return *this; } /** *Provides the sentiment that was detected in the specified segment.
*/ inline const Sentiment& GetSentiment() const{ return m_sentiment; } /** *Provides the sentiment that was detected in the specified segment.
*/ inline bool SentimentHasBeenSet() const { return m_sentimentHasBeenSet; } /** *Provides the sentiment that was detected in the specified segment.
*/ inline void SetSentiment(const Sentiment& value) { m_sentimentHasBeenSet = true; m_sentiment = value; } /** *Provides the sentiment that was detected in the specified segment.
*/ inline void SetSentiment(Sentiment&& value) { m_sentimentHasBeenSet = true; m_sentiment = std::move(value); } /** *Provides the sentiment that was detected in the specified segment.
*/ inline UtteranceEvent& WithSentiment(const Sentiment& value) { SetSentiment(value); return *this;} /** *Provides the sentiment that was detected in the specified segment.
*/ inline UtteranceEvent& WithSentiment(Sentiment&& value) { SetSentiment(std::move(value)); return *this;} /** *Provides the issue that was detected in the specified segment.
*/ inline const Aws::VectorProvides the issue that was detected in the specified segment.
*/ inline bool IssuesDetectedHasBeenSet() const { return m_issuesDetectedHasBeenSet; } /** *Provides the issue that was detected in the specified segment.
*/ inline void SetIssuesDetected(const Aws::VectorProvides the issue that was detected in the specified segment.
*/ inline void SetIssuesDetected(Aws::VectorProvides the issue that was detected in the specified segment.
*/ inline UtteranceEvent& WithIssuesDetected(const Aws::VectorProvides the issue that was detected in the specified segment.
*/ inline UtteranceEvent& WithIssuesDetected(Aws::VectorProvides the issue that was detected in the specified segment.
*/ inline UtteranceEvent& AddIssuesDetected(const IssueDetected& value) { m_issuesDetectedHasBeenSet = true; m_issuesDetected.push_back(value); return *this; } /** *Provides the issue that was detected in the specified segment.
*/ inline UtteranceEvent& AddIssuesDetected(IssueDetected&& value) { m_issuesDetectedHasBeenSet = true; m_issuesDetected.push_back(std::move(value)); return *this; } private: Aws::String m_utteranceId; bool m_utteranceIdHasBeenSet = false; bool m_isPartial; bool m_isPartialHasBeenSet = false; ParticipantRole m_participantRole; bool m_participantRoleHasBeenSet = false; long long m_beginOffsetMillis; bool m_beginOffsetMillisHasBeenSet = false; long long m_endOffsetMillis; bool m_endOffsetMillisHasBeenSet = false; Aws::String m_transcript; bool m_transcriptHasBeenSet = false; Aws::Vector