AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
Transcript.h
1
6#pragma once
7#include <aws/connect-contact-lens/ConnectContactLens_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect-contact-lens/model/SentimentValue.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/connect-contact-lens/model/IssueDetected.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ConnectContactLens
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_CONNECTCONTACTLENS_API Transcript() = default;
38 AWS_CONNECTCONTACTLENS_API Transcript(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECTCONTACTLENS_API Transcript& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const { return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 Transcript& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetParticipantId() const { return m_participantId; }
60 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
61 template<typename ParticipantIdT = Aws::String>
62 void SetParticipantId(ParticipantIdT&& value) { m_participantIdHasBeenSet = true; m_participantId = std::forward<ParticipantIdT>(value); }
63 template<typename ParticipantIdT = Aws::String>
64 Transcript& WithParticipantId(ParticipantIdT&& value) { SetParticipantId(std::forward<ParticipantIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetParticipantRole() const { return m_participantRole; }
72 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
73 template<typename ParticipantRoleT = Aws::String>
74 void SetParticipantRole(ParticipantRoleT&& value) { m_participantRoleHasBeenSet = true; m_participantRole = std::forward<ParticipantRoleT>(value); }
75 template<typename ParticipantRoleT = Aws::String>
76 Transcript& WithParticipantRole(ParticipantRoleT&& value) { SetParticipantRole(std::forward<ParticipantRoleT>(value)); return *this;}
78
80
83 inline const Aws::String& GetContent() const { return m_content; }
84 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
85 template<typename ContentT = Aws::String>
86 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
87 template<typename ContentT = Aws::String>
88 Transcript& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
90
92
95 inline int GetBeginOffsetMillis() const { return m_beginOffsetMillis; }
96 inline bool BeginOffsetMillisHasBeenSet() const { return m_beginOffsetMillisHasBeenSet; }
97 inline void SetBeginOffsetMillis(int value) { m_beginOffsetMillisHasBeenSet = true; m_beginOffsetMillis = value; }
98 inline Transcript& WithBeginOffsetMillis(int value) { SetBeginOffsetMillis(value); return *this;}
100
102
105 inline int GetEndOffsetMillis() const { return m_endOffsetMillis; }
106 inline bool EndOffsetMillisHasBeenSet() const { return m_endOffsetMillisHasBeenSet; }
107 inline void SetEndOffsetMillis(int value) { m_endOffsetMillisHasBeenSet = true; m_endOffsetMillis = value; }
108 inline Transcript& WithEndOffsetMillis(int value) { SetEndOffsetMillis(value); return *this;}
110
112
115 inline SentimentValue GetSentiment() const { return m_sentiment; }
116 inline bool SentimentHasBeenSet() const { return m_sentimentHasBeenSet; }
117 inline void SetSentiment(SentimentValue value) { m_sentimentHasBeenSet = true; m_sentiment = value; }
118 inline Transcript& WithSentiment(SentimentValue value) { SetSentiment(value); return *this;}
120
122
125 inline const Aws::Vector<IssueDetected>& GetIssuesDetected() const { return m_issuesDetected; }
126 inline bool IssuesDetectedHasBeenSet() const { return m_issuesDetectedHasBeenSet; }
127 template<typename IssuesDetectedT = Aws::Vector<IssueDetected>>
128 void SetIssuesDetected(IssuesDetectedT&& value) { m_issuesDetectedHasBeenSet = true; m_issuesDetected = std::forward<IssuesDetectedT>(value); }
129 template<typename IssuesDetectedT = Aws::Vector<IssueDetected>>
130 Transcript& WithIssuesDetected(IssuesDetectedT&& value) { SetIssuesDetected(std::forward<IssuesDetectedT>(value)); return *this;}
131 template<typename IssuesDetectedT = IssueDetected>
132 Transcript& AddIssuesDetected(IssuesDetectedT&& value) { m_issuesDetectedHasBeenSet = true; m_issuesDetected.emplace_back(std::forward<IssuesDetectedT>(value)); return *this; }
134 private:
135
136 Aws::String m_id;
137 bool m_idHasBeenSet = false;
138
139 Aws::String m_participantId;
140 bool m_participantIdHasBeenSet = false;
141
142 Aws::String m_participantRole;
143 bool m_participantRoleHasBeenSet = false;
144
145 Aws::String m_content;
146 bool m_contentHasBeenSet = false;
147
148 int m_beginOffsetMillis{0};
149 bool m_beginOffsetMillisHasBeenSet = false;
150
151 int m_endOffsetMillis{0};
152 bool m_endOffsetMillisHasBeenSet = false;
153
155 bool m_sentimentHasBeenSet = false;
156
157 Aws::Vector<IssueDetected> m_issuesDetected;
158 bool m_issuesDetectedHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace ConnectContactLens
163} // namespace Aws
AWS_CONNECTCONTACTLENS_API Transcript()=default
const Aws::Vector< IssueDetected > & GetIssuesDetected() const
Definition Transcript.h:125
Transcript & WithContent(ContentT &&value)
Definition Transcript.h:88
const Aws::String & GetId() const
Definition Transcript.h:47
Transcript & WithIssuesDetected(IssuesDetectedT &&value)
Definition Transcript.h:130
void SetSentiment(SentimentValue value)
Definition Transcript.h:117
Transcript & WithParticipantRole(ParticipantRoleT &&value)
Definition Transcript.h:76
Transcript & WithEndOffsetMillis(int value)
Definition Transcript.h:108
void SetParticipantId(ParticipantIdT &&value)
Definition Transcript.h:62
Transcript & WithBeginOffsetMillis(int value)
Definition Transcript.h:98
void SetIssuesDetected(IssuesDetectedT &&value)
Definition Transcript.h:128
const Aws::String & GetParticipantId() const
Definition Transcript.h:59
void SetParticipantRole(ParticipantRoleT &&value)
Definition Transcript.h:74
Transcript & AddIssuesDetected(IssuesDetectedT &&value)
Definition Transcript.h:132
AWS_CONNECTCONTACTLENS_API Transcript & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetParticipantRole() const
Definition Transcript.h:71
AWS_CONNECTCONTACTLENS_API Transcript(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const
Transcript & WithSentiment(SentimentValue value)
Definition Transcript.h:118
Transcript & WithParticipantId(ParticipantIdT &&value)
Definition Transcript.h:64
const Aws::String & GetContent() const
Definition Transcript.h:83
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue