7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/transcribestreaming/model/ItemType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace TranscribeStreamingService
37 AWS_TRANSCRIBESTREAMINGSERVICE_API
Item() =
default;
50 inline void SetStartTime(
double value) { m_startTimeHasBeenSet =
true; m_startTime = value; }
61 inline void SetEndTime(
double value) { m_endTimeHasBeenSet =
true; m_endTime = value; }
82 template<
typename ContentT = Aws::String>
83 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
84 template<
typename ContentT = Aws::String>
96 inline void SetVocabularyFilterMatch(
bool value) { m_vocabularyFilterMatchHasBeenSet =
true; m_vocabularyFilterMatch = value; }
107 template<
typename SpeakerT = Aws::String>
108 void SetSpeaker(SpeakerT&& value) { m_speakerHasBeenSet =
true; m_speaker = std::forward<SpeakerT>(value); }
109 template<
typename SpeakerT = Aws::String>
122 inline void SetConfidence(
double value) { m_confidenceHasBeenSet =
true; m_confidence = value; }
134 inline void SetStable(
bool value) { m_stableHasBeenSet =
true; m_stable = value; }
139 double m_startTime{0.0};
140 bool m_startTimeHasBeenSet =
false;
142 double m_endTime{0.0};
143 bool m_endTimeHasBeenSet =
false;
146 bool m_typeHasBeenSet =
false;
149 bool m_contentHasBeenSet =
false;
151 bool m_vocabularyFilterMatch{
false};
152 bool m_vocabularyFilterMatchHasBeenSet =
false;
155 bool m_speakerHasBeenSet =
false;
157 double m_confidence{0.0};
158 bool m_confidenceHasBeenSet =
false;
160 bool m_stable{
false};
161 bool m_stableHasBeenSet =
false;
bool VocabularyFilterMatchHasBeenSet() const
AWS_TRANSCRIBESTREAMINGSERVICE_API Item & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(ItemType value)
void SetSpeaker(SpeakerT &&value)
double GetStartTime() const
const Aws::String & GetSpeaker() const
AWS_TRANSCRIBESTREAMINGSERVICE_API Item()=default
bool ContentHasBeenSet() const
Item & WithEndTime(double value)
void SetStartTime(double value)
double GetConfidence() const
Item & WithSpeaker(SpeakerT &&value)
Item & WithStable(bool value)
void SetContent(ContentT &&value)
bool SpeakerHasBeenSet() const
void SetConfidence(double value)
void SetEndTime(double value)
bool StableHasBeenSet() const
void SetVocabularyFilterMatch(bool value)
bool GetVocabularyFilterMatch() const
AWS_TRANSCRIBESTREAMINGSERVICE_API Item(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
bool ConfidenceHasBeenSet() const
double GetEndTime() const
Item & WithVocabularyFilterMatch(bool value)
bool StartTimeHasBeenSet() const
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Item & WithType(ItemType value)
Item & WithContent(ContentT &&value)
Item & WithStartTime(double value)
bool EndTimeHasBeenSet() const
const Aws::String & GetContent() const
Item & WithConfidence(double value)
void SetStable(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue