AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CallAnalyticsJobSettings.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 <aws/transcribe/model/ContentRedaction.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/transcribe/model/Summarization.h>
14#include <aws/transcribe/model/LanguageCode.h>
15#include <aws/transcribe/model/LanguageIdSettings.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 TranscribeService
29{
30namespace Model
31{
32
42 {
43 public:
44 AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSettings() = default;
45 AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSettings(Aws::Utils::Json::JsonView jsonValue);
46 AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
55 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
56 inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
57 template<typename VocabularyNameT = Aws::String>
58 void SetVocabularyName(VocabularyNameT&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::forward<VocabularyNameT>(value); }
59 template<typename VocabularyNameT = Aws::String>
60 CallAnalyticsJobSettings& WithVocabularyName(VocabularyNameT&& value) { SetVocabularyName(std::forward<VocabularyNameT>(value)); return *this;}
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) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName = std::forward<VocabularyFilterNameT>(value); }
74 template<typename VocabularyFilterNameT = Aws::String>
75 CallAnalyticsJobSettings& WithVocabularyFilterName(VocabularyFilterNameT&& value) { SetVocabularyFilterName(std::forward<VocabularyFilterNameT>(value)); return *this;}
77
79
85 inline VocabularyFilterMethod GetVocabularyFilterMethod() const { return m_vocabularyFilterMethod; }
86 inline bool VocabularyFilterMethodHasBeenSet() const { return m_vocabularyFilterMethodHasBeenSet; }
87 inline void SetVocabularyFilterMethod(VocabularyFilterMethod value) { m_vocabularyFilterMethodHasBeenSet = true; m_vocabularyFilterMethod = value; }
90
92
100 inline const Aws::String& GetLanguageModelName() const { return m_languageModelName; }
101 inline bool LanguageModelNameHasBeenSet() const { return m_languageModelNameHasBeenSet; }
102 template<typename LanguageModelNameT = Aws::String>
103 void SetLanguageModelName(LanguageModelNameT&& value) { m_languageModelNameHasBeenSet = true; m_languageModelName = std::forward<LanguageModelNameT>(value); }
104 template<typename LanguageModelNameT = Aws::String>
105 CallAnalyticsJobSettings& WithLanguageModelName(LanguageModelNameT&& value) { SetLanguageModelName(std::forward<LanguageModelNameT>(value)); return *this;}
107
109
110 inline const ContentRedaction& GetContentRedaction() const { return m_contentRedaction; }
111 inline bool ContentRedactionHasBeenSet() const { return m_contentRedactionHasBeenSet; }
112 template<typename ContentRedactionT = ContentRedaction>
113 void SetContentRedaction(ContentRedactionT&& value) { m_contentRedactionHasBeenSet = true; m_contentRedaction = std::forward<ContentRedactionT>(value); }
114 template<typename ContentRedactionT = ContentRedaction>
115 CallAnalyticsJobSettings& WithContentRedaction(ContentRedactionT&& value) { SetContentRedaction(std::forward<ContentRedactionT>(value)); return *this;}
117
119
133 inline const Aws::Vector<LanguageCode>& GetLanguageOptions() const { return m_languageOptions; }
134 inline bool LanguageOptionsHasBeenSet() const { return m_languageOptionsHasBeenSet; }
135 template<typename LanguageOptionsT = Aws::Vector<LanguageCode>>
136 void SetLanguageOptions(LanguageOptionsT&& value) { m_languageOptionsHasBeenSet = true; m_languageOptions = std::forward<LanguageOptionsT>(value); }
137 template<typename LanguageOptionsT = Aws::Vector<LanguageCode>>
138 CallAnalyticsJobSettings& WithLanguageOptions(LanguageOptionsT&& value) { SetLanguageOptions(std::forward<LanguageOptionsT>(value)); return *this;}
139 inline CallAnalyticsJobSettings& AddLanguageOptions(LanguageCode value) { m_languageOptionsHasBeenSet = true; m_languageOptions.push_back(value); return *this; }
141
143
170 inline const Aws::Map<LanguageCode, LanguageIdSettings>& GetLanguageIdSettings() const { return m_languageIdSettings; }
171 inline bool LanguageIdSettingsHasBeenSet() const { return m_languageIdSettingsHasBeenSet; }
172 template<typename LanguageIdSettingsT = Aws::Map<LanguageCode, LanguageIdSettings>>
173 void SetLanguageIdSettings(LanguageIdSettingsT&& value) { m_languageIdSettingsHasBeenSet = true; m_languageIdSettings = std::forward<LanguageIdSettingsT>(value); }
174 template<typename LanguageIdSettingsT = Aws::Map<LanguageCode, LanguageIdSettings>>
175 CallAnalyticsJobSettings& WithLanguageIdSettings(LanguageIdSettingsT&& value) { SetLanguageIdSettings(std::forward<LanguageIdSettingsT>(value)); return *this;}
177 m_languageIdSettingsHasBeenSet = true; m_languageIdSettings.emplace(key, value); return *this;
178 }
180
182
187 inline const Summarization& GetSummarization() const { return m_summarization; }
188 inline bool SummarizationHasBeenSet() const { return m_summarizationHasBeenSet; }
189 template<typename SummarizationT = Summarization>
190 void SetSummarization(SummarizationT&& value) { m_summarizationHasBeenSet = true; m_summarization = std::forward<SummarizationT>(value); }
191 template<typename SummarizationT = Summarization>
192 CallAnalyticsJobSettings& WithSummarization(SummarizationT&& value) { SetSummarization(std::forward<SummarizationT>(value)); return *this;}
194 private:
195
196 Aws::String m_vocabularyName;
197 bool m_vocabularyNameHasBeenSet = false;
198
199 Aws::String m_vocabularyFilterName;
200 bool m_vocabularyFilterNameHasBeenSet = false;
201
203 bool m_vocabularyFilterMethodHasBeenSet = false;
204
205 Aws::String m_languageModelName;
206 bool m_languageModelNameHasBeenSet = false;
207
208 ContentRedaction m_contentRedaction;
209 bool m_contentRedactionHasBeenSet = false;
210
211 Aws::Vector<LanguageCode> m_languageOptions;
212 bool m_languageOptionsHasBeenSet = false;
213
215 bool m_languageIdSettingsHasBeenSet = false;
216
217 Summarization m_summarization;
218 bool m_summarizationHasBeenSet = false;
219 };
220
221} // namespace Model
222} // namespace TranscribeService
223} // 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