AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename RequestIdT = Aws::String>
50 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
51 template<typename RequestIdT = Aws::String>
52 StartStreamTranscriptionInitialResponse& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
54
56
59 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
60 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
61 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
64
66
69 inline int GetMediaSampleRateHertz() const { return m_mediaSampleRateHertz; }
70 inline bool MediaSampleRateHertzHasBeenSet() const { return m_mediaSampleRateHertzHasBeenSet; }
71 inline void SetMediaSampleRateHertz(int value) { m_mediaSampleRateHertzHasBeenSet = true; m_mediaSampleRateHertz = value; }
74
76
79 inline MediaEncoding GetMediaEncoding() const { return m_mediaEncoding; }
80 inline bool MediaEncodingHasBeenSet() const { return m_mediaEncodingHasBeenSet; }
81 inline void SetMediaEncoding(MediaEncoding value) { m_mediaEncodingHasBeenSet = true; m_mediaEncoding = value; }
84
86
90 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
91 inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
92 template<typename VocabularyNameT = Aws::String>
93 void SetVocabularyName(VocabularyNameT&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::forward<VocabularyNameT>(value); }
94 template<typename VocabularyNameT = Aws::String>
95 StartStreamTranscriptionInitialResponse& WithVocabularyName(VocabularyNameT&& value) { SetVocabularyName(std::forward<VocabularyNameT>(value)); return *this;}
97
99
102 inline const Aws::String& GetSessionId() const { return m_sessionId; }
103 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
104 template<typename SessionIdT = Aws::String>
105 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
106 template<typename SessionIdT = Aws::String>
107 StartStreamTranscriptionInitialResponse& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
109
111
115 inline const Aws::String& GetVocabularyFilterName() const { return m_vocabularyFilterName; }
116 inline bool VocabularyFilterNameHasBeenSet() const { return m_vocabularyFilterNameHasBeenSet; }
117 template<typename VocabularyFilterNameT = Aws::String>
118 void SetVocabularyFilterName(VocabularyFilterNameT&& value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName = std::forward<VocabularyFilterNameT>(value); }
119 template<typename VocabularyFilterNameT = Aws::String>
120 StartStreamTranscriptionInitialResponse& WithVocabularyFilterName(VocabularyFilterNameT&& value) { SetVocabularyFilterName(std::forward<VocabularyFilterNameT>(value)); return *this;}
122
124
127 inline VocabularyFilterMethod GetVocabularyFilterMethod() const { return m_vocabularyFilterMethod; }
128 inline bool VocabularyFilterMethodHasBeenSet() const { return m_vocabularyFilterMethodHasBeenSet; }
129 inline void SetVocabularyFilterMethod(VocabularyFilterMethod value) { m_vocabularyFilterMethodHasBeenSet = true; m_vocabularyFilterMethod = value; }
132
134
137 inline bool GetShowSpeakerLabel() const { return m_showSpeakerLabel; }
138 inline bool ShowSpeakerLabelHasBeenSet() const { return m_showSpeakerLabelHasBeenSet; }
139 inline void SetShowSpeakerLabel(bool value) { m_showSpeakerLabelHasBeenSet = true; m_showSpeakerLabel = value; }
142
144
147 inline bool GetEnableChannelIdentification() const { return m_enableChannelIdentification; }
148 inline bool EnableChannelIdentificationHasBeenSet() const { return m_enableChannelIdentificationHasBeenSet; }
149 inline void SetEnableChannelIdentification(bool value) { m_enableChannelIdentificationHasBeenSet = true; m_enableChannelIdentification = value; }
152
154
157 inline int GetNumberOfChannels() const { return m_numberOfChannels; }
158 inline bool NumberOfChannelsHasBeenSet() const { return m_numberOfChannelsHasBeenSet; }
159 inline void SetNumberOfChannels(int value) { m_numberOfChannelsHasBeenSet = true; m_numberOfChannels = value; }
162
164
168 inline bool GetEnablePartialResultsStabilization() const { return m_enablePartialResultsStabilization; }
169 inline bool EnablePartialResultsStabilizationHasBeenSet() const { return m_enablePartialResultsStabilizationHasBeenSet; }
170 inline void SetEnablePartialResultsStabilization(bool value) { m_enablePartialResultsStabilizationHasBeenSet = true; m_enablePartialResultsStabilization = value; }
173
175
178 inline PartialResultsStability GetPartialResultsStability() const { return m_partialResultsStability; }
179 inline bool PartialResultsStabilityHasBeenSet() const { return m_partialResultsStabilityHasBeenSet; }
180 inline void SetPartialResultsStability(PartialResultsStability value) { m_partialResultsStabilityHasBeenSet = true; m_partialResultsStability = value; }
183
185
188 inline ContentIdentificationType GetContentIdentificationType() const { return m_contentIdentificationType; }
189 inline bool ContentIdentificationTypeHasBeenSet() const { return m_contentIdentificationTypeHasBeenSet; }
190 inline void SetContentIdentificationType(ContentIdentificationType value) { m_contentIdentificationTypeHasBeenSet = true; m_contentIdentificationType = value; }
193
195
198 inline ContentRedactionType GetContentRedactionType() const { return m_contentRedactionType; }
199 inline bool ContentRedactionTypeHasBeenSet() const { return m_contentRedactionTypeHasBeenSet; }
200 inline void SetContentRedactionType(ContentRedactionType value) { m_contentRedactionTypeHasBeenSet = true; m_contentRedactionType = value; }
203
205
208 inline const Aws::String& GetPiiEntityTypes() const { return m_piiEntityTypes; }
209 inline bool PiiEntityTypesHasBeenSet() const { return m_piiEntityTypesHasBeenSet; }
210 template<typename PiiEntityTypesT = Aws::String>
211 void SetPiiEntityTypes(PiiEntityTypesT&& value) { m_piiEntityTypesHasBeenSet = true; m_piiEntityTypes = std::forward<PiiEntityTypesT>(value); }
212 template<typename PiiEntityTypesT = Aws::String>
213 StartStreamTranscriptionInitialResponse& WithPiiEntityTypes(PiiEntityTypesT&& value) { SetPiiEntityTypes(std::forward<PiiEntityTypesT>(value)); return *this;}
215
217
221 inline const Aws::String& GetLanguageModelName() const { return m_languageModelName; }
222 inline bool LanguageModelNameHasBeenSet() const { return m_languageModelNameHasBeenSet; }
223 template<typename LanguageModelNameT = Aws::String>
224 void SetLanguageModelName(LanguageModelNameT&& value) { m_languageModelNameHasBeenSet = true; m_languageModelName = std::forward<LanguageModelNameT>(value); }
225 template<typename LanguageModelNameT = Aws::String>
226 StartStreamTranscriptionInitialResponse& WithLanguageModelName(LanguageModelNameT&& value) { SetLanguageModelName(std::forward<LanguageModelNameT>(value)); return *this;}
228
230
234 inline bool GetIdentifyLanguage() const { return m_identifyLanguage; }
235 inline bool IdentifyLanguageHasBeenSet() const { return m_identifyLanguageHasBeenSet; }
236 inline void SetIdentifyLanguage(bool value) { m_identifyLanguageHasBeenSet = true; m_identifyLanguage = value; }
239
241
244 inline const Aws::String& GetLanguageOptions() const { return m_languageOptions; }
245 inline bool LanguageOptionsHasBeenSet() const { return m_languageOptionsHasBeenSet; }
246 template<typename LanguageOptionsT = Aws::String>
247 void SetLanguageOptions(LanguageOptionsT&& value) { m_languageOptionsHasBeenSet = true; m_languageOptions = std::forward<LanguageOptionsT>(value); }
248 template<typename LanguageOptionsT = Aws::String>
249 StartStreamTranscriptionInitialResponse& WithLanguageOptions(LanguageOptionsT&& value) { SetLanguageOptions(std::forward<LanguageOptionsT>(value)); return *this;}
251
253
256 inline LanguageCode GetPreferredLanguage() const { return m_preferredLanguage; }
257 inline bool PreferredLanguageHasBeenSet() const { return m_preferredLanguageHasBeenSet; }
258 inline void SetPreferredLanguage(LanguageCode value) { m_preferredLanguageHasBeenSet = true; m_preferredLanguage = value; }
261
263
267 inline bool GetIdentifyMultipleLanguages() const { return m_identifyMultipleLanguages; }
268 inline bool IdentifyMultipleLanguagesHasBeenSet() const { return m_identifyMultipleLanguagesHasBeenSet; }
269 inline void SetIdentifyMultipleLanguages(bool value) { m_identifyMultipleLanguagesHasBeenSet = true; m_identifyMultipleLanguages = value; }
272
274
278 inline const Aws::String& GetVocabularyNames() const { return m_vocabularyNames; }
279 inline bool VocabularyNamesHasBeenSet() const { return m_vocabularyNamesHasBeenSet; }
280 template<typename VocabularyNamesT = Aws::String>
281 void SetVocabularyNames(VocabularyNamesT&& value) { m_vocabularyNamesHasBeenSet = true; m_vocabularyNames = std::forward<VocabularyNamesT>(value); }
282 template<typename VocabularyNamesT = Aws::String>
283 StartStreamTranscriptionInitialResponse& WithVocabularyNames(VocabularyNamesT&& value) { SetVocabularyNames(std::forward<VocabularyNamesT>(value)); return *this;}
285
287
291 inline const Aws::String& GetVocabularyFilterNames() const { return m_vocabularyFilterNames; }
292 inline bool VocabularyFilterNamesHasBeenSet() const { return m_vocabularyFilterNamesHasBeenSet; }
293 template<typename VocabularyFilterNamesT = Aws::String>
294 void SetVocabularyFilterNames(VocabularyFilterNamesT&& value) { m_vocabularyFilterNamesHasBeenSet = true; m_vocabularyFilterNames = std::forward<VocabularyFilterNamesT>(value); }
295 template<typename VocabularyFilterNamesT = Aws::String>
296 StartStreamTranscriptionInitialResponse& WithVocabularyFilterNames(VocabularyFilterNamesT&& value) { SetVocabularyFilterNames(std::forward<VocabularyFilterNamesT>(value)); return *this;}
298 private:
299
300 Aws::String m_requestId;
301 bool m_requestIdHasBeenSet = false;
302
303 LanguageCode m_languageCode{LanguageCode::NOT_SET};
304 bool m_languageCodeHasBeenSet = false;
305
306 int m_mediaSampleRateHertz{0};
307 bool m_mediaSampleRateHertzHasBeenSet = false;
308
309 MediaEncoding m_mediaEncoding{MediaEncoding::NOT_SET};
310 bool m_mediaEncodingHasBeenSet = false;
311
312 Aws::String m_vocabularyName;
313 bool m_vocabularyNameHasBeenSet = false;
314
315 Aws::String m_sessionId;
316 bool m_sessionIdHasBeenSet = false;
317
318 Aws::String m_vocabularyFilterName;
319 bool m_vocabularyFilterNameHasBeenSet = false;
320
322 bool m_vocabularyFilterMethodHasBeenSet = false;
323
324 bool m_showSpeakerLabel{false};
325 bool m_showSpeakerLabelHasBeenSet = false;
326
327 bool m_enableChannelIdentification{false};
328 bool m_enableChannelIdentificationHasBeenSet = false;
329
330 int m_numberOfChannels{0};
331 bool m_numberOfChannelsHasBeenSet = false;
332
333 bool m_enablePartialResultsStabilization{false};
334 bool m_enablePartialResultsStabilizationHasBeenSet = false;
335
337 bool m_partialResultsStabilityHasBeenSet = false;
338
340 bool m_contentIdentificationTypeHasBeenSet = false;
341
343 bool m_contentRedactionTypeHasBeenSet = false;
344
345 Aws::String m_piiEntityTypes;
346 bool m_piiEntityTypesHasBeenSet = false;
347
348 Aws::String m_languageModelName;
349 bool m_languageModelNameHasBeenSet = false;
350
351 bool m_identifyLanguage{false};
352 bool m_identifyLanguageHasBeenSet = false;
353
354 Aws::String m_languageOptions;
355 bool m_languageOptionsHasBeenSet = false;
356
357 LanguageCode m_preferredLanguage{LanguageCode::NOT_SET};
358 bool m_preferredLanguageHasBeenSet = false;
359
360 bool m_identifyMultipleLanguages{false};
361 bool m_identifyMultipleLanguagesHasBeenSet = false;
362
363 Aws::String m_vocabularyNames;
364 bool m_vocabularyNamesHasBeenSet = false;
365
366 Aws::String m_vocabularyFilterNames;
367 bool m_vocabularyFilterNamesHasBeenSet = false;
368 };
369
370} // namespace Model
371} // namespace TranscribeStreamingService
372} // 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