AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartStreamTranscriptionInitialResponse.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/transcribestreaming/model/LanguageCode.h>
10#include <aws/transcribestreaming/model/MediaEncoding.h>
11#include <aws/transcribestreaming/model/VocabularyFilterMethod.h>
12#include <aws/transcribestreaming/model/PartialResultsStability.h>
13#include <aws/transcribestreaming/model/ContentIdentificationType.h>
14#include <aws/transcribestreaming/model/ContentRedactionType.h>
15#include <aws/core/http/HttpTypes.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace TranscribeStreamingService
29{
30namespace Model
31{
32
34 {
35 public:
36 AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionInitialResponse();
37 AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionInitialResponse(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionInitialResponse(const Http::HeaderValueCollection& responseHeaders);
40 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetRequestId() const{ return m_requestId; }
48 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
49 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
50 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
51 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
53 inline StartStreamTranscriptionInitialResponse& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
54 inline StartStreamTranscriptionInitialResponse& WithRequestId(const char* value) { SetRequestId(value); return *this;}
56
58
61 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
62 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
63 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
64 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
66 inline StartStreamTranscriptionInitialResponse& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
68
70
73 inline int GetMediaSampleRateHertz() const{ return m_mediaSampleRateHertz; }
74 inline bool MediaSampleRateHertzHasBeenSet() const { return m_mediaSampleRateHertzHasBeenSet; }
75 inline void SetMediaSampleRateHertz(int value) { m_mediaSampleRateHertzHasBeenSet = true; m_mediaSampleRateHertz = value; }
78
80
83 inline const MediaEncoding& GetMediaEncoding() const{ return m_mediaEncoding; }
84 inline bool MediaEncodingHasBeenSet() const { return m_mediaEncodingHasBeenSet; }
85 inline void SetMediaEncoding(const MediaEncoding& value) { m_mediaEncodingHasBeenSet = true; m_mediaEncoding = value; }
86 inline void SetMediaEncoding(MediaEncoding&& value) { m_mediaEncodingHasBeenSet = true; m_mediaEncoding = std::move(value); }
90
92
96 inline const Aws::String& GetVocabularyName() const{ return m_vocabularyName; }
97 inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
98 inline void SetVocabularyName(const Aws::String& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = value; }
99 inline void SetVocabularyName(Aws::String&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::move(value); }
100 inline void SetVocabularyName(const char* value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName.assign(value); }
103 inline StartStreamTranscriptionInitialResponse& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;}
105
107
110 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
111 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
112 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
113 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
114 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
116 inline StartStreamTranscriptionInitialResponse& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
117 inline StartStreamTranscriptionInitialResponse& WithSessionId(const char* value) { SetSessionId(value); return *this;}
119
121
125 inline const Aws::String& GetVocabularyFilterName() const{ return m_vocabularyFilterName; }
126 inline bool VocabularyFilterNameHasBeenSet() const { return m_vocabularyFilterNameHasBeenSet; }
127 inline void SetVocabularyFilterName(const Aws::String& value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName = value; }
128 inline void SetVocabularyFilterName(Aws::String&& value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName = std::move(value); }
129 inline void SetVocabularyFilterName(const char* value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName.assign(value); }
134
136
139 inline const VocabularyFilterMethod& GetVocabularyFilterMethod() const{ return m_vocabularyFilterMethod; }
140 inline bool VocabularyFilterMethodHasBeenSet() const { return m_vocabularyFilterMethodHasBeenSet; }
141 inline void SetVocabularyFilterMethod(const VocabularyFilterMethod& value) { m_vocabularyFilterMethodHasBeenSet = true; m_vocabularyFilterMethod = value; }
142 inline void SetVocabularyFilterMethod(VocabularyFilterMethod&& value) { m_vocabularyFilterMethodHasBeenSet = true; m_vocabularyFilterMethod = std::move(value); }
146
148
151 inline bool GetShowSpeakerLabel() const{ return m_showSpeakerLabel; }
152 inline bool ShowSpeakerLabelHasBeenSet() const { return m_showSpeakerLabelHasBeenSet; }
153 inline void SetShowSpeakerLabel(bool value) { m_showSpeakerLabelHasBeenSet = true; m_showSpeakerLabel = value; }
156
158
161 inline bool GetEnableChannelIdentification() const{ return m_enableChannelIdentification; }
162 inline bool EnableChannelIdentificationHasBeenSet() const { return m_enableChannelIdentificationHasBeenSet; }
163 inline void SetEnableChannelIdentification(bool value) { m_enableChannelIdentificationHasBeenSet = true; m_enableChannelIdentification = value; }
166
168
171 inline int GetNumberOfChannels() const{ return m_numberOfChannels; }
172 inline bool NumberOfChannelsHasBeenSet() const { return m_numberOfChannelsHasBeenSet; }
173 inline void SetNumberOfChannels(int value) { m_numberOfChannelsHasBeenSet = true; m_numberOfChannels = value; }
176
178
182 inline bool GetEnablePartialResultsStabilization() const{ return m_enablePartialResultsStabilization; }
183 inline bool EnablePartialResultsStabilizationHasBeenSet() const { return m_enablePartialResultsStabilizationHasBeenSet; }
184 inline void SetEnablePartialResultsStabilization(bool value) { m_enablePartialResultsStabilizationHasBeenSet = true; m_enablePartialResultsStabilization = value; }
187
189
192 inline const PartialResultsStability& GetPartialResultsStability() const{ return m_partialResultsStability; }
193 inline bool PartialResultsStabilityHasBeenSet() const { return m_partialResultsStabilityHasBeenSet; }
194 inline void SetPartialResultsStability(const PartialResultsStability& value) { m_partialResultsStabilityHasBeenSet = true; m_partialResultsStability = value; }
195 inline void SetPartialResultsStability(PartialResultsStability&& value) { m_partialResultsStabilityHasBeenSet = true; m_partialResultsStability = std::move(value); }
199
201
204 inline const ContentIdentificationType& GetContentIdentificationType() const{ return m_contentIdentificationType; }
205 inline bool ContentIdentificationTypeHasBeenSet() const { return m_contentIdentificationTypeHasBeenSet; }
206 inline void SetContentIdentificationType(const ContentIdentificationType& value) { m_contentIdentificationTypeHasBeenSet = true; m_contentIdentificationType = value; }
207 inline void SetContentIdentificationType(ContentIdentificationType&& value) { m_contentIdentificationTypeHasBeenSet = true; m_contentIdentificationType = std::move(value); }
211
213
216 inline const ContentRedactionType& GetContentRedactionType() const{ return m_contentRedactionType; }
217 inline bool ContentRedactionTypeHasBeenSet() const { return m_contentRedactionTypeHasBeenSet; }
218 inline void SetContentRedactionType(const ContentRedactionType& value) { m_contentRedactionTypeHasBeenSet = true; m_contentRedactionType = value; }
219 inline void SetContentRedactionType(ContentRedactionType&& value) { m_contentRedactionTypeHasBeenSet = true; m_contentRedactionType = std::move(value); }
223
225
228 inline const Aws::String& GetPiiEntityTypes() const{ return m_piiEntityTypes; }
229 inline bool PiiEntityTypesHasBeenSet() const { return m_piiEntityTypesHasBeenSet; }
230 inline void SetPiiEntityTypes(const Aws::String& value) { m_piiEntityTypesHasBeenSet = true; m_piiEntityTypes = value; }
231 inline void SetPiiEntityTypes(Aws::String&& value) { m_piiEntityTypesHasBeenSet = true; m_piiEntityTypes = std::move(value); }
232 inline void SetPiiEntityTypes(const char* value) { m_piiEntityTypesHasBeenSet = true; m_piiEntityTypes.assign(value); }
235 inline StartStreamTranscriptionInitialResponse& WithPiiEntityTypes(const char* value) { SetPiiEntityTypes(value); return *this;}
237
239
243 inline const Aws::String& GetLanguageModelName() const{ return m_languageModelName; }
244 inline bool LanguageModelNameHasBeenSet() const { return m_languageModelNameHasBeenSet; }
245 inline void SetLanguageModelName(const Aws::String& value) { m_languageModelNameHasBeenSet = true; m_languageModelName = value; }
246 inline void SetLanguageModelName(Aws::String&& value) { m_languageModelNameHasBeenSet = true; m_languageModelName = std::move(value); }
247 inline void SetLanguageModelName(const char* value) { m_languageModelNameHasBeenSet = true; m_languageModelName.assign(value); }
252
254
258 inline bool GetIdentifyLanguage() const{ return m_identifyLanguage; }
259 inline bool IdentifyLanguageHasBeenSet() const { return m_identifyLanguageHasBeenSet; }
260 inline void SetIdentifyLanguage(bool value) { m_identifyLanguageHasBeenSet = true; m_identifyLanguage = value; }
263
265
268 inline const Aws::String& GetLanguageOptions() const{ return m_languageOptions; }
269 inline bool LanguageOptionsHasBeenSet() const { return m_languageOptionsHasBeenSet; }
270 inline void SetLanguageOptions(const Aws::String& value) { m_languageOptionsHasBeenSet = true; m_languageOptions = value; }
271 inline void SetLanguageOptions(Aws::String&& value) { m_languageOptionsHasBeenSet = true; m_languageOptions = std::move(value); }
272 inline void SetLanguageOptions(const char* value) { m_languageOptionsHasBeenSet = true; m_languageOptions.assign(value); }
275 inline StartStreamTranscriptionInitialResponse& WithLanguageOptions(const char* value) { SetLanguageOptions(value); return *this;}
277
279
282 inline const LanguageCode& GetPreferredLanguage() const{ return m_preferredLanguage; }
283 inline bool PreferredLanguageHasBeenSet() const { return m_preferredLanguageHasBeenSet; }
284 inline void SetPreferredLanguage(const LanguageCode& value) { m_preferredLanguageHasBeenSet = true; m_preferredLanguage = value; }
285 inline void SetPreferredLanguage(LanguageCode&& value) { m_preferredLanguageHasBeenSet = true; m_preferredLanguage = std::move(value); }
289
291
295 inline bool GetIdentifyMultipleLanguages() const{ return m_identifyMultipleLanguages; }
296 inline bool IdentifyMultipleLanguagesHasBeenSet() const { return m_identifyMultipleLanguagesHasBeenSet; }
297 inline void SetIdentifyMultipleLanguages(bool value) { m_identifyMultipleLanguagesHasBeenSet = true; m_identifyMultipleLanguages = value; }
300
302
306 inline const Aws::String& GetVocabularyNames() const{ return m_vocabularyNames; }
307 inline bool VocabularyNamesHasBeenSet() const { return m_vocabularyNamesHasBeenSet; }
308 inline void SetVocabularyNames(const Aws::String& value) { m_vocabularyNamesHasBeenSet = true; m_vocabularyNames = value; }
309 inline void SetVocabularyNames(Aws::String&& value) { m_vocabularyNamesHasBeenSet = true; m_vocabularyNames = std::move(value); }
310 inline void SetVocabularyNames(const char* value) { m_vocabularyNamesHasBeenSet = true; m_vocabularyNames.assign(value); }
313 inline StartStreamTranscriptionInitialResponse& WithVocabularyNames(const char* value) { SetVocabularyNames(value); return *this;}
315
317
321 inline const Aws::String& GetVocabularyFilterNames() const{ return m_vocabularyFilterNames; }
322 inline bool VocabularyFilterNamesHasBeenSet() const { return m_vocabularyFilterNamesHasBeenSet; }
323 inline void SetVocabularyFilterNames(const Aws::String& value) { m_vocabularyFilterNamesHasBeenSet = true; m_vocabularyFilterNames = value; }
324 inline void SetVocabularyFilterNames(Aws::String&& value) { m_vocabularyFilterNamesHasBeenSet = true; m_vocabularyFilterNames = std::move(value); }
325 inline void SetVocabularyFilterNames(const char* value) { m_vocabularyFilterNamesHasBeenSet = true; m_vocabularyFilterNames.assign(value); }
330 private:
331
332 Aws::String m_requestId;
333 bool m_requestIdHasBeenSet = false;
334
335 LanguageCode m_languageCode;
336 bool m_languageCodeHasBeenSet = false;
337
338 int m_mediaSampleRateHertz;
339 bool m_mediaSampleRateHertzHasBeenSet = false;
340
341 MediaEncoding m_mediaEncoding;
342 bool m_mediaEncodingHasBeenSet = false;
343
344 Aws::String m_vocabularyName;
345 bool m_vocabularyNameHasBeenSet = false;
346
347 Aws::String m_sessionId;
348 bool m_sessionIdHasBeenSet = false;
349
350 Aws::String m_vocabularyFilterName;
351 bool m_vocabularyFilterNameHasBeenSet = false;
352
353 VocabularyFilterMethod m_vocabularyFilterMethod;
354 bool m_vocabularyFilterMethodHasBeenSet = false;
355
356 bool m_showSpeakerLabel;
357 bool m_showSpeakerLabelHasBeenSet = false;
358
359 bool m_enableChannelIdentification;
360 bool m_enableChannelIdentificationHasBeenSet = false;
361
362 int m_numberOfChannels;
363 bool m_numberOfChannelsHasBeenSet = false;
364
365 bool m_enablePartialResultsStabilization;
366 bool m_enablePartialResultsStabilizationHasBeenSet = false;
367
368 PartialResultsStability m_partialResultsStability;
369 bool m_partialResultsStabilityHasBeenSet = false;
370
371 ContentIdentificationType m_contentIdentificationType;
372 bool m_contentIdentificationTypeHasBeenSet = false;
373
374 ContentRedactionType m_contentRedactionType;
375 bool m_contentRedactionTypeHasBeenSet = false;
376
377 Aws::String m_piiEntityTypes;
378 bool m_piiEntityTypesHasBeenSet = false;
379
380 Aws::String m_languageModelName;
381 bool m_languageModelNameHasBeenSet = false;
382
383 bool m_identifyLanguage;
384 bool m_identifyLanguageHasBeenSet = false;
385
386 Aws::String m_languageOptions;
387 bool m_languageOptionsHasBeenSet = false;
388
389 LanguageCode m_preferredLanguage;
390 bool m_preferredLanguageHasBeenSet = false;
391
392 bool m_identifyMultipleLanguages;
393 bool m_identifyMultipleLanguagesHasBeenSet = false;
394
395 Aws::String m_vocabularyNames;
396 bool m_vocabularyNamesHasBeenSet = false;
397
398 Aws::String m_vocabularyFilterNames;
399 bool m_vocabularyFilterNamesHasBeenSet = false;
400 };
401
402} // namespace Model
403} // namespace TranscribeStreamingService
404} // namespace Aws
StartStreamTranscriptionInitialResponse & WithRequestId(const Aws::String &value)
StartStreamTranscriptionInitialResponse & WithLanguageModelName(const Aws::String &value)
StartStreamTranscriptionInitialResponse & WithLanguageOptions(const Aws::String &value)
StartStreamTranscriptionInitialResponse & WithPreferredLanguage(const LanguageCode &value)
StartStreamTranscriptionInitialResponse & WithVocabularyNames(const Aws::String &value)
StartStreamTranscriptionInitialResponse & WithContentRedactionType(ContentRedactionType &&value)
StartStreamTranscriptionInitialResponse & WithPartialResultsStability(PartialResultsStability &&value)
StartStreamTranscriptionInitialResponse & WithVocabularyFilterMethod(VocabularyFilterMethod &&value)
StartStreamTranscriptionInitialResponse & WithPiiEntityTypes(const Aws::String &value)
StartStreamTranscriptionInitialResponse & WithContentIdentificationType(const ContentIdentificationType &value)
StartStreamTranscriptionInitialResponse & WithLanguageCode(const LanguageCode &value)
StartStreamTranscriptionInitialResponse & WithVocabularyFilterName(const Aws::String &value)
StartStreamTranscriptionInitialResponse & WithVocabularyFilterMethod(const VocabularyFilterMethod &value)
StartStreamTranscriptionInitialResponse & WithVocabularyName(const Aws::String &value)
StartStreamTranscriptionInitialResponse & WithContentRedactionType(const ContentRedactionType &value)
StartStreamTranscriptionInitialResponse & WithMediaEncoding(const MediaEncoding &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionInitialResponse(Aws::Utils::Json::JsonView jsonValue)
StartStreamTranscriptionInitialResponse & WithContentIdentificationType(ContentIdentificationType &&value)
StartStreamTranscriptionInitialResponse & WithPartialResultsStability(const PartialResultsStability &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionInitialResponse(const Http::HeaderValueCollection &responseHeaders)
AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionInitialResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
StartStreamTranscriptionInitialResponse & WithVocabularyFilterNames(const Aws::String &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