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>
23namespace TranscribeStreamingService
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>
65 inline void SetStartTime(
double value) { m_startTimeHasBeenSet =
true; m_startTime = value; }
75 inline void SetEndTime(
double value) { m_endTimeHasBeenSet =
true; m_endTime = value; }
87 inline void SetIsPartial(
bool value) { m_isPartialHasBeenSet =
true; m_isPartial = value; }
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>>
103 template<
typename AlternativesT = MedicalAlternative>
104 MedicalResult&
AddAlternatives(AlternativesT&& value) { m_alternativesHasBeenSet =
true; m_alternatives.emplace_back(std::forward<AlternativesT>(value));
return *
this; }
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>
121 bool m_resultIdHasBeenSet =
false;
123 double m_startTime{0.0};
124 bool m_startTimeHasBeenSet =
false;
126 double m_endTime{0.0};
127 bool m_endTimeHasBeenSet =
false;
129 bool m_isPartial{
false};
130 bool m_isPartialHasBeenSet =
false;
133 bool m_alternativesHasBeenSet =
false;
136 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