AWS SDK for C++  1.9.153
AWS SDK for C++
CaptionSelector.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace MediaConvert
24 {
25 namespace Model
26 {
27 
36  {
37  public:
42 
43 
53  inline const Aws::String& GetCustomLanguageCode() const{ return m_customLanguageCode; }
54 
64  inline bool CustomLanguageCodeHasBeenSet() const { return m_customLanguageCodeHasBeenSet; }
65 
75  inline void SetCustomLanguageCode(const Aws::String& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = value; }
76 
86  inline void SetCustomLanguageCode(Aws::String&& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = std::move(value); }
87 
97  inline void SetCustomLanguageCode(const char* value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode.assign(value); }
98 
108  inline CaptionSelector& WithCustomLanguageCode(const Aws::String& value) { SetCustomLanguageCode(value); return *this;}
109 
119  inline CaptionSelector& WithCustomLanguageCode(Aws::String&& value) { SetCustomLanguageCode(std::move(value)); return *this;}
120 
130  inline CaptionSelector& WithCustomLanguageCode(const char* value) { SetCustomLanguageCode(value); return *this;}
131 
132 
141  inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
142 
151  inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
152 
161  inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
162 
171  inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
172 
181  inline CaptionSelector& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
182 
191  inline CaptionSelector& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
192 
193 
199  inline const CaptionSourceSettings& GetSourceSettings() const{ return m_sourceSettings; }
200 
206  inline bool SourceSettingsHasBeenSet() const { return m_sourceSettingsHasBeenSet; }
207 
213  inline void SetSourceSettings(const CaptionSourceSettings& value) { m_sourceSettingsHasBeenSet = true; m_sourceSettings = value; }
214 
220  inline void SetSourceSettings(CaptionSourceSettings&& value) { m_sourceSettingsHasBeenSet = true; m_sourceSettings = std::move(value); }
221 
227  inline CaptionSelector& WithSourceSettings(const CaptionSourceSettings& value) { SetSourceSettings(value); return *this;}
228 
234  inline CaptionSelector& WithSourceSettings(CaptionSourceSettings&& value) { SetSourceSettings(std::move(value)); return *this;}
235 
236  private:
237 
238  Aws::String m_customLanguageCode;
239  bool m_customLanguageCodeHasBeenSet;
240 
241  LanguageCode m_languageCode;
242  bool m_languageCodeHasBeenSet;
243 
244  CaptionSourceSettings m_sourceSettings;
245  bool m_sourceSettingsHasBeenSet;
246  };
247 
248 } // namespace Model
249 } // namespace MediaConvert
250 } // namespace Aws
Aws::MediaConvert::Model::CaptionSelector::SetLanguageCode
void SetLanguageCode(const LanguageCode &value)
Definition: CaptionSelector.h:161
Aws::MediaConvert::Model::CaptionSelector::operator=
CaptionSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::CaptionSelector::SetCustomLanguageCode
void SetCustomLanguageCode(const Aws::String &value)
Definition: CaptionSelector.h:75
Aws::MediaConvert::Model::CaptionSelector::SetCustomLanguageCode
void SetCustomLanguageCode(Aws::String &&value)
Definition: CaptionSelector.h:86
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::CaptionSelector::GetCustomLanguageCode
const Aws::String & GetCustomLanguageCode() const
Definition: CaptionSelector.h:53
Aws::MediaConvert::Model::CaptionSelector::CaptionSelector
CaptionSelector(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::CaptionSelector::WithLanguageCode
CaptionSelector & WithLanguageCode(const LanguageCode &value)
Definition: CaptionSelector.h:181
CaptionSourceSettings.h
Aws::MediaConvert::Model::CaptionSourceSettings
Definition: CaptionSourceSettings.h:42
LanguageCode.h
Aws::MediaConvert::Model::CaptionSelector::SetLanguageCode
void SetLanguageCode(LanguageCode &&value)
Definition: CaptionSelector.h:171
Aws::MediaConvert::Model::CaptionSelector::SetCustomLanguageCode
void SetCustomLanguageCode(const char *value)
Definition: CaptionSelector.h:97
Aws::MediaConvert::Model::CaptionSelector::CaptionSelector
CaptionSelector()
Aws::MediaConvert::Model::CaptionSelector
Definition: CaptionSelector.h:36
Aws::MediaConvert::Model::CaptionSelector::WithLanguageCode
CaptionSelector & WithLanguageCode(LanguageCode &&value)
Definition: CaptionSelector.h:191
Aws::MediaConvert::Model::CaptionSelector::WithSourceSettings
CaptionSelector & WithSourceSettings(const CaptionSourceSettings &value)
Definition: CaptionSelector.h:227
Aws::MediaConvert::Model::CaptionSelector::GetSourceSettings
const CaptionSourceSettings & GetSourceSettings() const
Definition: CaptionSelector.h:199
Aws::MediaConvert::Model::CaptionSelector::WithCustomLanguageCode
CaptionSelector & WithCustomLanguageCode(const Aws::String &value)
Definition: CaptionSelector.h:108
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::CaptionSelector::LanguageCodeHasBeenSet
bool LanguageCodeHasBeenSet() const
Definition: CaptionSelector.h:151
Aws::MediaConvert::Model::CaptionSelector::CustomLanguageCodeHasBeenSet
bool CustomLanguageCodeHasBeenSet() const
Definition: CaptionSelector.h:64
Aws::MediaConvert::Model::CaptionSelector::WithCustomLanguageCode
CaptionSelector & WithCustomLanguageCode(Aws::String &&value)
Definition: CaptionSelector.h:119
Aws::MediaConvert::Model::CaptionSelector::GetLanguageCode
const LanguageCode & GetLanguageCode() const
Definition: CaptionSelector.h:141
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::CaptionSelector::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::CaptionSelector::SetSourceSettings
void SetSourceSettings(CaptionSourceSettings &&value)
Definition: CaptionSelector.h:220
Aws::MediaConvert::Model::CaptionSelector::WithCustomLanguageCode
CaptionSelector & WithCustomLanguageCode(const char *value)
Definition: CaptionSelector.h:130
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::CaptionSelector::WithSourceSettings
CaptionSelector & WithSourceSettings(CaptionSourceSettings &&value)
Definition: CaptionSelector.h:234
Aws::MediaConvert::Model::LanguageCode
LanguageCode
Definition: LanguageCode.h:17
Aws::MediaConvert::Model::CaptionSelector::SourceSettingsHasBeenSet
bool SourceSettingsHasBeenSet() const
Definition: CaptionSelector.h:206
Aws::MediaConvert::Model::CaptionSelector::SetSourceSettings
void SetSourceSettings(const CaptionSourceSettings &value)
Definition: CaptionSelector.h:213