AWS SDK for C++  1.9.106
AWS SDK for C++
CaptionDescriptionPreset.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 
34  {
35  public:
40 
41 
53  inline const Aws::String& GetCustomLanguageCode() const{ return m_customLanguageCode; }
54 
66  inline bool CustomLanguageCodeHasBeenSet() const { return m_customLanguageCodeHasBeenSet; }
67 
79  inline void SetCustomLanguageCode(const Aws::String& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = value; }
80 
92  inline void SetCustomLanguageCode(Aws::String&& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = std::move(value); }
93 
105  inline void SetCustomLanguageCode(const char* value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode.assign(value); }
106 
118  inline CaptionDescriptionPreset& WithCustomLanguageCode(const Aws::String& value) { SetCustomLanguageCode(value); return *this;}
119 
131  inline CaptionDescriptionPreset& WithCustomLanguageCode(Aws::String&& value) { SetCustomLanguageCode(std::move(value)); return *this;}
132 
144  inline CaptionDescriptionPreset& WithCustomLanguageCode(const char* value) { SetCustomLanguageCode(value); return *this;}
145 
146 
155  inline const CaptionDestinationSettings& GetDestinationSettings() const{ return m_destinationSettings; }
156 
165  inline bool DestinationSettingsHasBeenSet() const { return m_destinationSettingsHasBeenSet; }
166 
175  inline void SetDestinationSettings(const CaptionDestinationSettings& value) { m_destinationSettingsHasBeenSet = true; m_destinationSettings = value; }
176 
185  inline void SetDestinationSettings(CaptionDestinationSettings&& value) { m_destinationSettingsHasBeenSet = true; m_destinationSettings = std::move(value); }
186 
195  inline CaptionDescriptionPreset& WithDestinationSettings(const CaptionDestinationSettings& value) { SetDestinationSettings(value); return *this;}
196 
205  inline CaptionDescriptionPreset& WithDestinationSettings(CaptionDestinationSettings&& value) { SetDestinationSettings(std::move(value)); return *this;}
206 
207 
215  inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
216 
224  inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
225 
233  inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
234 
242  inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
243 
251  inline CaptionDescriptionPreset& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
252 
260  inline CaptionDescriptionPreset& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
261 
262 
270  inline const Aws::String& GetLanguageDescription() const{ return m_languageDescription; }
271 
279  inline bool LanguageDescriptionHasBeenSet() const { return m_languageDescriptionHasBeenSet; }
280 
288  inline void SetLanguageDescription(const Aws::String& value) { m_languageDescriptionHasBeenSet = true; m_languageDescription = value; }
289 
297  inline void SetLanguageDescription(Aws::String&& value) { m_languageDescriptionHasBeenSet = true; m_languageDescription = std::move(value); }
298 
306  inline void SetLanguageDescription(const char* value) { m_languageDescriptionHasBeenSet = true; m_languageDescription.assign(value); }
307 
315  inline CaptionDescriptionPreset& WithLanguageDescription(const Aws::String& value) { SetLanguageDescription(value); return *this;}
316 
324  inline CaptionDescriptionPreset& WithLanguageDescription(Aws::String&& value) { SetLanguageDescription(std::move(value)); return *this;}
325 
333  inline CaptionDescriptionPreset& WithLanguageDescription(const char* value) { SetLanguageDescription(value); return *this;}
334 
335  private:
336 
337  Aws::String m_customLanguageCode;
338  bool m_customLanguageCodeHasBeenSet;
339 
340  CaptionDestinationSettings m_destinationSettings;
341  bool m_destinationSettingsHasBeenSet;
342 
343  LanguageCode m_languageCode;
344  bool m_languageCodeHasBeenSet;
345 
346  Aws::String m_languageDescription;
347  bool m_languageDescriptionHasBeenSet;
348  };
349 
350 } // namespace Model
351 } // namespace MediaConvert
352 } // namespace Aws
Aws::MediaConvert::Model::CaptionDescriptionPreset::operator=
CaptionDescriptionPreset & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::CaptionDescriptionPreset::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::CaptionDescriptionPreset::WithLanguageDescription
CaptionDescriptionPreset & WithLanguageDescription(const char *value)
Definition: CaptionDescriptionPreset.h:333
Aws::MediaConvert::Model::CaptionDescriptionPreset::WithCustomLanguageCode
CaptionDescriptionPreset & WithCustomLanguageCode(Aws::String &&value)
Definition: CaptionDescriptionPreset.h:131
Aws::MediaConvert::Model::CaptionDescriptionPreset::WithLanguageCode
CaptionDescriptionPreset & WithLanguageCode(LanguageCode &&value)
Definition: CaptionDescriptionPreset.h:260
Aws::MediaConvert::Model::CaptionDescriptionPreset::WithLanguageDescription
CaptionDescriptionPreset & WithLanguageDescription(Aws::String &&value)
Definition: CaptionDescriptionPreset.h:324
Aws::MediaConvert::Model::CaptionDescriptionPreset::SetCustomLanguageCode
void SetCustomLanguageCode(const Aws::String &value)
Definition: CaptionDescriptionPreset.h:79
Aws::MediaConvert::Model::CaptionDescriptionPreset::SetCustomLanguageCode
void SetCustomLanguageCode(Aws::String &&value)
Definition: CaptionDescriptionPreset.h:92
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::CaptionDestinationSettings
Definition: CaptionDestinationSettings.h:47
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::CaptionDescriptionPreset::SetLanguageDescription
void SetLanguageDescription(const char *value)
Definition: CaptionDescriptionPreset.h:306
Aws::MediaConvert::Model::CaptionDescriptionPreset::GetLanguageCode
const LanguageCode & GetLanguageCode() const
Definition: CaptionDescriptionPreset.h:215
Aws::MediaConvert::Model::CaptionDescriptionPreset
Definition: CaptionDescriptionPreset.h:34
Aws::MediaConvert::Model::CaptionDescriptionPreset::WithCustomLanguageCode
CaptionDescriptionPreset & WithCustomLanguageCode(const Aws::String &value)
Definition: CaptionDescriptionPreset.h:118
Aws::MediaConvert::Model::CaptionDescriptionPreset::SetDestinationSettings
void SetDestinationSettings(const CaptionDestinationSettings &value)
Definition: CaptionDescriptionPreset.h:175
LanguageCode.h
Aws::MediaConvert::Model::CaptionDescriptionPreset::SetDestinationSettings
void SetDestinationSettings(CaptionDestinationSettings &&value)
Definition: CaptionDescriptionPreset.h:185
Aws::MediaConvert::Model::CaptionDescriptionPreset::SetLanguageCode
void SetLanguageCode(LanguageCode &&value)
Definition: CaptionDescriptionPreset.h:242
Aws::MediaConvert::Model::CaptionDescriptionPreset::SetLanguageDescription
void SetLanguageDescription(Aws::String &&value)
Definition: CaptionDescriptionPreset.h:297
Aws::MediaConvert::Model::CaptionDescriptionPreset::GetCustomLanguageCode
const Aws::String & GetCustomLanguageCode() const
Definition: CaptionDescriptionPreset.h:53
Aws::MediaConvert::Model::CaptionDescriptionPreset::SetLanguageCode
void SetLanguageCode(const LanguageCode &value)
Definition: CaptionDescriptionPreset.h:233
Aws::MediaConvert::Model::CaptionDescriptionPreset::SetCustomLanguageCode
void SetCustomLanguageCode(const char *value)
Definition: CaptionDescriptionPreset.h:105
Aws::MediaConvert::Model::CaptionDescriptionPreset::LanguageCodeHasBeenSet
bool LanguageCodeHasBeenSet() const
Definition: CaptionDescriptionPreset.h:224
CaptionDestinationSettings.h
Aws::MediaConvert::Model::CaptionDescriptionPreset::CustomLanguageCodeHasBeenSet
bool CustomLanguageCodeHasBeenSet() const
Definition: CaptionDescriptionPreset.h:66
Aws::MediaConvert::Model::CaptionDescriptionPreset::GetLanguageDescription
const Aws::String & GetLanguageDescription() const
Definition: CaptionDescriptionPreset.h:270
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::MediaConvert::Model::CaptionDescriptionPreset::WithDestinationSettings
CaptionDescriptionPreset & WithDestinationSettings(CaptionDestinationSettings &&value)
Definition: CaptionDescriptionPreset.h:205
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::CaptionDescriptionPreset::LanguageDescriptionHasBeenSet
bool LanguageDescriptionHasBeenSet() const
Definition: CaptionDescriptionPreset.h:279
Aws::MediaConvert::Model::CaptionDescriptionPreset::WithLanguageCode
CaptionDescriptionPreset & WithLanguageCode(const LanguageCode &value)
Definition: CaptionDescriptionPreset.h:251
Aws::MediaConvert::Model::CaptionDescriptionPreset::CaptionDescriptionPreset
CaptionDescriptionPreset()
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::CaptionDescriptionPreset::SetLanguageDescription
void SetLanguageDescription(const Aws::String &value)
Definition: CaptionDescriptionPreset.h:288
Aws::MediaConvert::Model::CaptionDescriptionPreset::WithCustomLanguageCode
CaptionDescriptionPreset & WithCustomLanguageCode(const char *value)
Definition: CaptionDescriptionPreset.h:144
Aws::MediaConvert::Model::CaptionDescriptionPreset::CaptionDescriptionPreset
CaptionDescriptionPreset(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::CaptionDescriptionPreset::WithDestinationSettings
CaptionDescriptionPreset & WithDestinationSettings(const CaptionDestinationSettings &value)
Definition: CaptionDescriptionPreset.h:195
Aws::MediaConvert::Model::CaptionDescriptionPreset::DestinationSettingsHasBeenSet
bool DestinationSettingsHasBeenSet() const
Definition: CaptionDescriptionPreset.h:165
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::LanguageCode
LanguageCode
Definition: LanguageCode.h:17
Aws::MediaConvert::Model::CaptionDescriptionPreset::GetDestinationSettings
const CaptionDestinationSettings & GetDestinationSettings() const
Definition: CaptionDescriptionPreset.h:155
Aws::MediaConvert::Model::CaptionDescriptionPreset::WithLanguageDescription
CaptionDescriptionPreset & WithLanguageDescription(const Aws::String &value)
Definition: CaptionDescriptionPreset.h:315