AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
MedicalScribeTranscriptItem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
9#include <aws/transcribestreaming/model/MedicalScribeTranscriptItemType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace TranscribeStreamingService {
21namespace Model {
22
31 public:
32 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeTranscriptItem() = default;
33 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeTranscriptItem(Aws::Utils::Json::JsonView jsonValue);
34 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeTranscriptItem& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline double GetBeginAudioTime() const { return m_beginAudioTime; }
42 inline bool BeginAudioTimeHasBeenSet() const { return m_beginAudioTimeHasBeenSet; }
43 inline void SetBeginAudioTime(double value) {
44 m_beginAudioTimeHasBeenSet = true;
45 m_beginAudioTime = value;
46 }
48 SetBeginAudioTime(value);
49 return *this;
50 }
52
54
57 inline double GetEndAudioTime() const { return m_endAudioTime; }
58 inline bool EndAudioTimeHasBeenSet() const { return m_endAudioTimeHasBeenSet; }
59 inline void SetEndAudioTime(double value) {
60 m_endAudioTimeHasBeenSet = true;
61 m_endAudioTime = value;
62 }
64 SetEndAudioTime(value);
65 return *this;
66 }
68
70
74 inline MedicalScribeTranscriptItemType GetType() const { return m_type; }
75 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
77 m_typeHasBeenSet = true;
78 m_type = value;
79 }
81 SetType(value);
82 return *this;
83 }
85
87
93 inline double GetConfidence() const { return m_confidence; }
94 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
95 inline void SetConfidence(double value) {
96 m_confidenceHasBeenSet = true;
97 m_confidence = value;
98 }
100 SetConfidence(value);
101 return *this;
102 }
104
106
109 inline const Aws::String& GetContent() const { return m_content; }
110 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
111 template <typename ContentT = Aws::String>
112 void SetContent(ContentT&& value) {
113 m_contentHasBeenSet = true;
114 m_content = std::forward<ContentT>(value);
115 }
116 template <typename ContentT = Aws::String>
118 SetContent(std::forward<ContentT>(value));
119 return *this;
120 }
122
124
129 inline bool GetVocabularyFilterMatch() const { return m_vocabularyFilterMatch; }
130 inline bool VocabularyFilterMatchHasBeenSet() const { return m_vocabularyFilterMatchHasBeenSet; }
131 inline void SetVocabularyFilterMatch(bool value) {
132 m_vocabularyFilterMatchHasBeenSet = true;
133 m_vocabularyFilterMatch = value;
134 }
137 return *this;
138 }
140 private:
141 double m_beginAudioTime{0.0};
142
143 double m_endAudioTime{0.0};
144
146
147 double m_confidence{0.0};
148
149 Aws::String m_content;
150
151 bool m_vocabularyFilterMatch{false};
152 bool m_beginAudioTimeHasBeenSet = false;
153 bool m_endAudioTimeHasBeenSet = false;
154 bool m_typeHasBeenSet = false;
155 bool m_confidenceHasBeenSet = false;
156 bool m_contentHasBeenSet = false;
157 bool m_vocabularyFilterMatchHasBeenSet = false;
158};
159
160} // namespace Model
161} // namespace TranscribeStreamingService
162} // namespace Aws
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeTranscriptItem(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeTranscriptItem()=default
MedicalScribeTranscriptItem & WithType(MedicalScribeTranscriptItemType value)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeTranscriptItem & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue