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/CallAnalyticsItem.h>
13#include <aws/transcribestreaming/model/CallAnalyticsEntity.h>
14#include <aws/transcribestreaming/model/IssueDetected.h>
27namespace TranscribeStreamingService
58 inline void SetUtteranceId(
const char* value) { m_utteranceIdHasBeenSet =
true; m_utteranceId.assign(value); }
71 inline void SetIsPartial(
bool value) { m_isPartialHasBeenSet =
true; m_isPartial = value; }
95 inline void SetBeginOffsetMillis(
long long value) { m_beginOffsetMillisHasBeenSet =
true; m_beginOffsetMillis = value; }
106 inline void SetEndOffsetMillis(
long long value) { m_endOffsetMillisHasBeenSet =
true; m_endOffsetMillis = value; }
118 inline void SetTranscript(
const char* value) { m_transcriptHasBeenSet =
true; m_transcript.assign(value); }
182 bool m_utteranceIdHasBeenSet =
false;
185 bool m_isPartialHasBeenSet =
false;
188 bool m_participantRoleHasBeenSet =
false;
190 long long m_beginOffsetMillis;
191 bool m_beginOffsetMillisHasBeenSet =
false;
193 long long m_endOffsetMillis;
194 bool m_endOffsetMillisHasBeenSet =
false;
197 bool m_transcriptHasBeenSet =
false;
200 bool m_itemsHasBeenSet =
false;
203 bool m_entitiesHasBeenSet =
false;
206 bool m_sentimentHasBeenSet =
false;
209 bool m_issuesDetectedHasBeenSet =
false;
AWS_TRANSCRIBESTREAMINGSERVICE_API UtteranceEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetEndOffsetMillis() const
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEntities(const Aws::Vector< CallAnalyticsEntity > &value)
bool EndOffsetMillisHasBeenSet() const
bool TranscriptHasBeenSet() const
void SetIssuesDetected(Aws::Vector< IssueDetected > &&value)
void SetUtteranceId(const char *value)
const Aws::String & GetTranscript() const
UtteranceEvent & WithTranscript(Aws::String &&value)
long long GetBeginOffsetMillis() const
const Aws::Vector< CallAnalyticsEntity > & GetEntities() const
bool GetIsPartial() const
void SetItems(const Aws::Vector< CallAnalyticsItem > &value)
UtteranceEvent & AddItems(CallAnalyticsItem &&value)
bool ParticipantRoleHasBeenSet() const
void SetTranscript(Aws::String &&value)
UtteranceEvent & WithParticipantRole(ParticipantRole &&value)
UtteranceEvent & WithSentiment(Sentiment &&value)
UtteranceEvent & WithTranscript(const Aws::String &value)
UtteranceEvent & WithBeginOffsetMillis(long long value)
void SetSentiment(Sentiment &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API UtteranceEvent()
UtteranceEvent & AddIssuesDetected(const IssueDetected &value)
UtteranceEvent & WithIssuesDetected(Aws::Vector< IssueDetected > &&value)
UtteranceEvent & WithItems(const Aws::Vector< CallAnalyticsItem > &value)
bool SentimentHasBeenSet() const
UtteranceEvent & WithIsPartial(bool value)
UtteranceEvent & WithUtteranceId(Aws::String &&value)
bool ItemsHasBeenSet() const
bool BeginOffsetMillisHasBeenSet() const
bool UtteranceIdHasBeenSet() const
const Sentiment & GetSentiment() const
UtteranceEvent & WithParticipantRole(const ParticipantRole &value)
const Aws::Vector< IssueDetected > & GetIssuesDetected() const
UtteranceEvent & WithSentiment(const Sentiment &value)
void SetEntities(Aws::Vector< CallAnalyticsEntity > &&value)
UtteranceEvent & AddIssuesDetected(IssueDetected &&value)
const Aws::String & GetUtteranceId() const
bool EntitiesHasBeenSet() const
UtteranceEvent & WithUtteranceId(const char *value)
void SetItems(Aws::Vector< CallAnalyticsItem > &&value)
UtteranceEvent & WithEntities(Aws::Vector< CallAnalyticsEntity > &&value)
void SetTranscript(const char *value)
UtteranceEvent & WithEntities(const Aws::Vector< CallAnalyticsEntity > &value)
void SetIssuesDetected(const Aws::Vector< IssueDetected > &value)
UtteranceEvent & WithEndOffsetMillis(long long value)
void SetSentiment(const Sentiment &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API UtteranceEvent(Aws::Utils::Json::JsonView jsonValue)
void SetBeginOffsetMillis(long long value)
bool IsPartialHasBeenSet() const
UtteranceEvent & WithTranscript(const char *value)
UtteranceEvent & AddEntities(const CallAnalyticsEntity &value)
void SetUtteranceId(Aws::String &&value)
void SetEndOffsetMillis(long long value)
UtteranceEvent & AddEntities(CallAnalyticsEntity &&value)
UtteranceEvent & WithUtteranceId(const Aws::String &value)
UtteranceEvent & WithItems(Aws::Vector< CallAnalyticsItem > &&value)
const ParticipantRole & GetParticipantRole() const
bool IssuesDetectedHasBeenSet() const
UtteranceEvent & WithIssuesDetected(const Aws::Vector< IssueDetected > &value)
const Aws::Vector< CallAnalyticsItem > & GetItems() const
UtteranceEvent & AddItems(const CallAnalyticsItem &value)
void SetParticipantRole(const ParticipantRole &value)
void SetIsPartial(bool value)
void SetUtteranceId(const Aws::String &value)
void SetTranscript(const Aws::String &value)
void SetParticipantRole(ParticipantRole &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue