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/LanguageCode.h>
11#include <aws/transcribestreaming/model/Alternative.h>
12#include <aws/transcribestreaming/model/LanguageWithScore.h>
25namespace TranscribeStreamingService
43 AWS_TRANSCRIBESTREAMINGSERVICE_API
Result();
57 inline void SetResultId(
const char* value) { m_resultIdHasBeenSet =
true; m_resultId.assign(value); }
69 inline void SetStartTime(
double value) { m_startTimeHasBeenSet =
true; m_startTime = value; }
79 inline void SetEndTime(
double value) { m_endTimeHasBeenSet =
true; m_endTime = value; }
91 inline void SetIsPartial(
bool value) { m_isPartialHasBeenSet =
true; m_isPartial = value; }
119 inline void SetChannelId(
const char* value) { m_channelIdHasBeenSet =
true; m_channelId.assign(value); }
156 bool m_resultIdHasBeenSet =
false;
159 bool m_startTimeHasBeenSet =
false;
162 bool m_endTimeHasBeenSet =
false;
165 bool m_isPartialHasBeenSet =
false;
168 bool m_alternativesHasBeenSet =
false;
171 bool m_channelIdHasBeenSet =
false;
174 bool m_languageCodeHasBeenSet =
false;
177 bool m_languageIdentificationHasBeenSet =
false;
const Aws::String & GetResultId() const
bool GetIsPartial() const
bool LanguageCodeHasBeenSet() const
bool ChannelIdHasBeenSet() const
AWS_TRANSCRIBESTREAMINGSERVICE_API Result(Aws::Utils::Json::JsonView jsonValue)
Result & WithLanguageCode(const LanguageCode &value)
Result & WithIsPartial(bool value)
void SetResultId(Aws::String &&value)
Result & WithResultId(const Aws::String &value)
Result & WithStartTime(double value)
Result & WithLanguageIdentification(const Aws::Vector< LanguageWithScore > &value)
Result & WithChannelId(const Aws::String &value)
void SetChannelId(const char *value)
Result & WithAlternatives(const Aws::Vector< Alternative > &value)
bool IsPartialHasBeenSet() const
AWS_TRANSCRIBESTREAMINGSERVICE_API Result & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StartTimeHasBeenSet() const
Result & WithChannelId(Aws::String &&value)
Result & WithAlternatives(Aws::Vector< Alternative > &&value)
Result & WithEndTime(double value)
Result & WithChannelId(const char *value)
void SetLanguageCode(LanguageCode &&value)
bool ResultIdHasBeenSet() const
void SetEndTime(double value)
bool LanguageIdentificationHasBeenSet() const
AWS_TRANSCRIBESTREAMINGSERVICE_API Result()
double GetEndTime() const
void SetResultId(const char *value)
void SetLanguageIdentification(const Aws::Vector< LanguageWithScore > &value)
const LanguageCode & GetLanguageCode() const
Result & AddAlternatives(Alternative &&value)
void SetStartTime(double value)
Result & AddAlternatives(const Alternative &value)
Result & WithResultId(const char *value)
void SetAlternatives(const Aws::Vector< Alternative > &value)
Result & WithResultId(Aws::String &&value)
Result & AddLanguageIdentification(LanguageWithScore &&value)
Result & AddLanguageIdentification(const LanguageWithScore &value)
void SetChannelId(Aws::String &&value)
void SetChannelId(const Aws::String &value)
void SetResultId(const Aws::String &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool AlternativesHasBeenSet() const
double GetStartTime() const
Result & WithLanguageIdentification(Aws::Vector< LanguageWithScore > &&value)
void SetLanguageCode(const LanguageCode &value)
void SetIsPartial(bool value)
Result & WithLanguageCode(LanguageCode &&value)
const Aws::Vector< Alternative > & GetAlternatives() const
void SetAlternatives(Aws::Vector< Alternative > &&value)
const Aws::String & GetChannelId() const
const Aws::Vector< LanguageWithScore > & GetLanguageIdentification() const
void SetLanguageIdentification(Aws::Vector< LanguageWithScore > &&value)
bool EndTimeHasBeenSet() 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