AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
MedicalEntity.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace TranscribeStreamingService {
20namespace Model {
21
31 public:
32 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalEntity() = default;
33 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalEntity(Aws::Utils::Json::JsonView jsonValue);
34 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalEntity& 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 MedicalEntity& 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 MedicalEntity& WithEndTime(double value) {
64 SetEndTime(value);
65 return *this;
66 }
68
70
74 inline const Aws::String& GetCategory() const { return m_category; }
75 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
76 template <typename CategoryT = Aws::String>
77 void SetCategory(CategoryT&& value) {
78 m_categoryHasBeenSet = true;
79 m_category = std::forward<CategoryT>(value);
80 }
81 template <typename CategoryT = Aws::String>
82 MedicalEntity& WithCategory(CategoryT&& value) {
83 SetCategory(std::forward<CategoryT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetContent() const { return m_content; }
93 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
94 template <typename ContentT = Aws::String>
95 void SetContent(ContentT&& value) {
96 m_contentHasBeenSet = true;
97 m_content = std::forward<ContentT>(value);
98 }
99 template <typename ContentT = Aws::String>
100 MedicalEntity& WithContent(ContentT&& value) {
101 SetContent(std::forward<ContentT>(value));
102 return *this;
103 }
105
107
113 inline double GetConfidence() const { return m_confidence; }
114 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
115 inline void SetConfidence(double value) {
116 m_confidenceHasBeenSet = true;
117 m_confidence = value;
118 }
119 inline MedicalEntity& WithConfidence(double value) {
120 SetConfidence(value);
121 return *this;
122 }
124 private:
125 double m_startTime{0.0};
126
127 double m_endTime{0.0};
128
129 Aws::String m_category;
130
131 Aws::String m_content;
132
133 double m_confidence{0.0};
134 bool m_startTimeHasBeenSet = false;
135 bool m_endTimeHasBeenSet = false;
136 bool m_categoryHasBeenSet = false;
137 bool m_contentHasBeenSet = false;
138 bool m_confidenceHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace TranscribeStreamingService
143} // namespace Aws
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalEntity()=default
MedicalEntity & WithCategory(CategoryT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalEntity(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue