7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/transcribestreaming/model/ParticipantRole.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/transcribestreaming/model/Sentiment.h>
12#include <aws/transcribestreaming/model/CallAnalyticsLanguageCode.h>
13#include <aws/transcribestreaming/model/CallAnalyticsItem.h>
14#include <aws/transcribestreaming/model/CallAnalyticsEntity.h>
15#include <aws/transcribestreaming/model/IssueDetected.h>
16#include <aws/transcribestreaming/model/CallAnalyticsLanguageWithScore.h>
29namespace TranscribeStreamingService
58 template<
typename UtteranceIdT = Aws::String>
59 void SetUtteranceId(UtteranceIdT&& value) { m_utteranceIdHasBeenSet =
true; m_utteranceId = std::forward<UtteranceIdT>(value); }
60 template<
typename UtteranceIdT = Aws::String>
71 inline void SetIsPartial(
bool value) { m_isPartialHasBeenSet =
true; m_isPartial = value; }
93 inline void SetBeginOffsetMillis(
long long value) { m_beginOffsetMillisHasBeenSet =
true; m_beginOffsetMillis = value; }
104 inline void SetEndOffsetMillis(
long long value) { m_endOffsetMillisHasBeenSet =
true; m_endOffsetMillis = value; }
114 template<
typename TranscriptT = Aws::String>
115 void SetTranscript(TranscriptT&& value) { m_transcriptHasBeenSet =
true; m_transcript = std::forward<TranscriptT>(value); }
116 template<
typename TranscriptT = Aws::String>
127 template<
typename ItemsT = Aws::Vector<CallAnalyticsItem>>
128 void SetItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items = std::forward<ItemsT>(value); }
129 template<
typename ItemsT = Aws::Vector<CallAnalyticsItem>>
131 template<
typename ItemsT = CallAnalyticsItem>
132 UtteranceEvent&
AddItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items.emplace_back(std::forward<ItemsT>(value));
return *
this; }
142 template<
typename EntitiesT = Aws::Vector<CallAnalyticsEntity>>
143 void SetEntities(EntitiesT&& value) { m_entitiesHasBeenSet =
true; m_entities = std::forward<EntitiesT>(value); }
144 template<
typename EntitiesT = Aws::Vector<CallAnalyticsEntity>>
146 template<
typename EntitiesT = CallAnalyticsEntity>
147 UtteranceEvent&
AddEntities(EntitiesT&& value) { m_entitiesHasBeenSet =
true; m_entities.emplace_back(std::forward<EntitiesT>(value));
return *
this; }
166 template<
typename IssuesDetectedT = Aws::Vector<IssueDetected>>
167 void SetIssuesDetected(IssuesDetectedT&& value) { m_issuesDetectedHasBeenSet =
true; m_issuesDetected = std::forward<IssuesDetectedT>(value); }
168 template<
typename IssuesDetectedT = Aws::Vector<IssueDetected>>
170 template<
typename IssuesDetectedT = IssueDetected>
171 UtteranceEvent&
AddIssuesDetected(IssuesDetectedT&& value) { m_issuesDetectedHasBeenSet =
true; m_issuesDetected.emplace_back(std::forward<IssuesDetectedT>(value));
return *
this; }
191 template<
typename LanguageIdentificationT = Aws::Vector<CallAnalyticsLanguageWithScore>>
192 void SetLanguageIdentification(LanguageIdentificationT&& value) { m_languageIdentificationHasBeenSet =
true; m_languageIdentification = std::forward<LanguageIdentificationT>(value); }
193 template<
typename LanguageIdentificationT = Aws::Vector<CallAnalyticsLanguageWithScore>>
195 template<
typename LanguageIdentificationT = CallAnalyticsLanguageWithScore>
196 UtteranceEvent&
AddLanguageIdentification(LanguageIdentificationT&& value) { m_languageIdentificationHasBeenSet =
true; m_languageIdentification.emplace_back(std::forward<LanguageIdentificationT>(value));
return *
this; }
201 bool m_utteranceIdHasBeenSet =
false;
203 bool m_isPartial{
false};
204 bool m_isPartialHasBeenSet =
false;
207 bool m_participantRoleHasBeenSet =
false;
209 long long m_beginOffsetMillis{0};
210 bool m_beginOffsetMillisHasBeenSet =
false;
212 long long m_endOffsetMillis{0};
213 bool m_endOffsetMillisHasBeenSet =
false;
216 bool m_transcriptHasBeenSet =
false;
219 bool m_itemsHasBeenSet =
false;
222 bool m_entitiesHasBeenSet =
false;
225 bool m_sentimentHasBeenSet =
false;
228 bool m_issuesDetectedHasBeenSet =
false;
231 bool m_languageCodeHasBeenSet =
false;
234 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