AWS SDK for C++

AWS SDK for C++ Version 1.11.753

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/VocabularyFilterMethod.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace TranscribeStreamingService {
27namespace Model {
28
30 public:
31 AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionInitialResponse() = default;
32 AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionInitialResponse(Aws::Utils::Json::JsonView jsonValue);
34 AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionInitialResponse(const Http::HeaderValueCollection& responseHeaders);
35 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetRequestId() const { return m_requestId; }
42 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
43 template <typename RequestIdT = Aws::String>
44 void SetRequestId(RequestIdT&& value) {
45 m_requestIdHasBeenSet = true;
46 m_requestId = std::forward<RequestIdT>(value);
47 }
48 template <typename RequestIdT = Aws::String>
50 SetRequestId(std::forward<RequestIdT>(value));
51 return *this;
52 }
54
56
59 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
60 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
61 inline void SetLanguageCode(LanguageCode value) {
62 m_languageCodeHasBeenSet = true;
63 m_languageCode = value;
64 }
66 SetLanguageCode(value);
67 return *this;
68 }
70
72
75 inline int GetMediaSampleRateHertz() const { return m_mediaSampleRateHertz; }
76 inline bool MediaSampleRateHertzHasBeenSet() const { return m_mediaSampleRateHertzHasBeenSet; }
77 inline void SetMediaSampleRateHertz(int value) {
78 m_mediaSampleRateHertzHasBeenSet = true;
79 m_mediaSampleRateHertz = value;
80 }
83 return *this;
84 }
86
88
91 inline MediaEncoding GetMediaEncoding() const { return m_mediaEncoding; }
92 inline bool MediaEncodingHasBeenSet() const { return m_mediaEncodingHasBeenSet; }
93 inline void SetMediaEncoding(MediaEncoding value) {
94 m_mediaEncodingHasBeenSet = true;
95 m_mediaEncoding = value;
96 }
98 SetMediaEncoding(value);
99 return *this;
100 }
102
104
108 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
109 inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
110 template <typename VocabularyNameT = Aws::String>
111 void SetVocabularyName(VocabularyNameT&& value) {
112 m_vocabularyNameHasBeenSet = true;
113 m_vocabularyName = std::forward<VocabularyNameT>(value);
114 }
115 template <typename VocabularyNameT = Aws::String>
117 SetVocabularyName(std::forward<VocabularyNameT>(value));
118 return *this;
119 }
121
123
126 inline const Aws::String& GetSessionId() const { return m_sessionId; }
127 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
128 template <typename SessionIdT = Aws::String>
129 void SetSessionId(SessionIdT&& value) {
130 m_sessionIdHasBeenSet = true;
131 m_sessionId = std::forward<SessionIdT>(value);
132 }
133 template <typename SessionIdT = Aws::String>
135 SetSessionId(std::forward<SessionIdT>(value));
136 return *this;
137 }
139
141
145 inline const Aws::String& GetVocabularyFilterName() const { return m_vocabularyFilterName; }
146 inline bool VocabularyFilterNameHasBeenSet() const { return m_vocabularyFilterNameHasBeenSet; }
147 template <typename VocabularyFilterNameT = Aws::String>
148 void SetVocabularyFilterName(VocabularyFilterNameT&& value) {
149 m_vocabularyFilterNameHasBeenSet = true;
150 m_vocabularyFilterName = std::forward<VocabularyFilterNameT>(value);
151 }
152 template <typename VocabularyFilterNameT = Aws::String>
154 SetVocabularyFilterName(std::forward<VocabularyFilterNameT>(value));
155 return *this;
156 }
158
160
163 inline VocabularyFilterMethod GetVocabularyFilterMethod() const { return m_vocabularyFilterMethod; }
164 inline bool VocabularyFilterMethodHasBeenSet() const { return m_vocabularyFilterMethodHasBeenSet; }
166 m_vocabularyFilterMethodHasBeenSet = true;
167 m_vocabularyFilterMethod = value;
168 }
171 return *this;
172 }
174
176
179 inline bool GetShowSpeakerLabel() const { return m_showSpeakerLabel; }
180 inline bool ShowSpeakerLabelHasBeenSet() const { return m_showSpeakerLabelHasBeenSet; }
181 inline void SetShowSpeakerLabel(bool value) {
182 m_showSpeakerLabelHasBeenSet = true;
183 m_showSpeakerLabel = value;
184 }
186 SetShowSpeakerLabel(value);
187 return *this;
188 }
190
192
195 inline bool GetEnableChannelIdentification() const { return m_enableChannelIdentification; }
196 inline bool EnableChannelIdentificationHasBeenSet() const { return m_enableChannelIdentificationHasBeenSet; }
197 inline void SetEnableChannelIdentification(bool value) {
198 m_enableChannelIdentificationHasBeenSet = true;
199 m_enableChannelIdentification = value;
200 }
203 return *this;
204 }
206
208
211 inline int GetNumberOfChannels() const { return m_numberOfChannels; }
212 inline bool NumberOfChannelsHasBeenSet() const { return m_numberOfChannelsHasBeenSet; }
213 inline void SetNumberOfChannels(int value) {
214 m_numberOfChannelsHasBeenSet = true;
215 m_numberOfChannels = value;
216 }
218 SetNumberOfChannels(value);
219 return *this;
220 }
222
224
228 inline bool GetEnablePartialResultsStabilization() const { return m_enablePartialResultsStabilization; }
229 inline bool EnablePartialResultsStabilizationHasBeenSet() const { return m_enablePartialResultsStabilizationHasBeenSet; }
230 inline void SetEnablePartialResultsStabilization(bool value) {
231 m_enablePartialResultsStabilizationHasBeenSet = true;
232 m_enablePartialResultsStabilization = value;
233 }
236 return *this;
237 }
239
241
244 inline PartialResultsStability GetPartialResultsStability() const { return m_partialResultsStability; }
245 inline bool PartialResultsStabilityHasBeenSet() const { return m_partialResultsStabilityHasBeenSet; }
247 m_partialResultsStabilityHasBeenSet = true;
248 m_partialResultsStability = value;
249 }
252 return *this;
253 }
255
257
260 inline ContentIdentificationType GetContentIdentificationType() const { return m_contentIdentificationType; }
261 inline bool ContentIdentificationTypeHasBeenSet() const { return m_contentIdentificationTypeHasBeenSet; }
263 m_contentIdentificationTypeHasBeenSet = true;
264 m_contentIdentificationType = value;
265 }
268 return *this;
269 }
271
273
276 inline ContentRedactionType GetContentRedactionType() const { return m_contentRedactionType; }
277 inline bool ContentRedactionTypeHasBeenSet() const { return m_contentRedactionTypeHasBeenSet; }
279 m_contentRedactionTypeHasBeenSet = true;
280 m_contentRedactionType = value;
281 }
284 return *this;
285 }
287
289
292 inline const Aws::String& GetPiiEntityTypes() const { return m_piiEntityTypes; }
293 inline bool PiiEntityTypesHasBeenSet() const { return m_piiEntityTypesHasBeenSet; }
294 template <typename PiiEntityTypesT = Aws::String>
295 void SetPiiEntityTypes(PiiEntityTypesT&& value) {
296 m_piiEntityTypesHasBeenSet = true;
297 m_piiEntityTypes = std::forward<PiiEntityTypesT>(value);
298 }
299 template <typename PiiEntityTypesT = Aws::String>
301 SetPiiEntityTypes(std::forward<PiiEntityTypesT>(value));
302 return *this;
303 }
305
307
311 inline const Aws::String& GetLanguageModelName() const { return m_languageModelName; }
312 inline bool LanguageModelNameHasBeenSet() const { return m_languageModelNameHasBeenSet; }
313 template <typename LanguageModelNameT = Aws::String>
314 void SetLanguageModelName(LanguageModelNameT&& value) {
315 m_languageModelNameHasBeenSet = true;
316 m_languageModelName = std::forward<LanguageModelNameT>(value);
317 }
318 template <typename LanguageModelNameT = Aws::String>
320 SetLanguageModelName(std::forward<LanguageModelNameT>(value));
321 return *this;
322 }
324
326
330 inline bool GetIdentifyLanguage() const { return m_identifyLanguage; }
331 inline bool IdentifyLanguageHasBeenSet() const { return m_identifyLanguageHasBeenSet; }
332 inline void SetIdentifyLanguage(bool value) {
333 m_identifyLanguageHasBeenSet = true;
334 m_identifyLanguage = value;
335 }
337 SetIdentifyLanguage(value);
338 return *this;
339 }
341
343
346 inline const Aws::String& GetLanguageOptions() const { return m_languageOptions; }
347 inline bool LanguageOptionsHasBeenSet() const { return m_languageOptionsHasBeenSet; }
348 template <typename LanguageOptionsT = Aws::String>
349 void SetLanguageOptions(LanguageOptionsT&& value) {
350 m_languageOptionsHasBeenSet = true;
351 m_languageOptions = std::forward<LanguageOptionsT>(value);
352 }
353 template <typename LanguageOptionsT = Aws::String>
355 SetLanguageOptions(std::forward<LanguageOptionsT>(value));
356 return *this;
357 }
359
361
364 inline LanguageCode GetPreferredLanguage() const { return m_preferredLanguage; }
365 inline bool PreferredLanguageHasBeenSet() const { return m_preferredLanguageHasBeenSet; }
367 m_preferredLanguageHasBeenSet = true;
368 m_preferredLanguage = value;
369 }
372 return *this;
373 }
375
377
381 inline bool GetIdentifyMultipleLanguages() const { return m_identifyMultipleLanguages; }
382 inline bool IdentifyMultipleLanguagesHasBeenSet() const { return m_identifyMultipleLanguagesHasBeenSet; }
383 inline void SetIdentifyMultipleLanguages(bool value) {
384 m_identifyMultipleLanguagesHasBeenSet = true;
385 m_identifyMultipleLanguages = value;
386 }
389 return *this;
390 }
392
394
398 inline const Aws::String& GetVocabularyNames() const { return m_vocabularyNames; }
399 inline bool VocabularyNamesHasBeenSet() const { return m_vocabularyNamesHasBeenSet; }
400 template <typename VocabularyNamesT = Aws::String>
401 void SetVocabularyNames(VocabularyNamesT&& value) {
402 m_vocabularyNamesHasBeenSet = true;
403 m_vocabularyNames = std::forward<VocabularyNamesT>(value);
404 }
405 template <typename VocabularyNamesT = Aws::String>
407 SetVocabularyNames(std::forward<VocabularyNamesT>(value));
408 return *this;
409 }
411
413
417 inline const Aws::String& GetVocabularyFilterNames() const { return m_vocabularyFilterNames; }
418 inline bool VocabularyFilterNamesHasBeenSet() const { return m_vocabularyFilterNamesHasBeenSet; }
419 template <typename VocabularyFilterNamesT = Aws::String>
420 void SetVocabularyFilterNames(VocabularyFilterNamesT&& value) {
421 m_vocabularyFilterNamesHasBeenSet = true;
422 m_vocabularyFilterNames = std::forward<VocabularyFilterNamesT>(value);
423 }
424 template <typename VocabularyFilterNamesT = Aws::String>
426 SetVocabularyFilterNames(std::forward<VocabularyFilterNamesT>(value));
427 return *this;
428 }
430 private:
431 Aws::String m_requestId;
432
433 LanguageCode m_languageCode{LanguageCode::NOT_SET};
434
435 int m_mediaSampleRateHertz{0};
436
437 MediaEncoding m_mediaEncoding{MediaEncoding::NOT_SET};
438
439 Aws::String m_vocabularyName;
440
441 Aws::String m_sessionId;
442
443 Aws::String m_vocabularyFilterName;
444
446
447 bool m_showSpeakerLabel{false};
448
449 bool m_enableChannelIdentification{false};
450
451 int m_numberOfChannels{0};
452
453 bool m_enablePartialResultsStabilization{false};
454
456
458
460
461 Aws::String m_piiEntityTypes;
462
463 Aws::String m_languageModelName;
464
465 bool m_identifyLanguage{false};
466
467 Aws::String m_languageOptions;
468
469 LanguageCode m_preferredLanguage{LanguageCode::NOT_SET};
470
471 bool m_identifyMultipleLanguages{false};
472
473 Aws::String m_vocabularyNames;
474
475 Aws::String m_vocabularyFilterNames;
476 bool m_requestIdHasBeenSet = false;
477 bool m_languageCodeHasBeenSet = false;
478 bool m_mediaSampleRateHertzHasBeenSet = false;
479 bool m_mediaEncodingHasBeenSet = false;
480 bool m_vocabularyNameHasBeenSet = false;
481 bool m_sessionIdHasBeenSet = false;
482 bool m_vocabularyFilterNameHasBeenSet = false;
483 bool m_vocabularyFilterMethodHasBeenSet = false;
484 bool m_showSpeakerLabelHasBeenSet = false;
485 bool m_enableChannelIdentificationHasBeenSet = false;
486 bool m_numberOfChannelsHasBeenSet = false;
487 bool m_enablePartialResultsStabilizationHasBeenSet = false;
488 bool m_partialResultsStabilityHasBeenSet = false;
489 bool m_contentIdentificationTypeHasBeenSet = false;
490 bool m_contentRedactionTypeHasBeenSet = false;
491 bool m_piiEntityTypesHasBeenSet = false;
492 bool m_languageModelNameHasBeenSet = false;
493 bool m_identifyLanguageHasBeenSet = false;
494 bool m_languageOptionsHasBeenSet = false;
495 bool m_preferredLanguageHasBeenSet = false;
496 bool m_identifyMultipleLanguagesHasBeenSet = false;
497 bool m_vocabularyNamesHasBeenSet = false;
498 bool m_vocabularyFilterNamesHasBeenSet = false;
499};
500
501} // namespace Model
502} // namespace TranscribeStreamingService
503} // 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