/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ConnectContactLens { namespace Model { /** *

A list of messages in the session.

See Also:

AWS * API Reference

*/ class Transcript { public: AWS_CONNECTCONTACTLENS_API Transcript(); AWS_CONNECTCONTACTLENS_API Transcript(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECTCONTACTLENS_API Transcript& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The identifier of the transcript.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The identifier of the transcript.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The identifier of the transcript.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The identifier of the transcript.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The identifier of the transcript.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The identifier of the transcript.

*/ inline Transcript& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The identifier of the transcript.

*/ inline Transcript& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The identifier of the transcript.

*/ inline Transcript& WithId(const char* value) { SetId(value); return *this;} /** *

The identifier of the participant.

*/ inline const Aws::String& GetParticipantId() const{ return m_participantId; } /** *

The identifier of the participant.

*/ inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; } /** *

The identifier of the participant.

*/ inline void SetParticipantId(const Aws::String& value) { m_participantIdHasBeenSet = true; m_participantId = value; } /** *

The identifier of the participant.

*/ inline void SetParticipantId(Aws::String&& value) { m_participantIdHasBeenSet = true; m_participantId = std::move(value); } /** *

The identifier of the participant.

*/ inline void SetParticipantId(const char* value) { m_participantIdHasBeenSet = true; m_participantId.assign(value); } /** *

The identifier of the participant.

*/ inline Transcript& WithParticipantId(const Aws::String& value) { SetParticipantId(value); return *this;} /** *

The identifier of the participant.

*/ inline Transcript& WithParticipantId(Aws::String&& value) { SetParticipantId(std::move(value)); return *this;} /** *

The identifier of the participant.

*/ inline Transcript& WithParticipantId(const char* value) { SetParticipantId(value); return *this;} /** *

The role of participant. For example, is it a customer, agent, or system.

*/ inline const Aws::String& GetParticipantRole() const{ return m_participantRole; } /** *

The role of participant. For example, is it a customer, agent, or system.

*/ inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; } /** *

The role of participant. For example, is it a customer, agent, or system.

*/ inline void SetParticipantRole(const Aws::String& value) { m_participantRoleHasBeenSet = true; m_participantRole = value; } /** *

The role of participant. For example, is it a customer, agent, or system.

*/ inline void SetParticipantRole(Aws::String&& value) { m_participantRoleHasBeenSet = true; m_participantRole = std::move(value); } /** *

The role of participant. For example, is it a customer, agent, or system.

*/ inline void SetParticipantRole(const char* value) { m_participantRoleHasBeenSet = true; m_participantRole.assign(value); } /** *

The role of participant. For example, is it a customer, agent, or system.

*/ inline Transcript& WithParticipantRole(const Aws::String& value) { SetParticipantRole(value); return *this;} /** *

The role of participant. For example, is it a customer, agent, or system.

*/ inline Transcript& WithParticipantRole(Aws::String&& value) { SetParticipantRole(std::move(value)); return *this;} /** *

The role of participant. For example, is it a customer, agent, or system.

*/ inline Transcript& WithParticipantRole(const char* value) { SetParticipantRole(value); return *this;} /** *

The content of the transcript.

*/ inline const Aws::String& GetContent() const{ return m_content; } /** *

The content of the transcript.

*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *

The content of the transcript.

*/ inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; } /** *

The content of the transcript.

*/ inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *

The content of the transcript.

*/ inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); } /** *

The content of the transcript.

*/ inline Transcript& WithContent(const Aws::String& value) { SetContent(value); return *this;} /** *

The content of the transcript.

*/ inline Transcript& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} /** *

The content of the transcript.

*/ inline Transcript& WithContent(const char* value) { SetContent(value); return *this;} /** *

The beginning offset in the contact for this transcript.

*/ inline int GetBeginOffsetMillis() const{ return m_beginOffsetMillis; } /** *

The beginning offset in the contact for this transcript.

*/ inline bool BeginOffsetMillisHasBeenSet() const { return m_beginOffsetMillisHasBeenSet; } /** *

The beginning offset in the contact for this transcript.

*/ inline void SetBeginOffsetMillis(int value) { m_beginOffsetMillisHasBeenSet = true; m_beginOffsetMillis = value; } /** *

The beginning offset in the contact for this transcript.

*/ inline Transcript& WithBeginOffsetMillis(int value) { SetBeginOffsetMillis(value); return *this;} /** *

The end offset in the contact for this transcript.

*/ inline int GetEndOffsetMillis() const{ return m_endOffsetMillis; } /** *

The end offset in the contact for this transcript.

*/ inline bool EndOffsetMillisHasBeenSet() const { return m_endOffsetMillisHasBeenSet; } /** *

The end offset in the contact for this transcript.

*/ inline void SetEndOffsetMillis(int value) { m_endOffsetMillisHasBeenSet = true; m_endOffsetMillis = value; } /** *

The end offset in the contact for this transcript.

*/ inline Transcript& WithEndOffsetMillis(int value) { SetEndOffsetMillis(value); return *this;} /** *

The sentiment of the detected for this piece of transcript.

*/ inline const SentimentValue& GetSentiment() const{ return m_sentiment; } /** *

The sentiment of the detected for this piece of transcript.

*/ inline bool SentimentHasBeenSet() const { return m_sentimentHasBeenSet; } /** *

The sentiment of the detected for this piece of transcript.

*/ inline void SetSentiment(const SentimentValue& value) { m_sentimentHasBeenSet = true; m_sentiment = value; } /** *

The sentiment of the detected for this piece of transcript.

*/ inline void SetSentiment(SentimentValue&& value) { m_sentimentHasBeenSet = true; m_sentiment = std::move(value); } /** *

The sentiment of the detected for this piece of transcript.

*/ inline Transcript& WithSentiment(const SentimentValue& value) { SetSentiment(value); return *this;} /** *

The sentiment of the detected for this piece of transcript.

*/ inline Transcript& WithSentiment(SentimentValue&& value) { SetSentiment(std::move(value)); return *this;} /** *

List of positions where issues were detected on the transcript.

*/ inline const Aws::Vector& GetIssuesDetected() const{ return m_issuesDetected; } /** *

List of positions where issues were detected on the transcript.

*/ inline bool IssuesDetectedHasBeenSet() const { return m_issuesDetectedHasBeenSet; } /** *

List of positions where issues were detected on the transcript.

*/ inline void SetIssuesDetected(const Aws::Vector& value) { m_issuesDetectedHasBeenSet = true; m_issuesDetected = value; } /** *

List of positions where issues were detected on the transcript.

*/ inline void SetIssuesDetected(Aws::Vector&& value) { m_issuesDetectedHasBeenSet = true; m_issuesDetected = std::move(value); } /** *

List of positions where issues were detected on the transcript.

*/ inline Transcript& WithIssuesDetected(const Aws::Vector& value) { SetIssuesDetected(value); return *this;} /** *

List of positions where issues were detected on the transcript.

*/ inline Transcript& WithIssuesDetected(Aws::Vector&& value) { SetIssuesDetected(std::move(value)); return *this;} /** *

List of positions where issues were detected on the transcript.

*/ inline Transcript& AddIssuesDetected(const IssueDetected& value) { m_issuesDetectedHasBeenSet = true; m_issuesDetected.push_back(value); return *this; } /** *

List of positions where issues were detected on the transcript.

*/ inline Transcript& AddIssuesDetected(IssueDetected&& value) { m_issuesDetectedHasBeenSet = true; m_issuesDetected.push_back(std::move(value)); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_participantId; bool m_participantIdHasBeenSet = false; Aws::String m_participantRole; bool m_participantRoleHasBeenSet = false; Aws::String m_content; bool m_contentHasBeenSet = false; int m_beginOffsetMillis; bool m_beginOffsetMillisHasBeenSet = false; int m_endOffsetMillis; bool m_endOffsetMillisHasBeenSet = false; SentimentValue m_sentiment; bool m_sentimentHasBeenSet = false; Aws::Vector m_issuesDetected; bool m_issuesDetectedHasBeenSet = false; }; } // namespace Model } // namespace ConnectContactLens } // namespace Aws