AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
Settings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/transcribe/TranscribeService_EXPORTS.h>
9#include <aws/transcribe/model/VocabularyFilterMethod.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace TranscribeService {
21namespace Model {
22
31class Settings {
32 public:
33 AWS_TRANSCRIBESERVICE_API Settings() = default;
34 AWS_TRANSCRIBESERVICE_API Settings(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TRANSCRIBESERVICE_API Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
45 inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
46 template <typename VocabularyNameT = Aws::String>
47 void SetVocabularyName(VocabularyNameT&& value) {
48 m_vocabularyNameHasBeenSet = true;
49 m_vocabularyName = std::forward<VocabularyNameT>(value);
50 }
51 template <typename VocabularyNameT = Aws::String>
52 Settings& WithVocabularyName(VocabularyNameT&& value) {
53 SetVocabularyName(std::forward<VocabularyNameT>(value));
54 return *this;
55 }
57
59
68 inline bool GetShowSpeakerLabels() const { return m_showSpeakerLabels; }
69 inline bool ShowSpeakerLabelsHasBeenSet() const { return m_showSpeakerLabelsHasBeenSet; }
70 inline void SetShowSpeakerLabels(bool value) {
71 m_showSpeakerLabelsHasBeenSet = true;
72 m_showSpeakerLabels = value;
73 }
74 inline Settings& WithShowSpeakerLabels(bool value) {
76 return *this;
77 }
79
81
88 inline int GetMaxSpeakerLabels() const { return m_maxSpeakerLabels; }
89 inline bool MaxSpeakerLabelsHasBeenSet() const { return m_maxSpeakerLabelsHasBeenSet; }
90 inline void SetMaxSpeakerLabels(int value) {
91 m_maxSpeakerLabelsHasBeenSet = true;
92 m_maxSpeakerLabels = value;
93 }
94 inline Settings& WithMaxSpeakerLabels(int value) {
96 return *this;
97 }
99
101
109 inline bool GetChannelIdentification() const { return m_channelIdentification; }
110 inline bool ChannelIdentificationHasBeenSet() const { return m_channelIdentificationHasBeenSet; }
111 inline void SetChannelIdentification(bool value) {
112 m_channelIdentificationHasBeenSet = true;
113 m_channelIdentification = value;
114 }
117 return *this;
118 }
120
122
135 inline bool GetShowAlternatives() const { return m_showAlternatives; }
136 inline bool ShowAlternativesHasBeenSet() const { return m_showAlternativesHasBeenSet; }
137 inline void SetShowAlternatives(bool value) {
138 m_showAlternativesHasBeenSet = true;
139 m_showAlternatives = value;
140 }
141 inline Settings& WithShowAlternatives(bool value) {
142 SetShowAlternatives(value);
143 return *this;
144 }
146
148
159 inline int GetMaxAlternatives() const { return m_maxAlternatives; }
160 inline bool MaxAlternativesHasBeenSet() const { return m_maxAlternativesHasBeenSet; }
161 inline void SetMaxAlternatives(int value) {
162 m_maxAlternativesHasBeenSet = true;
163 m_maxAlternatives = value;
164 }
165 inline Settings& WithMaxAlternatives(int value) {
166 SetMaxAlternatives(value);
167 return *this;
168 }
170
172
179 inline const Aws::String& GetVocabularyFilterName() const { return m_vocabularyFilterName; }
180 inline bool VocabularyFilterNameHasBeenSet() const { return m_vocabularyFilterNameHasBeenSet; }
181 template <typename VocabularyFilterNameT = Aws::String>
182 void SetVocabularyFilterName(VocabularyFilterNameT&& value) {
183 m_vocabularyFilterNameHasBeenSet = true;
184 m_vocabularyFilterName = std::forward<VocabularyFilterNameT>(value);
185 }
186 template <typename VocabularyFilterNameT = Aws::String>
187 Settings& WithVocabularyFilterName(VocabularyFilterNameT&& value) {
188 SetVocabularyFilterName(std::forward<VocabularyFilterNameT>(value));
189 return *this;
190 }
192
194
200 inline VocabularyFilterMethod GetVocabularyFilterMethod() const { return m_vocabularyFilterMethod; }
201 inline bool VocabularyFilterMethodHasBeenSet() const { return m_vocabularyFilterMethodHasBeenSet; }
203 m_vocabularyFilterMethodHasBeenSet = true;
204 m_vocabularyFilterMethod = value;
205 }
208 return *this;
209 }
211 private:
212 Aws::String m_vocabularyName;
213
214 bool m_showSpeakerLabels{false};
215
216 int m_maxSpeakerLabels{0};
217
218 bool m_channelIdentification{false};
219
220 bool m_showAlternatives{false};
221
222 int m_maxAlternatives{0};
223
224 Aws::String m_vocabularyFilterName;
225
227 bool m_vocabularyNameHasBeenSet = false;
228 bool m_showSpeakerLabelsHasBeenSet = false;
229 bool m_maxSpeakerLabelsHasBeenSet = false;
230 bool m_channelIdentificationHasBeenSet = false;
231 bool m_showAlternativesHasBeenSet = false;
232 bool m_maxAlternativesHasBeenSet = false;
233 bool m_vocabularyFilterNameHasBeenSet = false;
234 bool m_vocabularyFilterMethodHasBeenSet = false;
235};
236
237} // namespace Model
238} // namespace TranscribeService
239} // namespace Aws
const Aws::String & GetVocabularyFilterName() const
Definition Settings.h:179
Settings & WithVocabularyFilterName(VocabularyFilterNameT &&value)
Definition Settings.h:187
AWS_TRANSCRIBESERVICE_API Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
Settings & WithShowAlternatives(bool value)
Definition Settings.h:141
Settings & WithChannelIdentification(bool value)
Definition Settings.h:115
Settings & WithMaxAlternatives(int value)
Definition Settings.h:165
void SetVocabularyFilterMethod(VocabularyFilterMethod value)
Definition Settings.h:202
Settings & WithShowSpeakerLabels(bool value)
Definition Settings.h:74
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVocabularyName(VocabularyNameT &&value)
Definition Settings.h:47
Settings & WithMaxSpeakerLabels(int value)
Definition Settings.h:94
Settings & WithVocabularyFilterMethod(VocabularyFilterMethod value)
Definition Settings.h:206
AWS_TRANSCRIBESERVICE_API Settings(Aws::Utils::Json::JsonView jsonValue)
void SetVocabularyFilterName(VocabularyFilterNameT &&value)
Definition Settings.h:182
const Aws::String & GetVocabularyName() const
Definition Settings.h:44
VocabularyFilterMethod GetVocabularyFilterMethod() const
Definition Settings.h:200
AWS_TRANSCRIBESERVICE_API Settings()=default
Settings & WithVocabularyName(VocabularyNameT &&value)
Definition Settings.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue