7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
10#include <aws/transcribestreaming/model/MedicalAlternative.h>
21namespace TranscribeStreamingService {
47 template <
typename ResultIdT = Aws::String>
49 m_resultIdHasBeenSet =
true;
50 m_resultId = std::forward<ResultIdT>(value);
52 template <
typename ResultIdT = Aws::String>
66 m_startTimeHasBeenSet =
true;
82 m_endTimeHasBeenSet =
true;
100 m_isPartialHasBeenSet =
true;
117 template <
typename AlternativesT = Aws::Vector<MedicalAlternative>>
119 m_alternativesHasBeenSet =
true;
120 m_alternatives = std::forward<AlternativesT>(value);
122 template <
typename AlternativesT = Aws::Vector<MedicalAlternative>>
127 template <
typename AlternativesT = MedicalAlternative>
129 m_alternativesHasBeenSet =
true;
130 m_alternatives.emplace_back(std::forward<AlternativesT>(value));
141 template <
typename ChannelIdT = Aws::String>
143 m_channelIdHasBeenSet =
true;
144 m_channelId = std::forward<ChannelIdT>(value);
146 template <
typename ChannelIdT = Aws::String>
155 double m_startTime{0.0};
157 double m_endTime{0.0};
159 bool m_isPartial{
false};
164 bool m_resultIdHasBeenSet =
false;
165 bool m_startTimeHasBeenSet =
false;
166 bool m_endTimeHasBeenSet =
false;
167 bool m_isPartialHasBeenSet =
false;
168 bool m_alternativesHasBeenSet =
false;
169 bool m_channelIdHasBeenSet =
false;
bool GetIsPartial() const
MedicalResult & WithEndTime(double value)
bool EndTimeHasBeenSet() const
bool StartTimeHasBeenSet() const
void SetResultId(ResultIdT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetChannelId(ChannelIdT &&value)
double GetEndTime() const
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalResult(Aws::Utils::Json::JsonView jsonValue)
double GetStartTime() const
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalResult()=default
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MedicalResult & AddAlternatives(AlternativesT &&value)
void SetAlternatives(AlternativesT &&value)
const Aws::String & GetChannelId() const
bool IsPartialHasBeenSet() const
bool ChannelIdHasBeenSet() const
MedicalResult & WithStartTime(double value)
MedicalResult & WithIsPartial(bool value)
void SetEndTime(double value)
void SetStartTime(double value)
bool AlternativesHasBeenSet() const
const Aws::Vector< MedicalAlternative > & GetAlternatives() const
void SetIsPartial(bool value)
MedicalResult & WithChannelId(ChannelIdT &&value)
MedicalResult & WithResultId(ResultIdT &&value)
MedicalResult & WithAlternatives(AlternativesT &&value)
bool ResultIdHasBeenSet() const
const Aws::String & GetResultId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue