/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A word, phrase, or punctuation mark in your Call Analytics transcription
* output, along with various associated attributes, such as confidence score,
* type, and start and end times.See Also:
AWS
* API Reference
The time, in milliseconds, from the beginning of the audio stream to the * start of the identified item.
*/ inline long long GetBeginOffsetMillis() const{ return m_beginOffsetMillis; } /** *The time, in milliseconds, from the beginning of the audio stream to the * start of the identified item.
*/ inline bool BeginOffsetMillisHasBeenSet() const { return m_beginOffsetMillisHasBeenSet; } /** *The time, in milliseconds, from the beginning of the audio stream to the * start of the identified item.
*/ inline void SetBeginOffsetMillis(long long value) { m_beginOffsetMillisHasBeenSet = true; m_beginOffsetMillis = value; } /** *The time, in milliseconds, from the beginning of the audio stream to the * start of the identified item.
*/ inline CallAnalyticsItem& WithBeginOffsetMillis(long long value) { SetBeginOffsetMillis(value); return *this;} /** *The time, in milliseconds, from the beginning of the audio stream to the end * of the identified item.
*/ inline long long GetEndOffsetMillis() const{ return m_endOffsetMillis; } /** *The time, in milliseconds, from the beginning of the audio stream to the end * of the identified item.
*/ inline bool EndOffsetMillisHasBeenSet() const { return m_endOffsetMillisHasBeenSet; } /** *The time, in milliseconds, from the beginning of the audio stream to the end * of the identified item.
*/ inline void SetEndOffsetMillis(long long value) { m_endOffsetMillisHasBeenSet = true; m_endOffsetMillis = value; } /** *The time, in milliseconds, from the beginning of the audio stream to the end * of the identified item.
*/ inline CallAnalyticsItem& WithEndOffsetMillis(long long value) { SetEndOffsetMillis(value); return *this;} /** *The type of item identified. Options are: PRONUNCIATION
(spoken
* words) and PUNCTUATION
.
The type of item identified. Options are: PRONUNCIATION
(spoken
* words) and PUNCTUATION
.
The type of item identified. Options are: PRONUNCIATION
(spoken
* words) and PUNCTUATION
.
The type of item identified. Options are: PRONUNCIATION
(spoken
* words) and PUNCTUATION
.
The type of item identified. Options are: PRONUNCIATION
(spoken
* words) and PUNCTUATION
.
The type of item identified. Options are: PRONUNCIATION
(spoken
* words) and PUNCTUATION
.
The word or punctuation that was transcribed.
*/ inline const Aws::String& GetContent() const{ return m_content; } /** *The word or punctuation that was transcribed.
*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *The word or punctuation that was transcribed.
*/ inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; } /** *The word or punctuation that was transcribed.
*/ inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *The word or punctuation that was transcribed.
*/ inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); } /** *The word or punctuation that was transcribed.
*/ inline CallAnalyticsItem& WithContent(const Aws::String& value) { SetContent(value); return *this;} /** *The word or punctuation that was transcribed.
*/ inline CallAnalyticsItem& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} /** *The word or punctuation that was transcribed.
*/ inline CallAnalyticsItem& WithContent(const char* value) { SetContent(value); return *this;} /** *The confidence score associated with a word or phrase in your transcript.
*Confidence scores are values between 0 and 1. A larger value indicates a * higher probability that the identified item correctly matches the item spoken in * your media.
*/ inline double GetConfidence() const{ return m_confidence; } /** *The confidence score associated with a word or phrase in your transcript.
*Confidence scores are values between 0 and 1. A larger value indicates a * higher probability that the identified item correctly matches the item spoken in * your media.
*/ inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; } /** *The confidence score associated with a word or phrase in your transcript.
*Confidence scores are values between 0 and 1. A larger value indicates a * higher probability that the identified item correctly matches the item spoken in * your media.
*/ inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; } /** *The confidence score associated with a word or phrase in your transcript.
*Confidence scores are values between 0 and 1. A larger value indicates a * higher probability that the identified item correctly matches the item spoken in * your media.
*/ inline CallAnalyticsItem& WithConfidence(double value) { SetConfidence(value); return *this;} /** *Indicates whether the specified item matches a word in the vocabulary filter
* included in your Call Analytics request. If true
, there is a
* vocabulary filter match.
Indicates whether the specified item matches a word in the vocabulary filter
* included in your Call Analytics request. If true
, there is a
* vocabulary filter match.
Indicates whether the specified item matches a word in the vocabulary filter
* included in your Call Analytics request. If true
, there is a
* vocabulary filter match.
Indicates whether the specified item matches a word in the vocabulary filter
* included in your Call Analytics request. If true
, there is a
* vocabulary filter match.
If partial result stabilization is enabled, Stable
indicates
* whether the specified item is stable (true
) or if it may change
* when the segment is complete (false
).
If partial result stabilization is enabled, Stable
indicates
* whether the specified item is stable (true
) or if it may change
* when the segment is complete (false
).
If partial result stabilization is enabled, Stable
indicates
* whether the specified item is stable (true
) or if it may change
* when the segment is complete (false
).
If partial result stabilization is enabled, Stable
indicates
* whether the specified item is stable (true
) or if it may change
* when the segment is complete (false
).