AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MedicalEntity.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace TranscribeStreamingService
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalEntity() = default;
38 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalEntity(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalEntity& 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 MedicalEntity& 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 MedicalEntity& WithEndTime(double value) { SetEndTime(value); return *this;}
62
64
68 inline const Aws::String& GetCategory() const { return m_category; }
69 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
70 template<typename CategoryT = Aws::String>
71 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category = std::forward<CategoryT>(value); }
72 template<typename CategoryT = Aws::String>
73 MedicalEntity& WithCategory(CategoryT&& value) { SetCategory(std::forward<CategoryT>(value)); return *this;}
75
77
80 inline const Aws::String& GetContent() const { return m_content; }
81 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
82 template<typename ContentT = Aws::String>
83 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
84 template<typename ContentT = Aws::String>
85 MedicalEntity& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
87
89
95 inline double GetConfidence() const { return m_confidence; }
96 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
97 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
98 inline MedicalEntity& WithConfidence(double value) { SetConfidence(value); return *this;}
100 private:
101
102 double m_startTime{0.0};
103 bool m_startTimeHasBeenSet = false;
104
105 double m_endTime{0.0};
106 bool m_endTimeHasBeenSet = false;
107
108 Aws::String m_category;
109 bool m_categoryHasBeenSet = false;
110
111 Aws::String m_content;
112 bool m_contentHasBeenSet = false;
113
114 double m_confidence{0.0};
115 bool m_confidenceHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace TranscribeStreamingService
120} // 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)
MedicalEntity & WithContent(ContentT &&value)
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