AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Settings.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/transcribe/model/VocabularyFilterMethod.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace TranscribeService
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_TRANSCRIBESERVICE_API Settings() = default;
39 AWS_TRANSCRIBESERVICE_API Settings(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSCRIBESERVICE_API Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
51 inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
52 template<typename VocabularyNameT = Aws::String>
53 void SetVocabularyName(VocabularyNameT&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::forward<VocabularyNameT>(value); }
54 template<typename VocabularyNameT = Aws::String>
55 Settings& WithVocabularyName(VocabularyNameT&& value) { SetVocabularyName(std::forward<VocabularyNameT>(value)); return *this;}
57
59
68 inline bool GetShowSpeakerLabels() const { return m_showSpeakerLabels; }
69 inline bool ShowSpeakerLabelsHasBeenSet() const { return m_showSpeakerLabelsHasBeenSet; }
70 inline void SetShowSpeakerLabels(bool value) { m_showSpeakerLabelsHasBeenSet = true; m_showSpeakerLabels = value; }
71 inline Settings& WithShowSpeakerLabels(bool value) { SetShowSpeakerLabels(value); return *this;}
73
75
82 inline int GetMaxSpeakerLabels() const { return m_maxSpeakerLabels; }
83 inline bool MaxSpeakerLabelsHasBeenSet() const { return m_maxSpeakerLabelsHasBeenSet; }
84 inline void SetMaxSpeakerLabels(int value) { m_maxSpeakerLabelsHasBeenSet = true; m_maxSpeakerLabels = value; }
85 inline Settings& WithMaxSpeakerLabels(int value) { SetMaxSpeakerLabels(value); return *this;}
87
89
97 inline bool GetChannelIdentification() const { return m_channelIdentification; }
98 inline bool ChannelIdentificationHasBeenSet() const { return m_channelIdentificationHasBeenSet; }
99 inline void SetChannelIdentification(bool value) { m_channelIdentificationHasBeenSet = true; m_channelIdentification = value; }
100 inline Settings& WithChannelIdentification(bool value) { SetChannelIdentification(value); return *this;}
102
104
117 inline bool GetShowAlternatives() const { return m_showAlternatives; }
118 inline bool ShowAlternativesHasBeenSet() const { return m_showAlternativesHasBeenSet; }
119 inline void SetShowAlternatives(bool value) { m_showAlternativesHasBeenSet = true; m_showAlternatives = value; }
120 inline Settings& WithShowAlternatives(bool value) { SetShowAlternatives(value); return *this;}
122
124
135 inline int GetMaxAlternatives() const { return m_maxAlternatives; }
136 inline bool MaxAlternativesHasBeenSet() const { return m_maxAlternativesHasBeenSet; }
137 inline void SetMaxAlternatives(int value) { m_maxAlternativesHasBeenSet = true; m_maxAlternatives = value; }
138 inline Settings& WithMaxAlternatives(int value) { SetMaxAlternatives(value); return *this;}
140
142
149 inline const Aws::String& GetVocabularyFilterName() const { return m_vocabularyFilterName; }
150 inline bool VocabularyFilterNameHasBeenSet() const { return m_vocabularyFilterNameHasBeenSet; }
151 template<typename VocabularyFilterNameT = Aws::String>
152 void SetVocabularyFilterName(VocabularyFilterNameT&& value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName = std::forward<VocabularyFilterNameT>(value); }
153 template<typename VocabularyFilterNameT = Aws::String>
154 Settings& WithVocabularyFilterName(VocabularyFilterNameT&& value) { SetVocabularyFilterName(std::forward<VocabularyFilterNameT>(value)); return *this;}
156
158
164 inline VocabularyFilterMethod GetVocabularyFilterMethod() const { return m_vocabularyFilterMethod; }
165 inline bool VocabularyFilterMethodHasBeenSet() const { return m_vocabularyFilterMethodHasBeenSet; }
166 inline void SetVocabularyFilterMethod(VocabularyFilterMethod value) { m_vocabularyFilterMethodHasBeenSet = true; m_vocabularyFilterMethod = value; }
169 private:
170
171 Aws::String m_vocabularyName;
172 bool m_vocabularyNameHasBeenSet = false;
173
174 bool m_showSpeakerLabels{false};
175 bool m_showSpeakerLabelsHasBeenSet = false;
176
177 int m_maxSpeakerLabels{0};
178 bool m_maxSpeakerLabelsHasBeenSet = false;
179
180 bool m_channelIdentification{false};
181 bool m_channelIdentificationHasBeenSet = false;
182
183 bool m_showAlternatives{false};
184 bool m_showAlternativesHasBeenSet = false;
185
186 int m_maxAlternatives{0};
187 bool m_maxAlternativesHasBeenSet = false;
188
189 Aws::String m_vocabularyFilterName;
190 bool m_vocabularyFilterNameHasBeenSet = false;
191
193 bool m_vocabularyFilterMethodHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace TranscribeService
198} // namespace Aws
const Aws::String & GetVocabularyFilterName() const
Definition Settings.h:149
Settings & WithVocabularyFilterName(VocabularyFilterNameT &&value)
Definition Settings.h:154
AWS_TRANSCRIBESERVICE_API Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetChannelIdentification(bool value)
Definition Settings.h:99
Settings & WithShowAlternatives(bool value)
Definition Settings.h:120
Settings & WithChannelIdentification(bool value)
Definition Settings.h:100
Settings & WithMaxAlternatives(int value)
Definition Settings.h:138
void SetVocabularyFilterMethod(VocabularyFilterMethod value)
Definition Settings.h:166
Settings & WithShowSpeakerLabels(bool value)
Definition Settings.h:71
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVocabularyName(VocabularyNameT &&value)
Definition Settings.h:53
Settings & WithMaxSpeakerLabels(int value)
Definition Settings.h:85
Settings & WithVocabularyFilterMethod(VocabularyFilterMethod value)
Definition Settings.h:167
AWS_TRANSCRIBESERVICE_API Settings(Aws::Utils::Json::JsonView jsonValue)
void SetVocabularyFilterName(VocabularyFilterNameT &&value)
Definition Settings.h:152
const Aws::String & GetVocabularyName() const
Definition Settings.h:50
VocabularyFilterMethod GetVocabularyFilterMethod() const
Definition Settings.h:164
AWS_TRANSCRIBESERVICE_API Settings()=default
Settings & WithVocabularyName(VocabularyNameT &&value)
Definition Settings.h:55
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue