AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MedicalResult.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/transcribestreaming/model/MedicalAlternative.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace TranscribeStreamingService
24{
25namespace Model
26{
27
39 {
40 public:
41 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalResult();
42 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalResult(Aws::Utils::Json::JsonView jsonValue);
43 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalResult& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetResultId() const{ return m_resultId; }
52 inline bool ResultIdHasBeenSet() const { return m_resultIdHasBeenSet; }
53 inline void SetResultId(const Aws::String& value) { m_resultIdHasBeenSet = true; m_resultId = value; }
54 inline void SetResultId(Aws::String&& value) { m_resultIdHasBeenSet = true; m_resultId = std::move(value); }
55 inline void SetResultId(const char* value) { m_resultIdHasBeenSet = true; m_resultId.assign(value); }
56 inline MedicalResult& WithResultId(const Aws::String& value) { SetResultId(value); return *this;}
57 inline MedicalResult& WithResultId(Aws::String&& value) { SetResultId(std::move(value)); return *this;}
58 inline MedicalResult& WithResultId(const char* value) { SetResultId(value); return *this;}
60
62
65 inline double GetStartTime() const{ return m_startTime; }
66 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
67 inline void SetStartTime(double value) { m_startTimeHasBeenSet = true; m_startTime = value; }
68 inline MedicalResult& WithStartTime(double value) { SetStartTime(value); return *this;}
70
72
75 inline double GetEndTime() const{ return m_endTime; }
76 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
77 inline void SetEndTime(double value) { m_endTimeHasBeenSet = true; m_endTime = value; }
78 inline MedicalResult& WithEndTime(double value) { SetEndTime(value); return *this;}
80
82
87 inline bool GetIsPartial() const{ return m_isPartial; }
88 inline bool IsPartialHasBeenSet() const { return m_isPartialHasBeenSet; }
89 inline void SetIsPartial(bool value) { m_isPartialHasBeenSet = true; m_isPartial = value; }
90 inline MedicalResult& WithIsPartial(bool value) { SetIsPartial(value); return *this;}
92
94
99 inline const Aws::Vector<MedicalAlternative>& GetAlternatives() const{ return m_alternatives; }
100 inline bool AlternativesHasBeenSet() const { return m_alternativesHasBeenSet; }
101 inline void SetAlternatives(const Aws::Vector<MedicalAlternative>& value) { m_alternativesHasBeenSet = true; m_alternatives = value; }
102 inline void SetAlternatives(Aws::Vector<MedicalAlternative>&& value) { m_alternativesHasBeenSet = true; m_alternatives = std::move(value); }
104 inline MedicalResult& WithAlternatives(Aws::Vector<MedicalAlternative>&& value) { SetAlternatives(std::move(value)); return *this;}
105 inline MedicalResult& AddAlternatives(const MedicalAlternative& value) { m_alternativesHasBeenSet = true; m_alternatives.push_back(value); return *this; }
106 inline MedicalResult& AddAlternatives(MedicalAlternative&& value) { m_alternativesHasBeenSet = true; m_alternatives.push_back(std::move(value)); return *this; }
108
110
113 inline const Aws::String& GetChannelId() const{ return m_channelId; }
114 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
115 inline void SetChannelId(const Aws::String& value) { m_channelIdHasBeenSet = true; m_channelId = value; }
116 inline void SetChannelId(Aws::String&& value) { m_channelIdHasBeenSet = true; m_channelId = std::move(value); }
117 inline void SetChannelId(const char* value) { m_channelIdHasBeenSet = true; m_channelId.assign(value); }
118 inline MedicalResult& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;}
119 inline MedicalResult& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
120 inline MedicalResult& WithChannelId(const char* value) { SetChannelId(value); return *this;}
122 private:
123
124 Aws::String m_resultId;
125 bool m_resultIdHasBeenSet = false;
126
127 double m_startTime;
128 bool m_startTimeHasBeenSet = false;
129
130 double m_endTime;
131 bool m_endTimeHasBeenSet = false;
132
133 bool m_isPartial;
134 bool m_isPartialHasBeenSet = false;
135
136 Aws::Vector<MedicalAlternative> m_alternatives;
137 bool m_alternativesHasBeenSet = false;
138
139 Aws::String m_channelId;
140 bool m_channelIdHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace TranscribeStreamingService
145} // namespace Aws
MedicalResult & AddAlternatives(const MedicalAlternative &value)
MedicalResult & WithAlternatives(const Aws::Vector< MedicalAlternative > &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalResult & operator=(Aws::Utils::Json::JsonView jsonValue)
MedicalResult & WithChannelId(const char *value)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalResult(Aws::Utils::Json::JsonView jsonValue)
MedicalResult & WithChannelId(Aws::String &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MedicalResult & WithResultId(Aws::String &&value)
void SetAlternatives(const Aws::Vector< MedicalAlternative > &value)
MedicalResult & WithResultId(const Aws::String &value)
const Aws::Vector< MedicalAlternative > & GetAlternatives() const
MedicalResult & WithResultId(const char *value)
MedicalResult & WithAlternatives(Aws::Vector< MedicalAlternative > &&value)
MedicalResult & WithChannelId(const Aws::String &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalResult()
void SetAlternatives(Aws::Vector< MedicalAlternative > &&value)
MedicalResult & AddAlternatives(MedicalAlternative &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue