AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CallAnalyticsJob.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/transcribe/model/CallAnalyticsJobStatus.h>
10#include <aws/transcribe/model/CallAnalyticsJobDetails.h>
11#include <aws/transcribe/model/LanguageCode.h>
12#include <aws/transcribe/model/MediaFormat.h>
13#include <aws/transcribe/model/Media.h>
14#include <aws/transcribe/model/Transcript.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/transcribe/model/CallAnalyticsJobSettings.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
18#include <aws/transcribe/model/ChannelDefinition.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace TranscribeService
32{
33namespace Model
34{
35
52 {
53 public:
54 AWS_TRANSCRIBESERVICE_API CallAnalyticsJob();
55 AWS_TRANSCRIBESERVICE_API CallAnalyticsJob(Aws::Utils::Json::JsonView jsonValue);
56 AWS_TRANSCRIBESERVICE_API CallAnalyticsJob& operator=(Aws::Utils::Json::JsonView jsonValue);
57 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
58
59
61
65 inline const Aws::String& GetCallAnalyticsJobName() const{ return m_callAnalyticsJobName; }
66 inline bool CallAnalyticsJobNameHasBeenSet() const { return m_callAnalyticsJobNameHasBeenSet; }
67 inline void SetCallAnalyticsJobName(const Aws::String& value) { m_callAnalyticsJobNameHasBeenSet = true; m_callAnalyticsJobName = value; }
68 inline void SetCallAnalyticsJobName(Aws::String&& value) { m_callAnalyticsJobNameHasBeenSet = true; m_callAnalyticsJobName = std::move(value); }
69 inline void SetCallAnalyticsJobName(const char* value) { m_callAnalyticsJobNameHasBeenSet = true; m_callAnalyticsJobName.assign(value); }
71 inline CallAnalyticsJob& WithCallAnalyticsJobName(Aws::String&& value) { SetCallAnalyticsJobName(std::move(value)); return *this;}
72 inline CallAnalyticsJob& WithCallAnalyticsJobName(const char* value) { SetCallAnalyticsJobName(value); return *this;}
74
76
84 inline const CallAnalyticsJobStatus& GetCallAnalyticsJobStatus() const{ return m_callAnalyticsJobStatus; }
85 inline bool CallAnalyticsJobStatusHasBeenSet() const { return m_callAnalyticsJobStatusHasBeenSet; }
86 inline void SetCallAnalyticsJobStatus(const CallAnalyticsJobStatus& value) { m_callAnalyticsJobStatusHasBeenSet = true; m_callAnalyticsJobStatus = value; }
87 inline void SetCallAnalyticsJobStatus(CallAnalyticsJobStatus&& value) { m_callAnalyticsJobStatusHasBeenSet = true; m_callAnalyticsJobStatus = std::move(value); }
91
93
97 inline const CallAnalyticsJobDetails& GetCallAnalyticsJobDetails() const{ return m_callAnalyticsJobDetails; }
98 inline bool CallAnalyticsJobDetailsHasBeenSet() const { return m_callAnalyticsJobDetailsHasBeenSet; }
99 inline void SetCallAnalyticsJobDetails(const CallAnalyticsJobDetails& value) { m_callAnalyticsJobDetailsHasBeenSet = true; m_callAnalyticsJobDetails = value; }
100 inline void SetCallAnalyticsJobDetails(CallAnalyticsJobDetails&& value) { m_callAnalyticsJobDetailsHasBeenSet = true; m_callAnalyticsJobDetails = std::move(value); }
104
106
116 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
117 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
118 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
119 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
120 inline CallAnalyticsJob& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
121 inline CallAnalyticsJob& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
123
125
128 inline int GetMediaSampleRateHertz() const{ return m_mediaSampleRateHertz; }
129 inline bool MediaSampleRateHertzHasBeenSet() const { return m_mediaSampleRateHertzHasBeenSet; }
130 inline void SetMediaSampleRateHertz(int value) { m_mediaSampleRateHertzHasBeenSet = true; m_mediaSampleRateHertz = value; }
131 inline CallAnalyticsJob& WithMediaSampleRateHertz(int value) { SetMediaSampleRateHertz(value); return *this;}
133
135
138 inline const MediaFormat& GetMediaFormat() const{ return m_mediaFormat; }
139 inline bool MediaFormatHasBeenSet() const { return m_mediaFormatHasBeenSet; }
140 inline void SetMediaFormat(const MediaFormat& value) { m_mediaFormatHasBeenSet = true; m_mediaFormat = value; }
141 inline void SetMediaFormat(MediaFormat&& value) { m_mediaFormatHasBeenSet = true; m_mediaFormat = std::move(value); }
142 inline CallAnalyticsJob& WithMediaFormat(const MediaFormat& value) { SetMediaFormat(value); return *this;}
143 inline CallAnalyticsJob& WithMediaFormat(MediaFormat&& value) { SetMediaFormat(std::move(value)); return *this;}
145
147
151 inline const Media& GetMedia() const{ return m_media; }
152 inline bool MediaHasBeenSet() const { return m_mediaHasBeenSet; }
153 inline void SetMedia(const Media& value) { m_mediaHasBeenSet = true; m_media = value; }
154 inline void SetMedia(Media&& value) { m_mediaHasBeenSet = true; m_media = std::move(value); }
155 inline CallAnalyticsJob& WithMedia(const Media& value) { SetMedia(value); return *this;}
156 inline CallAnalyticsJob& WithMedia(Media&& value) { SetMedia(std::move(value)); return *this;}
158
160
161 inline const Transcript& GetTranscript() const{ return m_transcript; }
162 inline bool TranscriptHasBeenSet() const { return m_transcriptHasBeenSet; }
163 inline void SetTranscript(const Transcript& value) { m_transcriptHasBeenSet = true; m_transcript = value; }
164 inline void SetTranscript(Transcript&& value) { m_transcriptHasBeenSet = true; m_transcript = std::move(value); }
165 inline CallAnalyticsJob& WithTranscript(const Transcript& value) { SetTranscript(value); return *this;}
166 inline CallAnalyticsJob& WithTranscript(Transcript&& value) { SetTranscript(std::move(value)); return *this;}
168
170
176 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
177 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
178 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
179 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
180 inline CallAnalyticsJob& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
181 inline CallAnalyticsJob& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
183
185
191 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
192 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
193 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
194 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
195 inline CallAnalyticsJob& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
196 inline CallAnalyticsJob& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
198
200
206 inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; }
207 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
208 inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; }
209 inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); }
210 inline CallAnalyticsJob& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;}
211 inline CallAnalyticsJob& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;}
213
215
242 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
243 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
244 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
245 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
246 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
247 inline CallAnalyticsJob& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
248 inline CallAnalyticsJob& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
249 inline CallAnalyticsJob& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
251
253
256 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
257 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
258 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
259 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
260 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
261 inline CallAnalyticsJob& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;}
262 inline CallAnalyticsJob& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
263 inline CallAnalyticsJob& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
265
267
273 inline double GetIdentifiedLanguageScore() const{ return m_identifiedLanguageScore; }
274 inline bool IdentifiedLanguageScoreHasBeenSet() const { return m_identifiedLanguageScoreHasBeenSet; }
275 inline void SetIdentifiedLanguageScore(double value) { m_identifiedLanguageScoreHasBeenSet = true; m_identifiedLanguageScore = value; }
276 inline CallAnalyticsJob& WithIdentifiedLanguageScore(double value) { SetIdentifiedLanguageScore(value); return *this;}
278
280
285 inline const CallAnalyticsJobSettings& GetSettings() const{ return m_settings; }
286 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
287 inline void SetSettings(const CallAnalyticsJobSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
288 inline void SetSettings(CallAnalyticsJobSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
289 inline CallAnalyticsJob& WithSettings(const CallAnalyticsJobSettings& value) { SetSettings(value); return *this;}
290 inline CallAnalyticsJob& WithSettings(CallAnalyticsJobSettings&& value) { SetSettings(std::move(value)); return *this;}
292
294
297 inline const Aws::Vector<ChannelDefinition>& GetChannelDefinitions() const{ return m_channelDefinitions; }
298 inline bool ChannelDefinitionsHasBeenSet() const { return m_channelDefinitionsHasBeenSet; }
299 inline void SetChannelDefinitions(const Aws::Vector<ChannelDefinition>& value) { m_channelDefinitionsHasBeenSet = true; m_channelDefinitions = value; }
300 inline void SetChannelDefinitions(Aws::Vector<ChannelDefinition>&& value) { m_channelDefinitionsHasBeenSet = true; m_channelDefinitions = std::move(value); }
303 inline CallAnalyticsJob& AddChannelDefinitions(const ChannelDefinition& value) { m_channelDefinitionsHasBeenSet = true; m_channelDefinitions.push_back(value); return *this; }
304 inline CallAnalyticsJob& AddChannelDefinitions(ChannelDefinition&& value) { m_channelDefinitionsHasBeenSet = true; m_channelDefinitions.push_back(std::move(value)); return *this; }
306 private:
307
308 Aws::String m_callAnalyticsJobName;
309 bool m_callAnalyticsJobNameHasBeenSet = false;
310
311 CallAnalyticsJobStatus m_callAnalyticsJobStatus;
312 bool m_callAnalyticsJobStatusHasBeenSet = false;
313
314 CallAnalyticsJobDetails m_callAnalyticsJobDetails;
315 bool m_callAnalyticsJobDetailsHasBeenSet = false;
316
317 LanguageCode m_languageCode;
318 bool m_languageCodeHasBeenSet = false;
319
320 int m_mediaSampleRateHertz;
321 bool m_mediaSampleRateHertzHasBeenSet = false;
322
323 MediaFormat m_mediaFormat;
324 bool m_mediaFormatHasBeenSet = false;
325
326 Media m_media;
327 bool m_mediaHasBeenSet = false;
328
329 Transcript m_transcript;
330 bool m_transcriptHasBeenSet = false;
331
332 Aws::Utils::DateTime m_startTime;
333 bool m_startTimeHasBeenSet = false;
334
335 Aws::Utils::DateTime m_creationTime;
336 bool m_creationTimeHasBeenSet = false;
337
338 Aws::Utils::DateTime m_completionTime;
339 bool m_completionTimeHasBeenSet = false;
340
341 Aws::String m_failureReason;
342 bool m_failureReasonHasBeenSet = false;
343
344 Aws::String m_dataAccessRoleArn;
345 bool m_dataAccessRoleArnHasBeenSet = false;
346
347 double m_identifiedLanguageScore;
348 bool m_identifiedLanguageScoreHasBeenSet = false;
349
350 CallAnalyticsJobSettings m_settings;
351 bool m_settingsHasBeenSet = false;
352
353 Aws::Vector<ChannelDefinition> m_channelDefinitions;
354 bool m_channelDefinitionsHasBeenSet = false;
355 };
356
357} // namespace Model
358} // namespace TranscribeService
359} // namespace Aws
void SetCallAnalyticsJobStatus(CallAnalyticsJobStatus &&value)
CallAnalyticsJob & WithCompletionTime(const Aws::Utils::DateTime &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
CallAnalyticsJob & WithMediaFormat(MediaFormat &&value)
CallAnalyticsJob & WithFailureReason(Aws::String &&value)
CallAnalyticsJob & WithDataAccessRoleArn(const Aws::String &value)
CallAnalyticsJob & WithCompletionTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetLanguageCode(const LanguageCode &value)
AWS_TRANSCRIBESERVICE_API CallAnalyticsJob()
CallAnalyticsJob & WithTranscript(Transcript &&value)
void SetFailureReason(const Aws::String &value)
CallAnalyticsJob & AddChannelDefinitions(const ChannelDefinition &value)
const CallAnalyticsJobSettings & GetSettings() const
CallAnalyticsJob & WithLanguageCode(const LanguageCode &value)
CallAnalyticsJob & WithFailureReason(const char *value)
CallAnalyticsJob & WithCallAnalyticsJobName(const Aws::String &value)
CallAnalyticsJob & WithMediaFormat(const MediaFormat &value)
const Aws::Vector< ChannelDefinition > & GetChannelDefinitions() const
void SetSettings(CallAnalyticsJobSettings &&value)
CallAnalyticsJob & WithCallAnalyticsJobName(Aws::String &&value)
CallAnalyticsJob & AddChannelDefinitions(ChannelDefinition &&value)
CallAnalyticsJob & WithCallAnalyticsJobStatus(CallAnalyticsJobStatus &&value)
void SetDataAccessRoleArn(const Aws::String &value)
void SetStartTime(Aws::Utils::DateTime &&value)
const CallAnalyticsJobStatus & GetCallAnalyticsJobStatus() const
CallAnalyticsJob & WithStartTime(Aws::Utils::DateTime &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCompletionTime() const
CallAnalyticsJob & WithSettings(const CallAnalyticsJobSettings &value)
CallAnalyticsJob & WithDataAccessRoleArn(Aws::String &&value)
void SetChannelDefinitions(Aws::Vector< ChannelDefinition > &&value)
void SetSettings(const CallAnalyticsJobSettings &value)
CallAnalyticsJob & WithMedia(const Media &value)
CallAnalyticsJob & WithCallAnalyticsJobDetails(CallAnalyticsJobDetails &&value)
const CallAnalyticsJobDetails & GetCallAnalyticsJobDetails() const
CallAnalyticsJob & WithCreationTime(const Aws::Utils::DateTime &value)
void SetCompletionTime(Aws::Utils::DateTime &&value)
CallAnalyticsJob & WithIdentifiedLanguageScore(double value)
CallAnalyticsJob & WithFailureReason(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
CallAnalyticsJob & WithCreationTime(Aws::Utils::DateTime &&value)
CallAnalyticsJob & WithChannelDefinitions(const Aws::Vector< ChannelDefinition > &value)
CallAnalyticsJob & WithMediaSampleRateHertz(int value)
AWS_TRANSCRIBESERVICE_API CallAnalyticsJob(Aws::Utils::Json::JsonView jsonValue)
void SetCallAnalyticsJobStatus(const CallAnalyticsJobStatus &value)
void SetChannelDefinitions(const Aws::Vector< ChannelDefinition > &value)
CallAnalyticsJob & WithStartTime(const Aws::Utils::DateTime &value)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCallAnalyticsJobName(const Aws::String &value)
CallAnalyticsJob & WithTranscript(const Transcript &value)
const Aws::String & GetCallAnalyticsJobName() const
AWS_TRANSCRIBESERVICE_API CallAnalyticsJob & operator=(Aws::Utils::Json::JsonView jsonValue)
CallAnalyticsJob & WithChannelDefinitions(Aws::Vector< ChannelDefinition > &&value)
void SetCallAnalyticsJobDetails(CallAnalyticsJobDetails &&value)
CallAnalyticsJob & WithCallAnalyticsJobDetails(const CallAnalyticsJobDetails &value)
CallAnalyticsJob & WithLanguageCode(LanguageCode &&value)
CallAnalyticsJob & WithCallAnalyticsJobStatus(const CallAnalyticsJobStatus &value)
void SetCallAnalyticsJobDetails(const CallAnalyticsJobDetails &value)
CallAnalyticsJob & WithDataAccessRoleArn(const char *value)
CallAnalyticsJob & WithMedia(Media &&value)
void SetCompletionTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartTime() const
CallAnalyticsJob & WithSettings(CallAnalyticsJobSettings &&value)
CallAnalyticsJob & WithCallAnalyticsJobName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue