AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCustomLanguageCode(const Aws::String& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = value; }
57 inline void SetCustomLanguageCode(Aws::String&& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = std::move(value); }
58 inline void SetCustomLanguageCode(const char* value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode.assign(value); }
59 inline CaptionSelector& WithCustomLanguageCode(const Aws::String& value) { SetCustomLanguageCode(value); return *this;}
60 inline CaptionSelector& WithCustomLanguageCode(Aws::String&& value) { SetCustomLanguageCode(std::move(value)); return *this;}
61 inline CaptionSelector& WithCustomLanguageCode(const char* value) { SetCustomLanguageCode(value); return *this;}
63
65
73 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
74 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
75 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
76 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
77 inline CaptionSelector& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
78 inline CaptionSelector& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
80
82
87 inline const CaptionSourceSettings& GetSourceSettings() const{ return m_sourceSettings; }
88 inline bool SourceSettingsHasBeenSet() const { return m_sourceSettingsHasBeenSet; }
89 inline void SetSourceSettings(const CaptionSourceSettings& value) { m_sourceSettingsHasBeenSet = true; m_sourceSettings = value; }
90 inline void SetSourceSettings(CaptionSourceSettings&& value) { m_sourceSettingsHasBeenSet = true; m_sourceSettings = std::move(value); }
91 inline CaptionSelector& WithSourceSettings(const CaptionSourceSettings& value) { SetSourceSettings(value); return *this;}
92 inline CaptionSelector& WithSourceSettings(CaptionSourceSettings&& value) { SetSourceSettings(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_customLanguageCode;
97 bool m_customLanguageCodeHasBeenSet = false;
98
99 LanguageCode m_languageCode;
100 bool m_languageCodeHasBeenSet = false;
101
102 CaptionSourceSettings m_sourceSettings;
103 bool m_sourceSettingsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace MediaConvert
108} // namespace Aws
void SetSourceSettings(const CaptionSourceSettings &value)
CaptionSelector & WithSourceSettings(const CaptionSourceSettings &value)
const Aws::String & GetCustomLanguageCode() const
AWS_MEDIACONVERT_API CaptionSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCustomLanguageCode(const char *value)
void SetSourceSettings(CaptionSourceSettings &&value)
const LanguageCode & GetLanguageCode() const
CaptionSelector & WithLanguageCode(const LanguageCode &value)
void SetCustomLanguageCode(Aws::String &&value)
CaptionSelector & WithCustomLanguageCode(const char *value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLanguageCode(const LanguageCode &value)
AWS_MEDIACONVERT_API CaptionSelector(Aws::Utils::Json::JsonView jsonValue)
CaptionSelector & WithCustomLanguageCode(const Aws::String &value)
CaptionSelector & WithLanguageCode(LanguageCode &&value)
void SetCustomLanguageCode(const Aws::String &value)
void SetLanguageCode(LanguageCode &&value)
CaptionSelector & WithCustomLanguageCode(Aws::String &&value)
const CaptionSourceSettings & GetSourceSettings() const
CaptionSelector & WithSourceSettings(CaptionSourceSettings &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue