AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
CallAnalyticsJobSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/transcribe/TranscribeService_EXPORTS.h>
11#include <aws/transcribe/model/ContentRedaction.h>
12#include <aws/transcribe/model/LanguageCode.h>
13#include <aws/transcribe/model/LanguageIdSettings.h>
14#include <aws/transcribe/model/Summarization.h>
15#include <aws/transcribe/model/VocabularyFilterMethod.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace TranscribeService {
27namespace Model {
28
38 public:
39 AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSettings() = default;
40 AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSettings(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
49 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
50 inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
51 template <typename VocabularyNameT = Aws::String>
52 void SetVocabularyName(VocabularyNameT&& value) {
53 m_vocabularyNameHasBeenSet = true;
54 m_vocabularyName = std::forward<VocabularyNameT>(value);
55 }
56 template <typename VocabularyNameT = Aws::String>
57 CallAnalyticsJobSettings& WithVocabularyName(VocabularyNameT&& value) {
58 SetVocabularyName(std::forward<VocabularyNameT>(value));
59 return *this;
60 }
62
64
70 inline const Aws::String& GetVocabularyFilterName() const { return m_vocabularyFilterName; }
71 inline bool VocabularyFilterNameHasBeenSet() const { return m_vocabularyFilterNameHasBeenSet; }
72 template <typename VocabularyFilterNameT = Aws::String>
73 void SetVocabularyFilterName(VocabularyFilterNameT&& value) {
74 m_vocabularyFilterNameHasBeenSet = true;
75 m_vocabularyFilterName = std::forward<VocabularyFilterNameT>(value);
76 }
77 template <typename VocabularyFilterNameT = Aws::String>
78 CallAnalyticsJobSettings& WithVocabularyFilterName(VocabularyFilterNameT&& value) {
79 SetVocabularyFilterName(std::forward<VocabularyFilterNameT>(value));
80 return *this;
81 }
83
85
91 inline VocabularyFilterMethod GetVocabularyFilterMethod() const { return m_vocabularyFilterMethod; }
92 inline bool VocabularyFilterMethodHasBeenSet() const { return m_vocabularyFilterMethodHasBeenSet; }
94 m_vocabularyFilterMethodHasBeenSet = true;
95 m_vocabularyFilterMethod = value;
96 }
99 return *this;
100 }
102
104
112 inline const Aws::String& GetLanguageModelName() const { return m_languageModelName; }
113 inline bool LanguageModelNameHasBeenSet() const { return m_languageModelNameHasBeenSet; }
114 template <typename LanguageModelNameT = Aws::String>
115 void SetLanguageModelName(LanguageModelNameT&& value) {
116 m_languageModelNameHasBeenSet = true;
117 m_languageModelName = std::forward<LanguageModelNameT>(value);
118 }
119 template <typename LanguageModelNameT = Aws::String>
120 CallAnalyticsJobSettings& WithLanguageModelName(LanguageModelNameT&& value) {
121 SetLanguageModelName(std::forward<LanguageModelNameT>(value));
122 return *this;
123 }
125
127
128 inline const ContentRedaction& GetContentRedaction() const { return m_contentRedaction; }
129 inline bool ContentRedactionHasBeenSet() const { return m_contentRedactionHasBeenSet; }
130 template <typename ContentRedactionT = ContentRedaction>
131 void SetContentRedaction(ContentRedactionT&& value) {
132 m_contentRedactionHasBeenSet = true;
133 m_contentRedaction = std::forward<ContentRedactionT>(value);
134 }
135 template <typename ContentRedactionT = ContentRedaction>
136 CallAnalyticsJobSettings& WithContentRedaction(ContentRedactionT&& value) {
137 SetContentRedaction(std::forward<ContentRedactionT>(value));
138 return *this;
139 }
141
143
157 inline const Aws::Vector<LanguageCode>& GetLanguageOptions() const { return m_languageOptions; }
158 inline bool LanguageOptionsHasBeenSet() const { return m_languageOptionsHasBeenSet; }
159 template <typename LanguageOptionsT = Aws::Vector<LanguageCode>>
160 void SetLanguageOptions(LanguageOptionsT&& value) {
161 m_languageOptionsHasBeenSet = true;
162 m_languageOptions = std::forward<LanguageOptionsT>(value);
163 }
164 template <typename LanguageOptionsT = Aws::Vector<LanguageCode>>
166 SetLanguageOptions(std::forward<LanguageOptionsT>(value));
167 return *this;
168 }
170 m_languageOptionsHasBeenSet = true;
171 m_languageOptions.push_back(value);
172 return *this;
173 }
175
177
204 inline const Aws::Map<LanguageCode, LanguageIdSettings>& GetLanguageIdSettings() const { return m_languageIdSettings; }
205 inline bool LanguageIdSettingsHasBeenSet() const { return m_languageIdSettingsHasBeenSet; }
206 template <typename LanguageIdSettingsT = Aws::Map<LanguageCode, LanguageIdSettings>>
207 void SetLanguageIdSettings(LanguageIdSettingsT&& value) {
208 m_languageIdSettingsHasBeenSet = true;
209 m_languageIdSettings = std::forward<LanguageIdSettingsT>(value);
210 }
211 template <typename LanguageIdSettingsT = Aws::Map<LanguageCode, LanguageIdSettings>>
212 CallAnalyticsJobSettings& WithLanguageIdSettings(LanguageIdSettingsT&& value) {
213 SetLanguageIdSettings(std::forward<LanguageIdSettingsT>(value));
214 return *this;
215 }
217 m_languageIdSettingsHasBeenSet = true;
218 m_languageIdSettings.emplace(key, value);
219 return *this;
220 }
222
224
229 inline const Summarization& GetSummarization() const { return m_summarization; }
230 inline bool SummarizationHasBeenSet() const { return m_summarizationHasBeenSet; }
231 template <typename SummarizationT = Summarization>
232 void SetSummarization(SummarizationT&& value) {
233 m_summarizationHasBeenSet = true;
234 m_summarization = std::forward<SummarizationT>(value);
235 }
236 template <typename SummarizationT = Summarization>
238 SetSummarization(std::forward<SummarizationT>(value));
239 return *this;
240 }
242 private:
243 Aws::String m_vocabularyName;
244
245 Aws::String m_vocabularyFilterName;
246
248
249 Aws::String m_languageModelName;
250
251 ContentRedaction m_contentRedaction;
252
253 Aws::Vector<LanguageCode> m_languageOptions;
254
256
257 Summarization m_summarization;
258 bool m_vocabularyNameHasBeenSet = false;
259 bool m_vocabularyFilterNameHasBeenSet = false;
260 bool m_vocabularyFilterMethodHasBeenSet = false;
261 bool m_languageModelNameHasBeenSet = false;
262 bool m_contentRedactionHasBeenSet = false;
263 bool m_languageOptionsHasBeenSet = false;
264 bool m_languageIdSettingsHasBeenSet = false;
265 bool m_summarizationHasBeenSet = false;
266};
267
268} // namespace Model
269} // namespace TranscribeService
270} // namespace Aws
AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
CallAnalyticsJobSettings & WithVocabularyFilterMethod(VocabularyFilterMethod value)
CallAnalyticsJobSettings & WithVocabularyName(VocabularyNameT &&value)
CallAnalyticsJobSettings & WithLanguageIdSettings(LanguageIdSettingsT &&value)
AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSettings(Aws::Utils::Json::JsonView jsonValue)
CallAnalyticsJobSettings & WithLanguageModelName(LanguageModelNameT &&value)
AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSettings()=default
CallAnalyticsJobSettings & WithLanguageOptions(LanguageOptionsT &&value)
const Aws::Map< LanguageCode, LanguageIdSettings > & GetLanguageIdSettings() const
CallAnalyticsJobSettings & WithSummarization(SummarizationT &&value)
const Aws::Vector< LanguageCode > & GetLanguageOptions() const
CallAnalyticsJobSettings & AddLanguageOptions(LanguageCode value)
CallAnalyticsJobSettings & WithVocabularyFilterName(VocabularyFilterNameT &&value)
CallAnalyticsJobSettings & WithContentRedaction(ContentRedactionT &&value)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
CallAnalyticsJobSettings & AddLanguageIdSettings(LanguageCode key, LanguageIdSettings value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue