AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CaptionSelector.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediaconvert/model/LanguageCode.h>
10#include <aws/mediaconvert/model/CaptionSourceSettings.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaConvert
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_MEDIACONVERT_API CaptionSelector() = default;
39 AWS_MEDIACONVERT_API CaptionSelector(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIACONVERT_API CaptionSelector& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
54 inline const Aws::String& GetCustomLanguageCode() const { return m_customLanguageCode; }
55 inline bool CustomLanguageCodeHasBeenSet() const { return m_customLanguageCodeHasBeenSet; }
56 template<typename CustomLanguageCodeT = Aws::String>
57 void SetCustomLanguageCode(CustomLanguageCodeT&& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = std::forward<CustomLanguageCodeT>(value); }
58 template<typename CustomLanguageCodeT = Aws::String>
59 CaptionSelector& WithCustomLanguageCode(CustomLanguageCodeT&& value) { SetCustomLanguageCode(std::forward<CustomLanguageCodeT>(value)); return *this;}
61
63
71 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
72 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
73 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
74 inline CaptionSelector& WithLanguageCode(LanguageCode value) { SetLanguageCode(value); return *this;}
76
78
83 inline const CaptionSourceSettings& GetSourceSettings() const { return m_sourceSettings; }
84 inline bool SourceSettingsHasBeenSet() const { return m_sourceSettingsHasBeenSet; }
85 template<typename SourceSettingsT = CaptionSourceSettings>
86 void SetSourceSettings(SourceSettingsT&& value) { m_sourceSettingsHasBeenSet = true; m_sourceSettings = std::forward<SourceSettingsT>(value); }
87 template<typename SourceSettingsT = CaptionSourceSettings>
88 CaptionSelector& WithSourceSettings(SourceSettingsT&& value) { SetSourceSettings(std::forward<SourceSettingsT>(value)); return *this;}
90 private:
91
92 Aws::String m_customLanguageCode;
93 bool m_customLanguageCodeHasBeenSet = false;
94
95 LanguageCode m_languageCode{LanguageCode::NOT_SET};
96 bool m_languageCodeHasBeenSet = false;
97
98 CaptionSourceSettings m_sourceSettings;
99 bool m_sourceSettingsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace MediaConvert
104} // namespace Aws
const Aws::String & GetCustomLanguageCode() const
AWS_MEDIACONVERT_API CaptionSelector()=default
CaptionSelector & WithSourceSettings(SourceSettingsT &&value)
AWS_MEDIACONVERT_API CaptionSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
CaptionSelector & WithLanguageCode(LanguageCode value)
void SetCustomLanguageCode(CustomLanguageCodeT &&value)
CaptionSelector & WithCustomLanguageCode(CustomLanguageCodeT &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONVERT_API CaptionSelector(Aws::Utils::Json::JsonView jsonValue)
void SetSourceSettings(SourceSettingsT &&value)
const CaptionSourceSettings & GetSourceSettings() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue