AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVocabularyName(const Aws::String& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = value; }
53 inline void SetVocabularyName(Aws::String&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::move(value); }
54 inline void SetVocabularyName(const char* value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName.assign(value); }
55 inline Settings& WithVocabularyName(const Aws::String& value) { SetVocabularyName(value); return *this;}
56 inline Settings& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;}
57 inline Settings& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;}
59
61
70 inline bool GetShowSpeakerLabels() const{ return m_showSpeakerLabels; }
71 inline bool ShowSpeakerLabelsHasBeenSet() const { return m_showSpeakerLabelsHasBeenSet; }
72 inline void SetShowSpeakerLabels(bool value) { m_showSpeakerLabelsHasBeenSet = true; m_showSpeakerLabels = value; }
73 inline Settings& WithShowSpeakerLabels(bool value) { SetShowSpeakerLabels(value); return *this;}
75
77
84 inline int GetMaxSpeakerLabels() const{ return m_maxSpeakerLabels; }
85 inline bool MaxSpeakerLabelsHasBeenSet() const { return m_maxSpeakerLabelsHasBeenSet; }
86 inline void SetMaxSpeakerLabels(int value) { m_maxSpeakerLabelsHasBeenSet = true; m_maxSpeakerLabels = value; }
87 inline Settings& WithMaxSpeakerLabels(int value) { SetMaxSpeakerLabels(value); return *this;}
89
91
99 inline bool GetChannelIdentification() const{ return m_channelIdentification; }
100 inline bool ChannelIdentificationHasBeenSet() const { return m_channelIdentificationHasBeenSet; }
101 inline void SetChannelIdentification(bool value) { m_channelIdentificationHasBeenSet = true; m_channelIdentification = value; }
102 inline Settings& WithChannelIdentification(bool value) { SetChannelIdentification(value); return *this;}
104
106
119 inline bool GetShowAlternatives() const{ return m_showAlternatives; }
120 inline bool ShowAlternativesHasBeenSet() const { return m_showAlternativesHasBeenSet; }
121 inline void SetShowAlternatives(bool value) { m_showAlternativesHasBeenSet = true; m_showAlternatives = value; }
122 inline Settings& WithShowAlternatives(bool value) { SetShowAlternatives(value); return *this;}
124
126
137 inline int GetMaxAlternatives() const{ return m_maxAlternatives; }
138 inline bool MaxAlternativesHasBeenSet() const { return m_maxAlternativesHasBeenSet; }
139 inline void SetMaxAlternatives(int value) { m_maxAlternativesHasBeenSet = true; m_maxAlternatives = value; }
140 inline Settings& WithMaxAlternatives(int value) { SetMaxAlternatives(value); return *this;}
142
144
151 inline const Aws::String& GetVocabularyFilterName() const{ return m_vocabularyFilterName; }
152 inline bool VocabularyFilterNameHasBeenSet() const { return m_vocabularyFilterNameHasBeenSet; }
153 inline void SetVocabularyFilterName(const Aws::String& value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName = value; }
154 inline void SetVocabularyFilterName(Aws::String&& value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName = std::move(value); }
155 inline void SetVocabularyFilterName(const char* value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName.assign(value); }
156 inline Settings& WithVocabularyFilterName(const Aws::String& value) { SetVocabularyFilterName(value); return *this;}
157 inline Settings& WithVocabularyFilterName(Aws::String&& value) { SetVocabularyFilterName(std::move(value)); return *this;}
158 inline Settings& WithVocabularyFilterName(const char* value) { SetVocabularyFilterName(value); return *this;}
160
162
168 inline const VocabularyFilterMethod& GetVocabularyFilterMethod() const{ return m_vocabularyFilterMethod; }
169 inline bool VocabularyFilterMethodHasBeenSet() const { return m_vocabularyFilterMethodHasBeenSet; }
170 inline void SetVocabularyFilterMethod(const VocabularyFilterMethod& value) { m_vocabularyFilterMethodHasBeenSet = true; m_vocabularyFilterMethod = value; }
171 inline void SetVocabularyFilterMethod(VocabularyFilterMethod&& value) { m_vocabularyFilterMethodHasBeenSet = true; m_vocabularyFilterMethod = std::move(value); }
173 inline Settings& WithVocabularyFilterMethod(VocabularyFilterMethod&& value) { SetVocabularyFilterMethod(std::move(value)); return *this;}
175 private:
176
177 Aws::String m_vocabularyName;
178 bool m_vocabularyNameHasBeenSet = false;
179
180 bool m_showSpeakerLabels;
181 bool m_showSpeakerLabelsHasBeenSet = false;
182
183 int m_maxSpeakerLabels;
184 bool m_maxSpeakerLabelsHasBeenSet = false;
185
186 bool m_channelIdentification;
187 bool m_channelIdentificationHasBeenSet = false;
188
189 bool m_showAlternatives;
190 bool m_showAlternativesHasBeenSet = false;
191
192 int m_maxAlternatives;
193 bool m_maxAlternativesHasBeenSet = false;
194
195 Aws::String m_vocabularyFilterName;
196 bool m_vocabularyFilterNameHasBeenSet = false;
197
198 VocabularyFilterMethod m_vocabularyFilterMethod;
199 bool m_vocabularyFilterMethodHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace TranscribeService
204} // namespace Aws
const Aws::String & GetVocabularyFilterName() const
Definition Settings.h:151
AWS_TRANSCRIBESERVICE_API Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
Settings & WithVocabularyFilterMethod(const VocabularyFilterMethod &value)
Definition Settings.h:172
void SetVocabularyName(Aws::String &&value)
Definition Settings.h:53
Settings & WithVocabularyFilterName(const Aws::String &value)
Definition Settings.h:156
void SetVocabularyFilterName(const Aws::String &value)
Definition Settings.h:153
void SetVocabularyFilterName(const char *value)
Definition Settings.h:155
Settings & WithShowAlternatives(bool value)
Definition Settings.h:122
Settings & WithChannelIdentification(bool value)
Definition Settings.h:102
Settings & WithVocabularyName(Aws::String &&value)
Definition Settings.h:56
AWS_TRANSCRIBESERVICE_API Settings()
void SetVocabularyFilterMethod(const VocabularyFilterMethod &value)
Definition Settings.h:170
void SetVocabularyName(const Aws::String &value)
Definition Settings.h:52
Settings & WithMaxAlternatives(int value)
Definition Settings.h:140
Settings & WithShowSpeakerLabels(bool value)
Definition Settings.h:73
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVocabularyFilterMethod(VocabularyFilterMethod &&value)
Definition Settings.h:171
Settings & WithMaxSpeakerLabels(int value)
Definition Settings.h:87
const VocabularyFilterMethod & GetVocabularyFilterMethod() const
Definition Settings.h:168
AWS_TRANSCRIBESERVICE_API Settings(Aws::Utils::Json::JsonView jsonValue)
Settings & WithVocabularyFilterName(Aws::String &&value)
Definition Settings.h:157
Settings & WithVocabularyFilterMethod(VocabularyFilterMethod &&value)
Definition Settings.h:173
const Aws::String & GetVocabularyName() const
Definition Settings.h:50
void SetVocabularyFilterName(Aws::String &&value)
Definition Settings.h:154
Settings & WithVocabularyFilterName(const char *value)
Definition Settings.h:158
Settings & WithVocabularyName(const Aws::String &value)
Definition Settings.h:55
void SetVocabularyName(const char *value)
Definition Settings.h:54
Settings & WithVocabularyName(const char *value)
Definition Settings.h:57
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue