/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains entities identified as personal health information (PHI) in your
* transcription output, along with various associated attributes. Examples include
* category, confidence score, type, stability score, and start and end
* times.See Also:
AWS
* API Reference
The start time, in milliseconds, of the utterance that was identified as * PHI.
*/ inline double GetStartTime() const{ return m_startTime; } /** *The start time, in milliseconds, of the utterance that was identified as * PHI.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The start time, in milliseconds, of the utterance that was identified as * PHI.
*/ inline void SetStartTime(double value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The start time, in milliseconds, of the utterance that was identified as * PHI.
*/ inline MedicalEntity& WithStartTime(double value) { SetStartTime(value); return *this;} /** *The end time, in milliseconds, of the utterance that was identified as * PHI.
*/ inline double GetEndTime() const{ return m_endTime; } /** *The end time, in milliseconds, of the utterance that was identified as * PHI.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The end time, in milliseconds, of the utterance that was identified as * PHI.
*/ inline void SetEndTime(double value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The end time, in milliseconds, of the utterance that was identified as * PHI.
*/ inline MedicalEntity& WithEndTime(double value) { SetEndTime(value); return *this;} /** *The category of information identified. The only category is
* PHI
.
The category of information identified. The only category is
* PHI
.
The category of information identified. The only category is
* PHI
.
The category of information identified. The only category is
* PHI
.
The category of information identified. The only category is
* PHI
.
The category of information identified. The only category is
* PHI
.
The category of information identified. The only category is
* PHI
.
The category of information identified. The only category is
* PHI
.
The word or words identified as PHI.
*/ inline const Aws::String& GetContent() const{ return m_content; } /** *The word or words identified as PHI.
*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *The word or words identified as PHI.
*/ inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; } /** *The word or words identified as PHI.
*/ inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *The word or words identified as PHI.
*/ inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); } /** *The word or words identified as PHI.
*/ inline MedicalEntity& WithContent(const Aws::String& value) { SetContent(value); return *this;} /** *The word or words identified as PHI.
*/ inline MedicalEntity& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} /** *The word or words identified as PHI.
*/ inline MedicalEntity& WithContent(const char* value) { SetContent(value); return *this;} /** *The confidence score associated with the identified PHI entity in your * audio.
Confidence scores are values between 0 and 1. A larger value * indicates a higher probability that the identified entity correctly matches the * entity spoken in your media.
*/ inline double GetConfidence() const{ return m_confidence; } /** *The confidence score associated with the identified PHI entity in your * audio.
Confidence scores are values between 0 and 1. A larger value * indicates a higher probability that the identified entity correctly matches the * entity spoken in your media.
*/ inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; } /** *The confidence score associated with the identified PHI entity in your * audio.
Confidence scores are values between 0 and 1. A larger value * indicates a higher probability that the identified entity correctly matches the * entity spoken in your media.
*/ inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; } /** *The confidence score associated with the identified PHI entity in your * audio.
Confidence scores are values between 0 and 1. A larger value * indicates a higher probability that the identified entity correctly matches the * entity spoken in your media.
*/ inline MedicalEntity& WithConfidence(double value) { SetConfidence(value); return *this;} private: double m_startTime; bool m_startTimeHasBeenSet = false; double m_endTime; bool m_endTimeHasBeenSet = false; Aws::String m_category; bool m_categoryHasBeenSet = false; Aws::String m_content; bool m_contentHasBeenSet = false; double m_confidence; bool m_confidenceHasBeenSet = false; }; } // namespace Model } // namespace TranscribeStreamingService } // namespace Aws