AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MedicalItem.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/transcribestreaming/model/ItemType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace TranscribeStreamingService
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalItem() = default;
38 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalItem(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalItem& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline double GetStartTime() const { return m_startTime; }
48 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
49 inline void SetStartTime(double value) { m_startTimeHasBeenSet = true; m_startTime = value; }
50 inline MedicalItem& WithStartTime(double value) { SetStartTime(value); return *this;}
52
54
57 inline double GetEndTime() const { return m_endTime; }
58 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
59 inline void SetEndTime(double value) { m_endTimeHasBeenSet = true; m_endTime = value; }
60 inline MedicalItem& WithEndTime(double value) { SetEndTime(value); return *this;}
62
64
68 inline ItemType GetType() const { return m_type; }
69 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
70 inline void SetType(ItemType value) { m_typeHasBeenSet = true; m_type = value; }
71 inline MedicalItem& WithType(ItemType value) { SetType(value); return *this;}
73
75
78 inline const Aws::String& GetContent() const { return m_content; }
79 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
80 template<typename ContentT = Aws::String>
81 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
82 template<typename ContentT = Aws::String>
83 MedicalItem& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
85
87
93 inline double GetConfidence() const { return m_confidence; }
94 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
95 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
96 inline MedicalItem& WithConfidence(double value) { SetConfidence(value); return *this;}
98
100
104 inline const Aws::String& GetSpeaker() const { return m_speaker; }
105 inline bool SpeakerHasBeenSet() const { return m_speakerHasBeenSet; }
106 template<typename SpeakerT = Aws::String>
107 void SetSpeaker(SpeakerT&& value) { m_speakerHasBeenSet = true; m_speaker = std::forward<SpeakerT>(value); }
108 template<typename SpeakerT = Aws::String>
109 MedicalItem& WithSpeaker(SpeakerT&& value) { SetSpeaker(std::forward<SpeakerT>(value)); return *this;}
111 private:
112
113 double m_startTime{0.0};
114 bool m_startTimeHasBeenSet = false;
115
116 double m_endTime{0.0};
117 bool m_endTimeHasBeenSet = false;
118
120 bool m_typeHasBeenSet = false;
121
122 Aws::String m_content;
123 bool m_contentHasBeenSet = false;
124
125 double m_confidence{0.0};
126 bool m_confidenceHasBeenSet = false;
127
128 Aws::String m_speaker;
129 bool m_speakerHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace TranscribeStreamingService
134} // namespace Aws
MedicalItem & WithContent(ContentT &&value)
Definition MedicalItem.h:83
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