AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
SubtitlingConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elementalinference/ElementalInference_EXPORTS.h>
9#include <aws/elementalinference/model/AspectRatio.h>
10#include <aws/elementalinference/model/ProfanityFilterMode.h>
11#include <aws/elementalinference/model/TranscriptionLanguage.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ElementalInference {
23namespace Model {
24
34 public:
35 AWS_ELEMENTALINFERENCE_API SubtitlingConfig() = default;
36 AWS_ELEMENTALINFERENCE_API SubtitlingConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ELEMENTALINFERENCE_API SubtitlingConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
47 inline TranscriptionLanguage GetLanguage() const { return m_language; }
48 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
50 m_languageHasBeenSet = true;
51 m_language = value;
52 }
54 SetLanguage(value);
55 return *this;
56 }
58
60
65 inline const AspectRatio& GetAspectRatio() const { return m_aspectRatio; }
66 inline bool AspectRatioHasBeenSet() const { return m_aspectRatioHasBeenSet; }
67 template <typename AspectRatioT = AspectRatio>
68 void SetAspectRatio(AspectRatioT&& value) {
69 m_aspectRatioHasBeenSet = true;
70 m_aspectRatio = std::forward<AspectRatioT>(value);
71 }
72 template <typename AspectRatioT = AspectRatio>
73 SubtitlingConfig& WithAspectRatio(AspectRatioT&& value) {
74 SetAspectRatio(std::forward<AspectRatioT>(value));
75 return *this;
76 }
78
80
85 inline const Aws::String& GetDictionary() const { return m_dictionary; }
86 inline bool DictionaryHasBeenSet() const { return m_dictionaryHasBeenSet; }
87 template <typename DictionaryT = Aws::String>
88 void SetDictionary(DictionaryT&& value) {
89 m_dictionaryHasBeenSet = true;
90 m_dictionary = std::forward<DictionaryT>(value);
91 }
92 template <typename DictionaryT = Aws::String>
93 SubtitlingConfig& WithDictionary(DictionaryT&& value) {
94 SetDictionary(std::forward<DictionaryT>(value));
95 return *this;
96 }
98
100
105 inline ProfanityFilterMode GetProfanityFilter() const { return m_profanityFilter; }
106 inline bool ProfanityFilterHasBeenSet() const { return m_profanityFilterHasBeenSet; }
108 m_profanityFilterHasBeenSet = true;
109 m_profanityFilter = value;
110 }
112 SetProfanityFilter(value);
113 return *this;
114 }
116 private:
118
119 AspectRatio m_aspectRatio;
120
121 Aws::String m_dictionary;
122
124 bool m_languageHasBeenSet = false;
125 bool m_aspectRatioHasBeenSet = false;
126 bool m_dictionaryHasBeenSet = false;
127 bool m_profanityFilterHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace ElementalInference
132} // namespace Aws
void SetProfanityFilter(ProfanityFilterMode value)
SubtitlingConfig & WithAspectRatio(AspectRatioT &&value)
void SetLanguage(TranscriptionLanguage value)
AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELEMENTALINFERENCE_API SubtitlingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
SubtitlingConfig & WithLanguage(TranscriptionLanguage value)
AWS_ELEMENTALINFERENCE_API SubtitlingConfig()=default
SubtitlingConfig & WithDictionary(DictionaryT &&value)
AWS_ELEMENTALINFERENCE_API SubtitlingConfig(Aws::Utils::Json::JsonView jsonValue)
SubtitlingConfig & WithProfanityFilter(ProfanityFilterMode value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue