AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ResultIdT = Aws::String>
54 void SetResultId(ResultIdT&& value) { m_resultIdHasBeenSet = true; m_resultId = std::forward<ResultIdT>(value); }
55 template<typename ResultIdT = Aws::String>
56 MedicalResult& WithResultId(ResultIdT&& value) { SetResultId(std::forward<ResultIdT>(value)); return *this;}
58
60
63 inline double GetStartTime() const { return m_startTime; }
64 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
65 inline void SetStartTime(double value) { m_startTimeHasBeenSet = true; m_startTime = value; }
66 inline MedicalResult& WithStartTime(double value) { SetStartTime(value); return *this;}
68
70
73 inline double GetEndTime() const { return m_endTime; }
74 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
75 inline void SetEndTime(double value) { m_endTimeHasBeenSet = true; m_endTime = value; }
76 inline MedicalResult& WithEndTime(double value) { SetEndTime(value); return *this;}
78
80
85 inline bool GetIsPartial() const { return m_isPartial; }
86 inline bool IsPartialHasBeenSet() const { return m_isPartialHasBeenSet; }
87 inline void SetIsPartial(bool value) { m_isPartialHasBeenSet = true; m_isPartial = value; }
88 inline MedicalResult& WithIsPartial(bool value) { SetIsPartial(value); return *this;}
90
92
97 inline const Aws::Vector<MedicalAlternative>& GetAlternatives() const { return m_alternatives; }
98 inline bool AlternativesHasBeenSet() const { return m_alternativesHasBeenSet; }
99 template<typename AlternativesT = Aws::Vector<MedicalAlternative>>
100 void SetAlternatives(AlternativesT&& value) { m_alternativesHasBeenSet = true; m_alternatives = std::forward<AlternativesT>(value); }
101 template<typename AlternativesT = Aws::Vector<MedicalAlternative>>
102 MedicalResult& WithAlternatives(AlternativesT&& value) { SetAlternatives(std::forward<AlternativesT>(value)); return *this;}
103 template<typename AlternativesT = MedicalAlternative>
104 MedicalResult& AddAlternatives(AlternativesT&& value) { m_alternativesHasBeenSet = true; m_alternatives.emplace_back(std::forward<AlternativesT>(value)); return *this; }
106
108
111 inline const Aws::String& GetChannelId() const { return m_channelId; }
112 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
113 template<typename ChannelIdT = Aws::String>
114 void SetChannelId(ChannelIdT&& value) { m_channelIdHasBeenSet = true; m_channelId = std::forward<ChannelIdT>(value); }
115 template<typename ChannelIdT = Aws::String>
116 MedicalResult& WithChannelId(ChannelIdT&& value) { SetChannelId(std::forward<ChannelIdT>(value)); return *this;}
118 private:
119
120 Aws::String m_resultId;
121 bool m_resultIdHasBeenSet = false;
122
123 double m_startTime{0.0};
124 bool m_startTimeHasBeenSet = false;
125
126 double m_endTime{0.0};
127 bool m_endTimeHasBeenSet = false;
128
129 bool m_isPartial{false};
130 bool m_isPartialHasBeenSet = false;
131
132 Aws::Vector<MedicalAlternative> m_alternatives;
133 bool m_alternativesHasBeenSet = false;
134
135 Aws::String m_channelId;
136 bool m_channelIdHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace TranscribeStreamingService
141} // namespace Aws
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalResult(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalResult()=default
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MedicalResult & AddAlternatives(AlternativesT &&value)
const Aws::Vector< MedicalAlternative > & GetAlternatives() const
MedicalResult & WithChannelId(ChannelIdT &&value)
MedicalResult & WithResultId(ResultIdT &&value)
MedicalResult & WithAlternatives(AlternativesT &&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