AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
StartStreamTranscriptionInitialResponse.h
1
6#pragma once
7#include <aws/core/http/HttpTypes.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
10#include <aws/transcribestreaming/model/ContentIdentificationType.h>
11#include <aws/transcribestreaming/model/ContentRedactionType.h>
12#include <aws/transcribestreaming/model/LanguageCode.h>
13#include <aws/transcribestreaming/model/MediaEncoding.h>
14#include <aws/transcribestreaming/model/PartialResultsStability.h>
15#include <aws/transcribestreaming/model/TranscriptFormat.h>
16#include <aws/transcribestreaming/model/VocabularyFilterMethod.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace TranscribeStreamingService {
28namespace Model {
29
31 public:
32 AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionInitialResponse() = default;
33 AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionInitialResponse(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionInitialResponse(const Http::HeaderValueCollection& responseHeaders);
36 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetRequestId() const { return m_requestId; }
43 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
44 template <typename RequestIdT = Aws::String>
45 void SetRequestId(RequestIdT&& value) {
46 m_requestIdHasBeenSet = true;
47 m_requestId = std::forward<RequestIdT>(value);
48 }
49 template <typename RequestIdT = Aws::String>
51 SetRequestId(std::forward<RequestIdT>(value));
52 return *this;
53 }
55
57
60 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
61 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
62 inline void SetLanguageCode(LanguageCode value) {
63 m_languageCodeHasBeenSet = true;
64 m_languageCode = value;
65 }
67 SetLanguageCode(value);
68 return *this;
69 }
71
73
76 inline int GetMediaSampleRateHertz() const { return m_mediaSampleRateHertz; }
77 inline bool MediaSampleRateHertzHasBeenSet() const { return m_mediaSampleRateHertzHasBeenSet; }
78 inline void SetMediaSampleRateHertz(int value) {
79 m_mediaSampleRateHertzHasBeenSet = true;
80 m_mediaSampleRateHertz = value;
81 }
84 return *this;
85 }
87
89
92 inline MediaEncoding GetMediaEncoding() const { return m_mediaEncoding; }
93 inline bool MediaEncodingHasBeenSet() const { return m_mediaEncodingHasBeenSet; }
94 inline void SetMediaEncoding(MediaEncoding value) {
95 m_mediaEncodingHasBeenSet = true;
96 m_mediaEncoding = value;
97 }
99 SetMediaEncoding(value);
100 return *this;
101 }
103
105
109 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
110 inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
111 template <typename VocabularyNameT = Aws::String>
112 void SetVocabularyName(VocabularyNameT&& value) {
113 m_vocabularyNameHasBeenSet = true;
114 m_vocabularyName = std::forward<VocabularyNameT>(value);
115 }
116 template <typename VocabularyNameT = Aws::String>
118 SetVocabularyName(std::forward<VocabularyNameT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::String& GetSessionId() const { return m_sessionId; }
128 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
129 template <typename SessionIdT = Aws::String>
130 void SetSessionId(SessionIdT&& value) {
131 m_sessionIdHasBeenSet = true;
132 m_sessionId = std::forward<SessionIdT>(value);
133 }
134 template <typename SessionIdT = Aws::String>
136 SetSessionId(std::forward<SessionIdT>(value));
137 return *this;
138 }
140
142
146 inline const Aws::String& GetVocabularyFilterName() const { return m_vocabularyFilterName; }
147 inline bool VocabularyFilterNameHasBeenSet() const { return m_vocabularyFilterNameHasBeenSet; }
148 template <typename VocabularyFilterNameT = Aws::String>
149 void SetVocabularyFilterName(VocabularyFilterNameT&& value) {
150 m_vocabularyFilterNameHasBeenSet = true;
151 m_vocabularyFilterName = std::forward<VocabularyFilterNameT>(value);
152 }
153 template <typename VocabularyFilterNameT = Aws::String>
155 SetVocabularyFilterName(std::forward<VocabularyFilterNameT>(value));
156 return *this;
157 }
159
161
164 inline VocabularyFilterMethod GetVocabularyFilterMethod() const { return m_vocabularyFilterMethod; }
165 inline bool VocabularyFilterMethodHasBeenSet() const { return m_vocabularyFilterMethodHasBeenSet; }
167 m_vocabularyFilterMethodHasBeenSet = true;
168 m_vocabularyFilterMethod = value;
169 }
172 return *this;
173 }
175
177
180 inline bool GetShowSpeakerLabel() const { return m_showSpeakerLabel; }
181 inline bool ShowSpeakerLabelHasBeenSet() const { return m_showSpeakerLabelHasBeenSet; }
182 inline void SetShowSpeakerLabel(bool value) {
183 m_showSpeakerLabelHasBeenSet = true;
184 m_showSpeakerLabel = value;
185 }
187 SetShowSpeakerLabel(value);
188 return *this;
189 }
191
193
196 inline bool GetEnableChannelIdentification() const { return m_enableChannelIdentification; }
197 inline bool EnableChannelIdentificationHasBeenSet() const { return m_enableChannelIdentificationHasBeenSet; }
198 inline void SetEnableChannelIdentification(bool value) {
199 m_enableChannelIdentificationHasBeenSet = true;
200 m_enableChannelIdentification = value;
201 }
204 return *this;
205 }
207
209
212 inline int GetNumberOfChannels() const { return m_numberOfChannels; }
213 inline bool NumberOfChannelsHasBeenSet() const { return m_numberOfChannelsHasBeenSet; }
214 inline void SetNumberOfChannels(int value) {
215 m_numberOfChannelsHasBeenSet = true;
216 m_numberOfChannels = value;
217 }
219 SetNumberOfChannels(value);
220 return *this;
221 }
223
225
229 inline bool GetEnablePartialResultsStabilization() const { return m_enablePartialResultsStabilization; }
230 inline bool EnablePartialResultsStabilizationHasBeenSet() const { return m_enablePartialResultsStabilizationHasBeenSet; }
231 inline void SetEnablePartialResultsStabilization(bool value) {
232 m_enablePartialResultsStabilizationHasBeenSet = true;
233 m_enablePartialResultsStabilization = value;
234 }
237 return *this;
238 }
240
242
245 inline PartialResultsStability GetPartialResultsStability() const { return m_partialResultsStability; }
246 inline bool PartialResultsStabilityHasBeenSet() const { return m_partialResultsStabilityHasBeenSet; }
248 m_partialResultsStabilityHasBeenSet = true;
249 m_partialResultsStability = value;
250 }
253 return *this;
254 }
256
258
261 inline ContentIdentificationType GetContentIdentificationType() const { return m_contentIdentificationType; }
262 inline bool ContentIdentificationTypeHasBeenSet() const { return m_contentIdentificationTypeHasBeenSet; }
264 m_contentIdentificationTypeHasBeenSet = true;
265 m_contentIdentificationType = value;
266 }
269 return *this;
270 }
272
274
277 inline ContentRedactionType GetContentRedactionType() const { return m_contentRedactionType; }
278 inline bool ContentRedactionTypeHasBeenSet() const { return m_contentRedactionTypeHasBeenSet; }
280 m_contentRedactionTypeHasBeenSet = true;
281 m_contentRedactionType = value;
282 }
285 return *this;
286 }
288
290
293 inline const Aws::String& GetPiiEntityTypes() const { return m_piiEntityTypes; }
294 inline bool PiiEntityTypesHasBeenSet() const { return m_piiEntityTypesHasBeenSet; }
295 template <typename PiiEntityTypesT = Aws::String>
296 void SetPiiEntityTypes(PiiEntityTypesT&& value) {
297 m_piiEntityTypesHasBeenSet = true;
298 m_piiEntityTypes = std::forward<PiiEntityTypesT>(value);
299 }
300 template <typename PiiEntityTypesT = Aws::String>
302 SetPiiEntityTypes(std::forward<PiiEntityTypesT>(value));
303 return *this;
304 }
306
308
312 inline const Aws::String& GetLanguageModelName() const { return m_languageModelName; }
313 inline bool LanguageModelNameHasBeenSet() const { return m_languageModelNameHasBeenSet; }
314 template <typename LanguageModelNameT = Aws::String>
315 void SetLanguageModelName(LanguageModelNameT&& value) {
316 m_languageModelNameHasBeenSet = true;
317 m_languageModelName = std::forward<LanguageModelNameT>(value);
318 }
319 template <typename LanguageModelNameT = Aws::String>
321 SetLanguageModelName(std::forward<LanguageModelNameT>(value));
322 return *this;
323 }
325
327
331 inline bool GetIdentifyLanguage() const { return m_identifyLanguage; }
332 inline bool IdentifyLanguageHasBeenSet() const { return m_identifyLanguageHasBeenSet; }
333 inline void SetIdentifyLanguage(bool value) {
334 m_identifyLanguageHasBeenSet = true;
335 m_identifyLanguage = value;
336 }
338 SetIdentifyLanguage(value);
339 return *this;
340 }
342
344
347 inline const Aws::String& GetLanguageOptions() const { return m_languageOptions; }
348 inline bool LanguageOptionsHasBeenSet() const { return m_languageOptionsHasBeenSet; }
349 template <typename LanguageOptionsT = Aws::String>
350 void SetLanguageOptions(LanguageOptionsT&& value) {
351 m_languageOptionsHasBeenSet = true;
352 m_languageOptions = std::forward<LanguageOptionsT>(value);
353 }
354 template <typename LanguageOptionsT = Aws::String>
356 SetLanguageOptions(std::forward<LanguageOptionsT>(value));
357 return *this;
358 }
360
362
365 inline LanguageCode GetPreferredLanguage() const { return m_preferredLanguage; }
366 inline bool PreferredLanguageHasBeenSet() const { return m_preferredLanguageHasBeenSet; }
368 m_preferredLanguageHasBeenSet = true;
369 m_preferredLanguage = value;
370 }
373 return *this;
374 }
376
378
382 inline bool GetIdentifyMultipleLanguages() const { return m_identifyMultipleLanguages; }
383 inline bool IdentifyMultipleLanguagesHasBeenSet() const { return m_identifyMultipleLanguagesHasBeenSet; }
384 inline void SetIdentifyMultipleLanguages(bool value) {
385 m_identifyMultipleLanguagesHasBeenSet = true;
386 m_identifyMultipleLanguages = value;
387 }
390 return *this;
391 }
393
395
399 inline const Aws::String& GetVocabularyNames() const { return m_vocabularyNames; }
400 inline bool VocabularyNamesHasBeenSet() const { return m_vocabularyNamesHasBeenSet; }
401 template <typename VocabularyNamesT = Aws::String>
402 void SetVocabularyNames(VocabularyNamesT&& value) {
403 m_vocabularyNamesHasBeenSet = true;
404 m_vocabularyNames = std::forward<VocabularyNamesT>(value);
405 }
406 template <typename VocabularyNamesT = Aws::String>
408 SetVocabularyNames(std::forward<VocabularyNamesT>(value));
409 return *this;
410 }
412
414
418 inline const Aws::String& GetVocabularyFilterNames() const { return m_vocabularyFilterNames; }
419 inline bool VocabularyFilterNamesHasBeenSet() const { return m_vocabularyFilterNamesHasBeenSet; }
420 template <typename VocabularyFilterNamesT = Aws::String>
421 void SetVocabularyFilterNames(VocabularyFilterNamesT&& value) {
422 m_vocabularyFilterNamesHasBeenSet = true;
423 m_vocabularyFilterNames = std::forward<VocabularyFilterNamesT>(value);
424 }
425 template <typename VocabularyFilterNamesT = Aws::String>
427 SetVocabularyFilterNames(std::forward<VocabularyFilterNamesT>(value));
428 return *this;
429 }
431
433
437 inline int GetSessionResumeWindow() const { return m_sessionResumeWindow; }
438 inline bool SessionResumeWindowHasBeenSet() const { return m_sessionResumeWindowHasBeenSet; }
439 inline void SetSessionResumeWindow(int value) {
440 m_sessionResumeWindowHasBeenSet = true;
441 m_sessionResumeWindow = value;
442 }
445 return *this;
446 }
448
450
453 inline TranscriptFormat GetTranscriptFormat() const { return m_transcriptFormat; }
454 inline bool TranscriptFormatHasBeenSet() const { return m_transcriptFormatHasBeenSet; }
456 m_transcriptFormatHasBeenSet = true;
457 m_transcriptFormat = value;
458 }
460 SetTranscriptFormat(value);
461 return *this;
462 }
464 private:
465 Aws::String m_requestId;
466
467 LanguageCode m_languageCode{LanguageCode::NOT_SET};
468
469 int m_mediaSampleRateHertz{0};
470
471 MediaEncoding m_mediaEncoding{MediaEncoding::NOT_SET};
472
473 Aws::String m_vocabularyName;
474
475 Aws::String m_sessionId;
476
477 Aws::String m_vocabularyFilterName;
478
480
481 bool m_showSpeakerLabel{false};
482
483 bool m_enableChannelIdentification{false};
484
485 int m_numberOfChannels{0};
486
487 bool m_enablePartialResultsStabilization{false};
488
490
492
494
495 Aws::String m_piiEntityTypes;
496
497 Aws::String m_languageModelName;
498
499 bool m_identifyLanguage{false};
500
501 Aws::String m_languageOptions;
502
503 LanguageCode m_preferredLanguage{LanguageCode::NOT_SET};
504
505 bool m_identifyMultipleLanguages{false};
506
507 Aws::String m_vocabularyNames;
508
509 Aws::String m_vocabularyFilterNames;
510
511 int m_sessionResumeWindow{0};
512
514 bool m_requestIdHasBeenSet = false;
515 bool m_languageCodeHasBeenSet = false;
516 bool m_mediaSampleRateHertzHasBeenSet = false;
517 bool m_mediaEncodingHasBeenSet = false;
518 bool m_vocabularyNameHasBeenSet = false;
519 bool m_sessionIdHasBeenSet = false;
520 bool m_vocabularyFilterNameHasBeenSet = false;
521 bool m_vocabularyFilterMethodHasBeenSet = false;
522 bool m_showSpeakerLabelHasBeenSet = false;
523 bool m_enableChannelIdentificationHasBeenSet = false;
524 bool m_numberOfChannelsHasBeenSet = false;
525 bool m_enablePartialResultsStabilizationHasBeenSet = false;
526 bool m_partialResultsStabilityHasBeenSet = false;
527 bool m_contentIdentificationTypeHasBeenSet = false;
528 bool m_contentRedactionTypeHasBeenSet = false;
529 bool m_piiEntityTypesHasBeenSet = false;
530 bool m_languageModelNameHasBeenSet = false;
531 bool m_identifyLanguageHasBeenSet = false;
532 bool m_languageOptionsHasBeenSet = false;
533 bool m_preferredLanguageHasBeenSet = false;
534 bool m_identifyMultipleLanguagesHasBeenSet = false;
535 bool m_vocabularyNamesHasBeenSet = false;
536 bool m_vocabularyFilterNamesHasBeenSet = false;
537 bool m_sessionResumeWindowHasBeenSet = false;
538 bool m_transcriptFormatHasBeenSet = false;
539};
540
541} // namespace Model
542} // namespace TranscribeStreamingService
543} // namespace Aws
StartStreamTranscriptionInitialResponse & WithVocabularyFilterNames(VocabularyFilterNamesT &&value)
StartStreamTranscriptionInitialResponse & WithPartialResultsStability(PartialResultsStability value)
StartStreamTranscriptionInitialResponse & WithVocabularyFilterName(VocabularyFilterNameT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionInitialResponse()=default
StartStreamTranscriptionInitialResponse & WithContentRedactionType(ContentRedactionType value)
StartStreamTranscriptionInitialResponse & WithVocabularyNames(VocabularyNamesT &&value)
StartStreamTranscriptionInitialResponse & WithLanguageModelName(LanguageModelNameT &&value)
StartStreamTranscriptionInitialResponse & WithContentIdentificationType(ContentIdentificationType value)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
StartStreamTranscriptionInitialResponse & WithPiiEntityTypes(PiiEntityTypesT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionInitialResponse(Aws::Utils::Json::JsonView jsonValue)
StartStreamTranscriptionInitialResponse & WithVocabularyName(VocabularyNameT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionInitialResponse(const Http::HeaderValueCollection &responseHeaders)
StartStreamTranscriptionInitialResponse & WithLanguageOptions(LanguageOptionsT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionInitialResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
StartStreamTranscriptionInitialResponse & WithVocabularyFilterMethod(VocabularyFilterMethod value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue