AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
MedicalItem.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/ItemType.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 MedicalItem() = default;
33 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalItem(Aws::Utils::Json::JsonView jsonValue);
34 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalItem& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline double GetStartTime() const { return m_startTime; }
42 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
43 inline void SetStartTime(double value) {
44 m_startTimeHasBeenSet = true;
45 m_startTime = value;
46 }
47 inline MedicalItem& WithStartTime(double value) {
48 SetStartTime(value);
49 return *this;
50 }
52
54
57 inline double GetEndTime() const { return m_endTime; }
58 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
59 inline void SetEndTime(double value) {
60 m_endTimeHasBeenSet = true;
61 m_endTime = value;
62 }
63 inline MedicalItem& WithEndTime(double value) {
64 SetEndTime(value);
65 return *this;
66 }
68
70
74 inline ItemType GetType() const { return m_type; }
75 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
76 inline void SetType(ItemType value) {
77 m_typeHasBeenSet = true;
78 m_type = value;
79 }
80 inline MedicalItem& WithType(ItemType value) {
81 SetType(value);
82 return *this;
83 }
85
87
90 inline const Aws::String& GetContent() const { return m_content; }
91 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
92 template <typename ContentT = Aws::String>
93 void SetContent(ContentT&& value) {
94 m_contentHasBeenSet = true;
95 m_content = std::forward<ContentT>(value);
96 }
97 template <typename ContentT = Aws::String>
98 MedicalItem& WithContent(ContentT&& value) {
99 SetContent(std::forward<ContentT>(value));
100 return *this;
101 }
103
105
111 inline double GetConfidence() const { return m_confidence; }
112 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
113 inline void SetConfidence(double value) {
114 m_confidenceHasBeenSet = true;
115 m_confidence = value;
116 }
117 inline MedicalItem& WithConfidence(double value) {
118 SetConfidence(value);
119 return *this;
120 }
122
124
128 inline const Aws::String& GetSpeaker() const { return m_speaker; }
129 inline bool SpeakerHasBeenSet() const { return m_speakerHasBeenSet; }
130 template <typename SpeakerT = Aws::String>
131 void SetSpeaker(SpeakerT&& value) {
132 m_speakerHasBeenSet = true;
133 m_speaker = std::forward<SpeakerT>(value);
134 }
135 template <typename SpeakerT = Aws::String>
136 MedicalItem& WithSpeaker(SpeakerT&& value) {
137 SetSpeaker(std::forward<SpeakerT>(value));
138 return *this;
139 }
141 private:
142 double m_startTime{0.0};
143
144 double m_endTime{0.0};
145
147
148 Aws::String m_content;
149
150 double m_confidence{0.0};
151
152 Aws::String m_speaker;
153 bool m_startTimeHasBeenSet = false;
154 bool m_endTimeHasBeenSet = false;
155 bool m_typeHasBeenSet = false;
156 bool m_contentHasBeenSet = false;
157 bool m_confidenceHasBeenSet = false;
158 bool m_speakerHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace TranscribeStreamingService
163} // namespace Aws
MedicalItem & WithContent(ContentT &&value)
Definition MedicalItem.h:98
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalItem(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalItem & operator=(Aws::Utils::Json::JsonView jsonValue)
MedicalItem & WithSpeaker(SpeakerT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalItem()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue