AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline Transcript& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline Transcript& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline Transcript& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetParticipantId() const{ return m_participantId; }
62 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
63 inline void SetParticipantId(const Aws::String& value) { m_participantIdHasBeenSet = true; m_participantId = value; }
64 inline void SetParticipantId(Aws::String&& value) { m_participantIdHasBeenSet = true; m_participantId = std::move(value); }
65 inline void SetParticipantId(const char* value) { m_participantIdHasBeenSet = true; m_participantId.assign(value); }
66 inline Transcript& WithParticipantId(const Aws::String& value) { SetParticipantId(value); return *this;}
67 inline Transcript& WithParticipantId(Aws::String&& value) { SetParticipantId(std::move(value)); return *this;}
68 inline Transcript& WithParticipantId(const char* value) { SetParticipantId(value); return *this;}
70
72
75 inline const Aws::String& GetParticipantRole() const{ return m_participantRole; }
76 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
77 inline void SetParticipantRole(const Aws::String& value) { m_participantRoleHasBeenSet = true; m_participantRole = value; }
78 inline void SetParticipantRole(Aws::String&& value) { m_participantRoleHasBeenSet = true; m_participantRole = std::move(value); }
79 inline void SetParticipantRole(const char* value) { m_participantRoleHasBeenSet = true; m_participantRole.assign(value); }
80 inline Transcript& WithParticipantRole(const Aws::String& value) { SetParticipantRole(value); return *this;}
81 inline Transcript& WithParticipantRole(Aws::String&& value) { SetParticipantRole(std::move(value)); return *this;}
82 inline Transcript& WithParticipantRole(const char* value) { SetParticipantRole(value); return *this;}
84
86
89 inline const Aws::String& GetContent() const{ return m_content; }
90 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
91 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
92 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
93 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
94 inline Transcript& WithContent(const Aws::String& value) { SetContent(value); return *this;}
95 inline Transcript& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
96 inline Transcript& WithContent(const char* value) { SetContent(value); return *this;}
98
100
103 inline int GetBeginOffsetMillis() const{ return m_beginOffsetMillis; }
104 inline bool BeginOffsetMillisHasBeenSet() const { return m_beginOffsetMillisHasBeenSet; }
105 inline void SetBeginOffsetMillis(int value) { m_beginOffsetMillisHasBeenSet = true; m_beginOffsetMillis = value; }
106 inline Transcript& WithBeginOffsetMillis(int value) { SetBeginOffsetMillis(value); return *this;}
108
110
113 inline int GetEndOffsetMillis() const{ return m_endOffsetMillis; }
114 inline bool EndOffsetMillisHasBeenSet() const { return m_endOffsetMillisHasBeenSet; }
115 inline void SetEndOffsetMillis(int value) { m_endOffsetMillisHasBeenSet = true; m_endOffsetMillis = value; }
116 inline Transcript& WithEndOffsetMillis(int value) { SetEndOffsetMillis(value); return *this;}
118
120
123 inline const SentimentValue& GetSentiment() const{ return m_sentiment; }
124 inline bool SentimentHasBeenSet() const { return m_sentimentHasBeenSet; }
125 inline void SetSentiment(const SentimentValue& value) { m_sentimentHasBeenSet = true; m_sentiment = value; }
126 inline void SetSentiment(SentimentValue&& value) { m_sentimentHasBeenSet = true; m_sentiment = std::move(value); }
127 inline Transcript& WithSentiment(const SentimentValue& value) { SetSentiment(value); return *this;}
128 inline Transcript& WithSentiment(SentimentValue&& value) { SetSentiment(std::move(value)); return *this;}
130
132
135 inline const Aws::Vector<IssueDetected>& GetIssuesDetected() const{ return m_issuesDetected; }
136 inline bool IssuesDetectedHasBeenSet() const { return m_issuesDetectedHasBeenSet; }
137 inline void SetIssuesDetected(const Aws::Vector<IssueDetected>& value) { m_issuesDetectedHasBeenSet = true; m_issuesDetected = value; }
138 inline void SetIssuesDetected(Aws::Vector<IssueDetected>&& value) { m_issuesDetectedHasBeenSet = true; m_issuesDetected = std::move(value); }
139 inline Transcript& WithIssuesDetected(const Aws::Vector<IssueDetected>& value) { SetIssuesDetected(value); return *this;}
140 inline Transcript& WithIssuesDetected(Aws::Vector<IssueDetected>&& value) { SetIssuesDetected(std::move(value)); return *this;}
141 inline Transcript& AddIssuesDetected(const IssueDetected& value) { m_issuesDetectedHasBeenSet = true; m_issuesDetected.push_back(value); return *this; }
142 inline Transcript& AddIssuesDetected(IssueDetected&& value) { m_issuesDetectedHasBeenSet = true; m_issuesDetected.push_back(std::move(value)); return *this; }
144 private:
145
146 Aws::String m_id;
147 bool m_idHasBeenSet = false;
148
149 Aws::String m_participantId;
150 bool m_participantIdHasBeenSet = false;
151
152 Aws::String m_participantRole;
153 bool m_participantRoleHasBeenSet = false;
154
155 Aws::String m_content;
156 bool m_contentHasBeenSet = false;
157
158 int m_beginOffsetMillis;
159 bool m_beginOffsetMillisHasBeenSet = false;
160
161 int m_endOffsetMillis;
162 bool m_endOffsetMillisHasBeenSet = false;
163
164 SentimentValue m_sentiment;
165 bool m_sentimentHasBeenSet = false;
166
167 Aws::Vector<IssueDetected> m_issuesDetected;
168 bool m_issuesDetectedHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace ConnectContactLens
173} // namespace Aws
Transcript & AddIssuesDetected(const IssueDetected &value)
Definition Transcript.h:141
Transcript & WithParticipantId(const char *value)
Definition Transcript.h:68
void SetParticipantRole(Aws::String &&value)
Definition Transcript.h:78
Transcript & WithParticipantId(const Aws::String &value)
Definition Transcript.h:66
const Aws::Vector< IssueDetected > & GetIssuesDetected() const
Definition Transcript.h:135
const Aws::String & GetId() const
Definition Transcript.h:47
Transcript & WithContent(const Aws::String &value)
Definition Transcript.h:94
void SetSentiment(const SentimentValue &value)
Definition Transcript.h:125
Transcript & WithParticipantRole(const Aws::String &value)
Definition Transcript.h:80
Transcript & WithParticipantId(Aws::String &&value)
Definition Transcript.h:67
void SetContent(const Aws::String &value)
Definition Transcript.h:91
void SetParticipantId(Aws::String &&value)
Definition Transcript.h:64
Transcript & WithContent(const char *value)
Definition Transcript.h:96
Transcript & WithId(Aws::String &&value)
Definition Transcript.h:53
Transcript & WithContent(Aws::String &&value)
Definition Transcript.h:95
Transcript & WithEndOffsetMillis(int value)
Definition Transcript.h:116
void SetId(const Aws::String &value)
Definition Transcript.h:49
Transcript & WithId(const char *value)
Definition Transcript.h:54
Transcript & WithBeginOffsetMillis(int value)
Definition Transcript.h:106
Transcript & WithSentiment(const SentimentValue &value)
Definition Transcript.h:127
Transcript & WithParticipantRole(Aws::String &&value)
Definition Transcript.h:81
void SetIssuesDetected(const Aws::Vector< IssueDetected > &value)
Definition Transcript.h:137
Transcript & WithIssuesDetected(const Aws::Vector< IssueDetected > &value)
Definition Transcript.h:139
void SetSentiment(SentimentValue &&value)
Definition Transcript.h:126
Transcript & AddIssuesDetected(IssueDetected &&value)
Definition Transcript.h:142
const Aws::String & GetParticipantId() const
Definition Transcript.h:61
Transcript & WithIssuesDetected(Aws::Vector< IssueDetected > &&value)
Definition Transcript.h:140
void SetContent(Aws::String &&value)
Definition Transcript.h:92
Transcript & WithParticipantRole(const char *value)
Definition Transcript.h:82
void SetIssuesDetected(Aws::Vector< IssueDetected > &&value)
Definition Transcript.h:138
AWS_CONNECTCONTACTLENS_API Transcript & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetParticipantRole() const
Definition Transcript.h:75
const SentimentValue & GetSentiment() const
Definition Transcript.h:123
void SetParticipantId(const Aws::String &value)
Definition Transcript.h:63
AWS_CONNECTCONTACTLENS_API Transcript()
void SetParticipantRole(const Aws::String &value)
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:128
void SetParticipantRole(const char *value)
Definition Transcript.h:79
void SetParticipantId(const char *value)
Definition Transcript.h:65
const Aws::String & GetContent() const
Definition Transcript.h:89
Transcript & WithId(const Aws::String &value)
Definition Transcript.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue