AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ItemType& GetType() const{ return m_type; }
69 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
70 inline void SetType(const ItemType& value) { m_typeHasBeenSet = true; m_type = value; }
71 inline void SetType(ItemType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
72 inline MedicalItem& WithType(const ItemType& value) { SetType(value); return *this;}
73 inline MedicalItem& WithType(ItemType&& value) { SetType(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetContent() const{ return m_content; }
81 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
82 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
83 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
84 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
85 inline MedicalItem& WithContent(const Aws::String& value) { SetContent(value); return *this;}
86 inline MedicalItem& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
87 inline MedicalItem& WithContent(const char* value) { SetContent(value); return *this;}
89
91
97 inline double GetConfidence() const{ return m_confidence; }
98 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
99 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
100 inline MedicalItem& WithConfidence(double value) { SetConfidence(value); return *this;}
102
104
108 inline const Aws::String& GetSpeaker() const{ return m_speaker; }
109 inline bool SpeakerHasBeenSet() const { return m_speakerHasBeenSet; }
110 inline void SetSpeaker(const Aws::String& value) { m_speakerHasBeenSet = true; m_speaker = value; }
111 inline void SetSpeaker(Aws::String&& value) { m_speakerHasBeenSet = true; m_speaker = std::move(value); }
112 inline void SetSpeaker(const char* value) { m_speakerHasBeenSet = true; m_speaker.assign(value); }
113 inline MedicalItem& WithSpeaker(const Aws::String& value) { SetSpeaker(value); return *this;}
114 inline MedicalItem& WithSpeaker(Aws::String&& value) { SetSpeaker(std::move(value)); return *this;}
115 inline MedicalItem& WithSpeaker(const char* value) { SetSpeaker(value); return *this;}
117 private:
118
119 double m_startTime;
120 bool m_startTimeHasBeenSet = false;
121
122 double m_endTime;
123 bool m_endTimeHasBeenSet = false;
124
125 ItemType m_type;
126 bool m_typeHasBeenSet = false;
127
128 Aws::String m_content;
129 bool m_contentHasBeenSet = false;
130
131 double m_confidence;
132 bool m_confidenceHasBeenSet = false;
133
134 Aws::String m_speaker;
135 bool m_speakerHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace TranscribeStreamingService
140} // namespace Aws
MedicalItem & WithSpeaker(Aws::String &&value)
MedicalItem & WithSpeaker(const Aws::String &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalItem(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MedicalItem & WithContent(const char *value)
Definition MedicalItem.h:87
MedicalItem & WithContent(Aws::String &&value)
Definition MedicalItem.h:86
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalItem()
MedicalItem & WithSpeaker(const char *value)
MedicalItem & WithType(const ItemType &value)
Definition MedicalItem.h:72
MedicalItem & WithContent(const Aws::String &value)
Definition MedicalItem.h:85
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalItem & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue