AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RealTimeContactAnalysisSegmentTranscript.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/ParticipantRole.h>
10#include <aws/connect/model/RealTimeContactAnalysisTimeData.h>
11#include <aws/connect/model/RealTimeContactAnalysisTranscriptItemRedaction.h>
12#include <aws/connect/model/RealTimeContactAnalysisSentimentLabel.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Connect
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_CONNECT_API RealTimeContactAnalysisSegmentTranscript() = default;
41 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 RealTimeContactAnalysisSegmentTranscript& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetParticipantId() const { return m_participantId; }
61 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
62 template<typename ParticipantIdT = Aws::String>
63 void SetParticipantId(ParticipantIdT&& value) { m_participantIdHasBeenSet = true; m_participantId = std::forward<ParticipantIdT>(value); }
64 template<typename ParticipantIdT = Aws::String>
65 RealTimeContactAnalysisSegmentTranscript& WithParticipantId(ParticipantIdT&& value) { SetParticipantId(std::forward<ParticipantIdT>(value)); return *this;}
67
69
73 inline ParticipantRole GetParticipantRole() const { return m_participantRole; }
74 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
75 inline void SetParticipantRole(ParticipantRole value) { m_participantRoleHasBeenSet = true; m_participantRole = value; }
78
80
83 inline const Aws::String& GetDisplayName() const { return m_displayName; }
84 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
85 template<typename DisplayNameT = Aws::String>
86 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
87 template<typename DisplayNameT = Aws::String>
88 RealTimeContactAnalysisSegmentTranscript& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
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) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
99 template<typename ContentT = Aws::String>
100 RealTimeContactAnalysisSegmentTranscript& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
102
104
107 inline const Aws::String& GetContentType() const { return m_contentType; }
108 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
109 template<typename ContentTypeT = Aws::String>
110 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
111 template<typename ContentTypeT = Aws::String>
112 RealTimeContactAnalysisSegmentTranscript& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
114
116
120 inline const RealTimeContactAnalysisTimeData& GetTime() const { return m_time; }
121 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
122 template<typename TimeT = RealTimeContactAnalysisTimeData>
123 void SetTime(TimeT&& value) { m_timeHasBeenSet = true; m_time = std::forward<TimeT>(value); }
124 template<typename TimeT = RealTimeContactAnalysisTimeData>
125 RealTimeContactAnalysisSegmentTranscript& WithTime(TimeT&& value) { SetTime(std::forward<TimeT>(value)); return *this;}
127
129
133 inline const RealTimeContactAnalysisTranscriptItemRedaction& GetRedaction() const { return m_redaction; }
134 inline bool RedactionHasBeenSet() const { return m_redactionHasBeenSet; }
135 template<typename RedactionT = RealTimeContactAnalysisTranscriptItemRedaction>
136 void SetRedaction(RedactionT&& value) { m_redactionHasBeenSet = true; m_redaction = std::forward<RedactionT>(value); }
137 template<typename RedactionT = RealTimeContactAnalysisTranscriptItemRedaction>
138 RealTimeContactAnalysisSegmentTranscript& WithRedaction(RedactionT&& value) { SetRedaction(std::forward<RedactionT>(value)); return *this;}
140
142
145 inline RealTimeContactAnalysisSentimentLabel GetSentiment() const { return m_sentiment; }
146 inline bool SentimentHasBeenSet() const { return m_sentimentHasBeenSet; }
147 inline void SetSentiment(RealTimeContactAnalysisSentimentLabel value) { m_sentimentHasBeenSet = true; m_sentiment = value; }
150 private:
151
152 Aws::String m_id;
153 bool m_idHasBeenSet = false;
154
155 Aws::String m_participantId;
156 bool m_participantIdHasBeenSet = false;
157
158 ParticipantRole m_participantRole{ParticipantRole::NOT_SET};
159 bool m_participantRoleHasBeenSet = false;
160
161 Aws::String m_displayName;
162 bool m_displayNameHasBeenSet = false;
163
164 Aws::String m_content;
165 bool m_contentHasBeenSet = false;
166
167 Aws::String m_contentType;
168 bool m_contentTypeHasBeenSet = false;
169
170 RealTimeContactAnalysisTimeData m_time;
171 bool m_timeHasBeenSet = false;
172
173 RealTimeContactAnalysisTranscriptItemRedaction m_redaction;
174 bool m_redactionHasBeenSet = false;
175
177 bool m_sentimentHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace Connect
182} // namespace Aws
RealTimeContactAnalysisSegmentTranscript & WithDisplayName(DisplayNameT &&value)
RealTimeContactAnalysisSegmentTranscript & WithSentiment(RealTimeContactAnalysisSentimentLabel value)
RealTimeContactAnalysisSegmentTranscript & WithRedaction(RedactionT &&value)
RealTimeContactAnalysisSegmentTranscript & WithContent(ContentT &&value)
RealTimeContactAnalysisSegmentTranscript & WithParticipantRole(ParticipantRole value)
AWS_CONNECT_API RealTimeContactAnalysisSegmentTranscript & operator=(Aws::Utils::Json::JsonView jsonValue)
const RealTimeContactAnalysisTranscriptItemRedaction & GetRedaction() const
AWS_CONNECT_API RealTimeContactAnalysisSegmentTranscript(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RealTimeContactAnalysisSegmentTranscript & WithContentType(ContentTypeT &&value)
RealTimeContactAnalysisSegmentTranscript & WithParticipantId(ParticipantIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue