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/CallAnalyticsEntity.h>
11#include <aws/transcribestreaming/model/CallAnalyticsItem.h>
12#include <aws/transcribestreaming/model/CallAnalyticsLanguageCode.h>
13#include <aws/transcribestreaming/model/CallAnalyticsLanguageWithScore.h>
14#include <aws/transcribestreaming/model/IssueDetected.h>
15#include <aws/transcribestreaming/model/ParticipantRole.h>
16#include <aws/transcribestreaming/model/Sentiment.h>
27namespace TranscribeStreamingService {
52 template <
typename UtteranceIdT = Aws::String>
54 m_utteranceIdHasBeenSet =
true;
55 m_utteranceId = std::forward<UtteranceIdT>(value);
57 template <
typename UtteranceIdT = Aws::String>
72 m_isPartialHasBeenSet =
true;
89 m_participantRoleHasBeenSet =
true;
90 m_participantRole = value;
106 m_beginOffsetMillisHasBeenSet =
true;
107 m_beginOffsetMillis = value;
123 m_endOffsetMillisHasBeenSet =
true;
124 m_endOffsetMillis = value;
138 template <
typename TranscriptT = Aws::String>
140 m_transcriptHasBeenSet =
true;
141 m_transcript = std::forward<TranscriptT>(value);
143 template <
typename TranscriptT = Aws::String>
157 template <
typename ItemsT = Aws::Vector<CallAnalyticsItem>>
159 m_itemsHasBeenSet =
true;
160 m_items = std::forward<ItemsT>(value);
162 template <
typename ItemsT = Aws::Vector<CallAnalyticsItem>>
164 SetItems(std::forward<ItemsT>(value));
167 template <
typename ItemsT = CallAnalyticsItem>
169 m_itemsHasBeenSet =
true;
170 m_items.emplace_back(std::forward<ItemsT>(value));
182 template <
typename EntitiesT = Aws::Vector<CallAnalyticsEntity>>
184 m_entitiesHasBeenSet =
true;
185 m_entities = std::forward<EntitiesT>(value);
187 template <
typename EntitiesT = Aws::Vector<CallAnalyticsEntity>>
192 template <
typename EntitiesT = CallAnalyticsEntity>
194 m_entitiesHasBeenSet =
true;
195 m_entities.emplace_back(std::forward<EntitiesT>(value));
207 m_sentimentHasBeenSet =
true;
222 template <
typename IssuesDetectedT = Aws::Vector<IssueDetected>>
224 m_issuesDetectedHasBeenSet =
true;
225 m_issuesDetected = std::forward<IssuesDetectedT>(value);
227 template <
typename IssuesDetectedT = Aws::Vector<IssueDetected>>
232 template <
typename IssuesDetectedT = IssueDetected>
234 m_issuesDetectedHasBeenSet =
true;
235 m_issuesDetected.emplace_back(std::forward<IssuesDetectedT>(value));
248 m_languageCodeHasBeenSet =
true;
249 m_languageCode = value;
263 template <
typename LanguageIdentificationT = Aws::Vector<CallAnalyticsLanguageWithScore>>
265 m_languageIdentificationHasBeenSet =
true;
266 m_languageIdentification = std::forward<LanguageIdentificationT>(value);
268 template <
typename LanguageIdentificationT = Aws::Vector<CallAnalyticsLanguageWithScore>>
273 template <
typename LanguageIdentificationT = CallAnalyticsLanguageWithScore>
275 m_languageIdentificationHasBeenSet =
true;
276 m_languageIdentification.emplace_back(std::forward<LanguageIdentificationT>(value));
283 bool m_isPartial{
false};
287 long long m_beginOffsetMillis{0};
289 long long m_endOffsetMillis{0};
304 bool m_utteranceIdHasBeenSet =
false;
305 bool m_isPartialHasBeenSet =
false;
306 bool m_participantRoleHasBeenSet =
false;
307 bool m_beginOffsetMillisHasBeenSet =
false;
308 bool m_endOffsetMillisHasBeenSet =
false;
309 bool m_transcriptHasBeenSet =
false;
310 bool m_itemsHasBeenSet =
false;
311 bool m_entitiesHasBeenSet =
false;
312 bool m_sentimentHasBeenSet =
false;
313 bool m_issuesDetectedHasBeenSet =
false;
314 bool m_languageCodeHasBeenSet =
false;
315 bool m_languageIdentificationHasBeenSet =
false;
AWS_TRANSCRIBESTREAMINGSERVICE_API UtteranceEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetEndOffsetMillis() const
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
UtteranceEvent & WithParticipantRole(ParticipantRole value)
UtteranceEvent & AddIssuesDetected(IssuesDetectedT &&value)
bool EndOffsetMillisHasBeenSet() const
bool TranscriptHasBeenSet() const
const Aws::String & GetTranscript() const
UtteranceEvent & WithEntities(EntitiesT &&value)
void SetLanguageIdentification(LanguageIdentificationT &&value)
void SetUtteranceId(UtteranceIdT &&value)
long long GetBeginOffsetMillis() const
const Aws::Vector< CallAnalyticsEntity > & GetEntities() const
bool GetIsPartial() const
UtteranceEvent & WithIssuesDetected(IssuesDetectedT &&value)
bool LanguageCodeHasBeenSet() const
bool ParticipantRoleHasBeenSet() const
UtteranceEvent & WithSentiment(Sentiment value)
UtteranceEvent & WithBeginOffsetMillis(long long value)
void SetTranscript(TranscriptT &&value)
bool SentimentHasBeenSet() const
UtteranceEvent & WithIsPartial(bool value)
UtteranceEvent & AddItems(ItemsT &&value)
const Aws::Vector< CallAnalyticsLanguageWithScore > & GetLanguageIdentification() const
void SetParticipantRole(ParticipantRole value)
UtteranceEvent & AddEntities(EntitiesT &&value)
bool ItemsHasBeenSet() const
bool BeginOffsetMillisHasBeenSet() const
AWS_TRANSCRIBESTREAMINGSERVICE_API UtteranceEvent()=default
void SetIssuesDetected(IssuesDetectedT &&value)
void SetEntities(EntitiesT &&value)
bool UtteranceIdHasBeenSet() const
void SetSentiment(Sentiment value)
UtteranceEvent & WithLanguageCode(CallAnalyticsLanguageCode value)
const Aws::Vector< IssueDetected > & GetIssuesDetected() const
UtteranceEvent & WithItems(ItemsT &&value)
const Aws::String & GetUtteranceId() const
bool EntitiesHasBeenSet() const
void SetLanguageCode(CallAnalyticsLanguageCode value)
UtteranceEvent & AddLanguageIdentification(LanguageIdentificationT &&value)
UtteranceEvent & WithEndOffsetMillis(long long value)
AWS_TRANSCRIBESTREAMINGSERVICE_API UtteranceEvent(Aws::Utils::Json::JsonView jsonValue)
UtteranceEvent & WithUtteranceId(UtteranceIdT &&value)
void SetBeginOffsetMillis(long long value)
bool IsPartialHasBeenSet() const
CallAnalyticsLanguageCode GetLanguageCode() const
UtteranceEvent & WithTranscript(TranscriptT &&value)
Sentiment GetSentiment() const
void SetEndOffsetMillis(long long value)
bool LanguageIdentificationHasBeenSet() const
bool IssuesDetectedHasBeenSet() const
UtteranceEvent & WithLanguageIdentification(LanguageIdentificationT &&value)
void SetItems(ItemsT &&value)
const Aws::Vector< CallAnalyticsItem > & GetItems() const
void SetIsPartial(bool value)
ParticipantRole GetParticipantRole() const
CallAnalyticsLanguageCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue