AWS SDK for C++  1.9.154
AWS SDK for C++
MedicalItem.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace TranscribeStreamingService
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline double GetStartTime() const{ return m_startTime; }
47 
52  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
53 
58  inline void SetStartTime(double value) { m_startTimeHasBeenSet = true; m_startTime = value; }
59 
64  inline MedicalItem& WithStartTime(double value) { SetStartTime(value); return *this;}
65 
66 
71  inline double GetEndTime() const{ return m_endTime; }
72 
77  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
78 
83  inline void SetEndTime(double value) { m_endTimeHasBeenSet = true; m_endTime = value; }
84 
89  inline MedicalItem& WithEndTime(double value) { SetEndTime(value); return *this;}
90 
91 
98  inline const ItemType& GetType() const{ return m_type; }
99 
106  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
107 
114  inline void SetType(const ItemType& value) { m_typeHasBeenSet = true; m_type = value; }
115 
122  inline void SetType(ItemType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
123 
130  inline MedicalItem& WithType(const ItemType& value) { SetType(value); return *this;}
131 
138  inline MedicalItem& WithType(ItemType&& value) { SetType(std::move(value)); return *this;}
139 
140 
144  inline const Aws::String& GetContent() const{ return m_content; }
145 
149  inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
150 
154  inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
155 
159  inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
160 
164  inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
165 
169  inline MedicalItem& WithContent(const Aws::String& value) { SetContent(value); return *this;}
170 
174  inline MedicalItem& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
175 
179  inline MedicalItem& WithContent(const char* value) { SetContent(value); return *this;}
180 
181 
186  inline double GetConfidence() const{ return m_confidence; }
187 
192  inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
193 
198  inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
199 
204  inline MedicalItem& WithConfidence(double value) { SetConfidence(value); return *this;}
205 
206 
215  inline const Aws::String& GetSpeaker() const{ return m_speaker; }
216 
225  inline bool SpeakerHasBeenSet() const { return m_speakerHasBeenSet; }
226 
235  inline void SetSpeaker(const Aws::String& value) { m_speakerHasBeenSet = true; m_speaker = value; }
236 
245  inline void SetSpeaker(Aws::String&& value) { m_speakerHasBeenSet = true; m_speaker = std::move(value); }
246 
255  inline void SetSpeaker(const char* value) { m_speakerHasBeenSet = true; m_speaker.assign(value); }
256 
265  inline MedicalItem& WithSpeaker(const Aws::String& value) { SetSpeaker(value); return *this;}
266 
275  inline MedicalItem& WithSpeaker(Aws::String&& value) { SetSpeaker(std::move(value)); return *this;}
276 
285  inline MedicalItem& WithSpeaker(const char* value) { SetSpeaker(value); return *this;}
286 
287  private:
288 
289  double m_startTime;
290  bool m_startTimeHasBeenSet;
291 
292  double m_endTime;
293  bool m_endTimeHasBeenSet;
294 
295  ItemType m_type;
296  bool m_typeHasBeenSet;
297 
298  Aws::String m_content;
299  bool m_contentHasBeenSet;
300 
301  double m_confidence;
302  bool m_confidenceHasBeenSet;
303 
304  Aws::String m_speaker;
305  bool m_speakerHasBeenSet;
306  };
307 
308 } // namespace Model
309 } // namespace TranscribeStreamingService
310 } // namespace Aws
Aws::TranscribeStreamingService::Model::ItemType
ItemType
Definition: ItemType.h:17
AWS_TRANSCRIBESTREAMINGSERVICE_API
#define AWS_TRANSCRIBESTREAMINGSERVICE_API
Definition: TranscribeStreamingService_EXPORTS.h:28
Aws::TranscribeStreamingService::Model::MedicalItem::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::TranscribeStreamingService::Model::MedicalItem::WithStartTime
MedicalItem & WithStartTime(double value)
Definition: MedicalItem.h:64
Aws::TranscribeStreamingService::Model::MedicalItem::WithSpeaker
MedicalItem & WithSpeaker(Aws::String &&value)
Definition: MedicalItem.h:275
Aws::TranscribeStreamingService::Model::MedicalItem
Definition: MedicalItem.h:34
Aws::TranscribeStreamingService::Model::MedicalItem::GetContent
const Aws::String & GetContent() const
Definition: MedicalItem.h:144
Aws::TranscribeStreamingService::Model::MedicalItem::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: MedicalItem.h:106
Aws::TranscribeStreamingService::Model::MedicalItem::SetType
void SetType(const ItemType &value)
Definition: MedicalItem.h:114
Aws::TranscribeStreamingService::Model::MedicalItem::ConfidenceHasBeenSet
bool ConfidenceHasBeenSet() const
Definition: MedicalItem.h:192
Aws::TranscribeStreamingService::Model::MedicalItem::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: MedicalItem.h:52
Aws::TranscribeStreamingService::Model::MedicalItem::SetConfidence
void SetConfidence(double value)
Definition: MedicalItem.h:198
Aws::TranscribeStreamingService::Model::MedicalItem::SetContent
void SetContent(const char *value)
Definition: MedicalItem.h:164
Aws::TranscribeStreamingService::Model::MedicalItem::SetSpeaker
void SetSpeaker(const Aws::String &value)
Definition: MedicalItem.h:235
Aws::TranscribeStreamingService::Model::MedicalItem::WithContent
MedicalItem & WithContent(Aws::String &&value)
Definition: MedicalItem.h:174
Aws::TranscribeStreamingService::Model::MedicalItem::MedicalItem
MedicalItem(Aws::Utils::Json::JsonView jsonValue)
Aws::TranscribeStreamingService::Model::MedicalItem::WithSpeaker
MedicalItem & WithSpeaker(const Aws::String &value)
Definition: MedicalItem.h:265
Aws::TranscribeStreamingService::Model::MedicalItem::SetType
void SetType(ItemType &&value)
Definition: MedicalItem.h:122
Aws::TranscribeStreamingService::Model::MedicalItem::operator=
MedicalItem & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::TranscribeStreamingService::Model::MedicalItem::SpeakerHasBeenSet
bool SpeakerHasBeenSet() const
Definition: MedicalItem.h:225
Aws::TranscribeStreamingService::Model::MedicalItem::SetStartTime
void SetStartTime(double value)
Definition: MedicalItem.h:58
ItemType.h
Aws::TranscribeStreamingService::Model::MedicalItem::SetEndTime
void SetEndTime(double value)
Definition: MedicalItem.h:83
Aws::TranscribeStreamingService::Model::MedicalItem::MedicalItem
MedicalItem()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
TranscribeStreamingService_EXPORTS.h
Aws::TranscribeStreamingService::Model::MedicalItem::SetSpeaker
void SetSpeaker(Aws::String &&value)
Definition: MedicalItem.h:245
Aws::TranscribeStreamingService::Model::MedicalItem::GetConfidence
double GetConfidence() const
Definition: MedicalItem.h:186
Aws::TranscribeStreamingService::Model::MedicalItem::WithSpeaker
MedicalItem & WithSpeaker(const char *value)
Definition: MedicalItem.h:285
Aws::TranscribeStreamingService::Model::MedicalItem::WithConfidence
MedicalItem & WithConfidence(double value)
Definition: MedicalItem.h:204
Aws::TranscribeStreamingService::Model::MedicalItem::WithEndTime
MedicalItem & WithEndTime(double value)
Definition: MedicalItem.h:89
Aws::TranscribeStreamingService::Model::MedicalItem::SetContent
void SetContent(const Aws::String &value)
Definition: MedicalItem.h:154
Aws::TranscribeStreamingService::Model::MedicalItem::GetType
const ItemType & GetType() const
Definition: MedicalItem.h:98
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::TranscribeStreamingService::Model::MedicalItem::WithContent
MedicalItem & WithContent(const Aws::String &value)
Definition: MedicalItem.h:169
Aws::TranscribeStreamingService::Model::MedicalItem::WithContent
MedicalItem & WithContent(const char *value)
Definition: MedicalItem.h:179
Aws::TranscribeStreamingService::Model::MedicalItem::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: MedicalItem.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::TranscribeStreamingService::Model::MedicalItem::WithType
MedicalItem & WithType(ItemType &&value)
Definition: MedicalItem.h:138
Aws::TranscribeStreamingService::Model::MedicalItem::GetSpeaker
const Aws::String & GetSpeaker() const
Definition: MedicalItem.h:215
Aws::TranscribeStreamingService::Model::MedicalItem::ContentHasBeenSet
bool ContentHasBeenSet() const
Definition: MedicalItem.h:149
Aws::TranscribeStreamingService::Model::MedicalItem::GetStartTime
double GetStartTime() const
Definition: MedicalItem.h:46
Aws::TranscribeStreamingService::Model::MedicalItem::SetContent
void SetContent(Aws::String &&value)
Definition: MedicalItem.h:159
Aws::TranscribeStreamingService::Model::MedicalItem::GetEndTime
double GetEndTime() const
Definition: MedicalItem.h:71
Aws::TranscribeStreamingService::Model::MedicalItem::SetSpeaker
void SetSpeaker(const char *value)
Definition: MedicalItem.h:255
Aws::TranscribeStreamingService::Model::MedicalItem::WithType
MedicalItem & WithType(const ItemType &value)
Definition: MedicalItem.h:130