AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
Transcript.h
1
6#pragma once
7#include <aws/connect-contact-lens/ConnectContactLens_EXPORTS.h>
8#include <aws/connect-contact-lens/model/IssueDetected.h>
9#include <aws/connect-contact-lens/model/SentimentValue.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConnectContactLens {
23namespace Model {
24
31 public:
32 AWS_CONNECTCONTACTLENS_API Transcript() = default;
33 AWS_CONNECTCONTACTLENS_API Transcript(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECTCONTACTLENS_API Transcript& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
49 Transcript& WithId(IdT&& value) {
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
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) {
63 m_participantIdHasBeenSet = true;
64 m_participantId = std::forward<ParticipantIdT>(value);
65 }
66 template <typename ParticipantIdT = Aws::String>
67 Transcript& WithParticipantId(ParticipantIdT&& value) {
68 SetParticipantId(std::forward<ParticipantIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetParticipantRole() const { return m_participantRole; }
78 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
79 template <typename ParticipantRoleT = Aws::String>
80 void SetParticipantRole(ParticipantRoleT&& value) {
81 m_participantRoleHasBeenSet = true;
82 m_participantRole = std::forward<ParticipantRoleT>(value);
83 }
84 template <typename ParticipantRoleT = Aws::String>
85 Transcript& WithParticipantRole(ParticipantRoleT&& value) {
86 SetParticipantRole(std::forward<ParticipantRoleT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetContent() const { return m_content; }
96 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
97 template <typename ContentT = Aws::String>
98 void SetContent(ContentT&& value) {
99 m_contentHasBeenSet = true;
100 m_content = std::forward<ContentT>(value);
101 }
102 template <typename ContentT = Aws::String>
103 Transcript& WithContent(ContentT&& value) {
104 SetContent(std::forward<ContentT>(value));
105 return *this;
106 }
108
110
113 inline int GetBeginOffsetMillis() const { return m_beginOffsetMillis; }
114 inline bool BeginOffsetMillisHasBeenSet() const { return m_beginOffsetMillisHasBeenSet; }
115 inline void SetBeginOffsetMillis(int value) {
116 m_beginOffsetMillisHasBeenSet = true;
117 m_beginOffsetMillis = value;
118 }
121 return *this;
122 }
124
126
129 inline int GetEndOffsetMillis() const { return m_endOffsetMillis; }
130 inline bool EndOffsetMillisHasBeenSet() const { return m_endOffsetMillisHasBeenSet; }
131 inline void SetEndOffsetMillis(int value) {
132 m_endOffsetMillisHasBeenSet = true;
133 m_endOffsetMillis = value;
134 }
135 inline Transcript& WithEndOffsetMillis(int value) {
136 SetEndOffsetMillis(value);
137 return *this;
138 }
140
142
145 inline SentimentValue GetSentiment() const { return m_sentiment; }
146 inline bool SentimentHasBeenSet() const { return m_sentimentHasBeenSet; }
147 inline void SetSentiment(SentimentValue value) {
148 m_sentimentHasBeenSet = true;
149 m_sentiment = value;
150 }
152 SetSentiment(value);
153 return *this;
154 }
156
158
161 inline const Aws::Vector<IssueDetected>& GetIssuesDetected() const { return m_issuesDetected; }
162 inline bool IssuesDetectedHasBeenSet() const { return m_issuesDetectedHasBeenSet; }
163 template <typename IssuesDetectedT = Aws::Vector<IssueDetected>>
164 void SetIssuesDetected(IssuesDetectedT&& value) {
165 m_issuesDetectedHasBeenSet = true;
166 m_issuesDetected = std::forward<IssuesDetectedT>(value);
167 }
168 template <typename IssuesDetectedT = Aws::Vector<IssueDetected>>
169 Transcript& WithIssuesDetected(IssuesDetectedT&& value) {
170 SetIssuesDetected(std::forward<IssuesDetectedT>(value));
171 return *this;
172 }
173 template <typename IssuesDetectedT = IssueDetected>
174 Transcript& AddIssuesDetected(IssuesDetectedT&& value) {
175 m_issuesDetectedHasBeenSet = true;
176 m_issuesDetected.emplace_back(std::forward<IssuesDetectedT>(value));
177 return *this;
178 }
180 private:
181 Aws::String m_id;
182
183 Aws::String m_participantId;
184
185 Aws::String m_participantRole;
186
187 Aws::String m_content;
188
189 int m_beginOffsetMillis{0};
190
191 int m_endOffsetMillis{0};
192
194
195 Aws::Vector<IssueDetected> m_issuesDetected;
196 bool m_idHasBeenSet = false;
197 bool m_participantIdHasBeenSet = false;
198 bool m_participantRoleHasBeenSet = false;
199 bool m_contentHasBeenSet = false;
200 bool m_beginOffsetMillisHasBeenSet = false;
201 bool m_endOffsetMillisHasBeenSet = false;
202 bool m_sentimentHasBeenSet = false;
203 bool m_issuesDetectedHasBeenSet = false;
204};
205
206} // namespace Model
207} // namespace ConnectContactLens
208} // namespace Aws
AWS_CONNECTCONTACTLENS_API Transcript()=default
const Aws::Vector< IssueDetected > & GetIssuesDetected() const
Definition Transcript.h:161
Transcript & WithContent(ContentT &&value)
Definition Transcript.h:103
const Aws::String & GetId() const
Definition Transcript.h:41
Transcript & WithIssuesDetected(IssuesDetectedT &&value)
Definition Transcript.h:169
void SetSentiment(SentimentValue value)
Definition Transcript.h:147
Transcript & WithParticipantRole(ParticipantRoleT &&value)
Definition Transcript.h:85
Transcript & WithEndOffsetMillis(int value)
Definition Transcript.h:135
void SetParticipantId(ParticipantIdT &&value)
Definition Transcript.h:62
Transcript & WithBeginOffsetMillis(int value)
Definition Transcript.h:119
void SetIssuesDetected(IssuesDetectedT &&value)
Definition Transcript.h:164
const Aws::String & GetParticipantId() const
Definition Transcript.h:59
void SetParticipantRole(ParticipantRoleT &&value)
Definition Transcript.h:80
Transcript & AddIssuesDetected(IssuesDetectedT &&value)
Definition Transcript.h:174
AWS_CONNECTCONTACTLENS_API Transcript & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetParticipantRole() const
Definition Transcript.h:77
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:151
Transcript & WithParticipantId(ParticipantIdT &&value)
Definition Transcript.h:67
const Aws::String & GetContent() const
Definition Transcript.h:95
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue