AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVocabularyName(const Aws::String& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = value; }
58 inline void SetVocabularyName(Aws::String&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::move(value); }
59 inline void SetVocabularyName(const char* value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName.assign(value); }
60 inline CallAnalyticsJobSettings& WithVocabularyName(const Aws::String& value) { SetVocabularyName(value); return *this;}
61 inline CallAnalyticsJobSettings& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;}
62 inline CallAnalyticsJobSettings& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;}
64
66
72 inline const Aws::String& GetVocabularyFilterName() const{ return m_vocabularyFilterName; }
73 inline bool VocabularyFilterNameHasBeenSet() const { return m_vocabularyFilterNameHasBeenSet; }
74 inline void SetVocabularyFilterName(const Aws::String& value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName = value; }
75 inline void SetVocabularyFilterName(Aws::String&& value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName = std::move(value); }
76 inline void SetVocabularyFilterName(const char* value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName.assign(value); }
78 inline CallAnalyticsJobSettings& WithVocabularyFilterName(Aws::String&& value) { SetVocabularyFilterName(std::move(value)); return *this;}
79 inline CallAnalyticsJobSettings& WithVocabularyFilterName(const char* value) { SetVocabularyFilterName(value); return *this;}
81
83
89 inline const VocabularyFilterMethod& GetVocabularyFilterMethod() const{ return m_vocabularyFilterMethod; }
90 inline bool VocabularyFilterMethodHasBeenSet() const { return m_vocabularyFilterMethodHasBeenSet; }
91 inline void SetVocabularyFilterMethod(const VocabularyFilterMethod& value) { m_vocabularyFilterMethodHasBeenSet = true; m_vocabularyFilterMethod = value; }
92 inline void SetVocabularyFilterMethod(VocabularyFilterMethod&& value) { m_vocabularyFilterMethodHasBeenSet = true; m_vocabularyFilterMethod = std::move(value); }
96
98
106 inline const Aws::String& GetLanguageModelName() const{ return m_languageModelName; }
107 inline bool LanguageModelNameHasBeenSet() const { return m_languageModelNameHasBeenSet; }
108 inline void SetLanguageModelName(const Aws::String& value) { m_languageModelNameHasBeenSet = true; m_languageModelName = value; }
109 inline void SetLanguageModelName(Aws::String&& value) { m_languageModelNameHasBeenSet = true; m_languageModelName = std::move(value); }
110 inline void SetLanguageModelName(const char* value) { m_languageModelNameHasBeenSet = true; m_languageModelName.assign(value); }
112 inline CallAnalyticsJobSettings& WithLanguageModelName(Aws::String&& value) { SetLanguageModelName(std::move(value)); return *this;}
113 inline CallAnalyticsJobSettings& WithLanguageModelName(const char* value) { SetLanguageModelName(value); return *this;}
115
117
118 inline const ContentRedaction& GetContentRedaction() const{ return m_contentRedaction; }
119 inline bool ContentRedactionHasBeenSet() const { return m_contentRedactionHasBeenSet; }
120 inline void SetContentRedaction(const ContentRedaction& value) { m_contentRedactionHasBeenSet = true; m_contentRedaction = value; }
121 inline void SetContentRedaction(ContentRedaction&& value) { m_contentRedactionHasBeenSet = true; m_contentRedaction = std::move(value); }
123 inline CallAnalyticsJobSettings& WithContentRedaction(ContentRedaction&& value) { SetContentRedaction(std::move(value)); return *this;}
125
127
139 inline const Aws::Vector<LanguageCode>& GetLanguageOptions() const{ return m_languageOptions; }
140 inline bool LanguageOptionsHasBeenSet() const { return m_languageOptionsHasBeenSet; }
141 inline void SetLanguageOptions(const Aws::Vector<LanguageCode>& value) { m_languageOptionsHasBeenSet = true; m_languageOptions = value; }
142 inline void SetLanguageOptions(Aws::Vector<LanguageCode>&& value) { m_languageOptionsHasBeenSet = true; m_languageOptions = std::move(value); }
145 inline CallAnalyticsJobSettings& AddLanguageOptions(const LanguageCode& value) { m_languageOptionsHasBeenSet = true; m_languageOptions.push_back(value); return *this; }
146 inline CallAnalyticsJobSettings& AddLanguageOptions(LanguageCode&& value) { m_languageOptionsHasBeenSet = true; m_languageOptions.push_back(std::move(value)); return *this; }
148
150
177 inline const Aws::Map<LanguageCode, LanguageIdSettings>& GetLanguageIdSettings() const{ return m_languageIdSettings; }
178 inline bool LanguageIdSettingsHasBeenSet() const { return m_languageIdSettingsHasBeenSet; }
179 inline void SetLanguageIdSettings(const Aws::Map<LanguageCode, LanguageIdSettings>& value) { m_languageIdSettingsHasBeenSet = true; m_languageIdSettings = value; }
180 inline void SetLanguageIdSettings(Aws::Map<LanguageCode, LanguageIdSettings>&& value) { m_languageIdSettingsHasBeenSet = true; m_languageIdSettings = std::move(value); }
183 inline CallAnalyticsJobSettings& AddLanguageIdSettings(const LanguageCode& key, const LanguageIdSettings& value) { m_languageIdSettingsHasBeenSet = true; m_languageIdSettings.emplace(key, value); return *this; }
184 inline CallAnalyticsJobSettings& AddLanguageIdSettings(LanguageCode&& key, const LanguageIdSettings& value) { m_languageIdSettingsHasBeenSet = true; m_languageIdSettings.emplace(std::move(key), value); return *this; }
185 inline CallAnalyticsJobSettings& AddLanguageIdSettings(const LanguageCode& key, LanguageIdSettings&& value) { m_languageIdSettingsHasBeenSet = true; m_languageIdSettings.emplace(key, std::move(value)); return *this; }
186 inline CallAnalyticsJobSettings& AddLanguageIdSettings(LanguageCode&& key, LanguageIdSettings&& value) { m_languageIdSettingsHasBeenSet = true; m_languageIdSettings.emplace(std::move(key), std::move(value)); return *this; }
188
190
195 inline const Summarization& GetSummarization() const{ return m_summarization; }
196 inline bool SummarizationHasBeenSet() const { return m_summarizationHasBeenSet; }
197 inline void SetSummarization(const Summarization& value) { m_summarizationHasBeenSet = true; m_summarization = value; }
198 inline void SetSummarization(Summarization&& value) { m_summarizationHasBeenSet = true; m_summarization = std::move(value); }
199 inline CallAnalyticsJobSettings& WithSummarization(const Summarization& value) { SetSummarization(value); return *this;}
200 inline CallAnalyticsJobSettings& WithSummarization(Summarization&& value) { SetSummarization(std::move(value)); return *this;}
202 private:
203
204 Aws::String m_vocabularyName;
205 bool m_vocabularyNameHasBeenSet = false;
206
207 Aws::String m_vocabularyFilterName;
208 bool m_vocabularyFilterNameHasBeenSet = false;
209
210 VocabularyFilterMethod m_vocabularyFilterMethod;
211 bool m_vocabularyFilterMethodHasBeenSet = false;
212
213 Aws::String m_languageModelName;
214 bool m_languageModelNameHasBeenSet = false;
215
216 ContentRedaction m_contentRedaction;
217 bool m_contentRedactionHasBeenSet = false;
218
219 Aws::Vector<LanguageCode> m_languageOptions;
220 bool m_languageOptionsHasBeenSet = false;
221
223 bool m_languageIdSettingsHasBeenSet = false;
224
225 Summarization m_summarization;
226 bool m_summarizationHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace TranscribeService
231} // namespace Aws
AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLanguageOptions(Aws::Vector< LanguageCode > &&value)
CallAnalyticsJobSettings & WithVocabularyFilterMethod(const VocabularyFilterMethod &value)
void SetVocabularyFilterMethod(const VocabularyFilterMethod &value)
CallAnalyticsJobSettings & WithLanguageModelName(const Aws::String &value)
CallAnalyticsJobSettings & WithLanguageModelName(const char *value)
CallAnalyticsJobSettings & WithVocabularyName(Aws::String &&value)
CallAnalyticsJobSettings & WithVocabularyFilterMethod(VocabularyFilterMethod &&value)
void SetLanguageIdSettings(Aws::Map< LanguageCode, LanguageIdSettings > &&value)
void SetLanguageIdSettings(const Aws::Map< LanguageCode, LanguageIdSettings > &value)
CallAnalyticsJobSettings & AddLanguageIdSettings(const LanguageCode &key, const LanguageIdSettings &value)
CallAnalyticsJobSettings & WithContentRedaction(const ContentRedaction &value)
CallAnalyticsJobSettings & WithSummarization(const Summarization &value)
CallAnalyticsJobSettings & WithLanguageOptions(const Aws::Vector< LanguageCode > &value)
CallAnalyticsJobSettings & AddLanguageOptions(LanguageCode &&value)
AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSettings(Aws::Utils::Json::JsonView jsonValue)
CallAnalyticsJobSettings & WithLanguageIdSettings(const Aws::Map< LanguageCode, LanguageIdSettings > &value)
CallAnalyticsJobSettings & WithSummarization(Summarization &&value)
CallAnalyticsJobSettings & WithVocabularyFilterName(const Aws::String &value)
CallAnalyticsJobSettings & AddLanguageIdSettings(LanguageCode &&key, const LanguageIdSettings &value)
void SetLanguageOptions(const Aws::Vector< LanguageCode > &value)
CallAnalyticsJobSettings & WithLanguageOptions(Aws::Vector< LanguageCode > &&value)
const VocabularyFilterMethod & GetVocabularyFilterMethod() const
CallAnalyticsJobSettings & AddLanguageIdSettings(LanguageCode &&key, LanguageIdSettings &&value)
const Aws::Map< LanguageCode, LanguageIdSettings > & GetLanguageIdSettings() const
CallAnalyticsJobSettings & WithLanguageModelName(Aws::String &&value)
CallAnalyticsJobSettings & WithContentRedaction(ContentRedaction &&value)
CallAnalyticsJobSettings & WithVocabularyName(const Aws::String &value)
CallAnalyticsJobSettings & WithVocabularyName(const char *value)
CallAnalyticsJobSettings & AddLanguageIdSettings(const LanguageCode &key, LanguageIdSettings &&value)
const Aws::Vector< LanguageCode > & GetLanguageOptions() const
CallAnalyticsJobSettings & WithVocabularyFilterName(const char *value)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
CallAnalyticsJobSettings & AddLanguageOptions(const LanguageCode &value)
CallAnalyticsJobSettings & WithLanguageIdSettings(Aws::Map< LanguageCode, LanguageIdSettings > &&value)
CallAnalyticsJobSettings & WithVocabularyFilterName(Aws::String &&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