AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
HlsCaptionLanguageMapping.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaConvert
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIACONVERT_API HlsCaptionLanguageMapping() = default;
38 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetCaptionChannel() const { return m_captionChannel; }
46 inline bool CaptionChannelHasBeenSet() const { return m_captionChannelHasBeenSet; }
47 inline void SetCaptionChannel(int value) { m_captionChannelHasBeenSet = true; m_captionChannel = value; }
48 inline HlsCaptionLanguageMapping& WithCaptionChannel(int value) { SetCaptionChannel(value); return *this;}
50
52
56 inline const Aws::String& GetCustomLanguageCode() const { return m_customLanguageCode; }
57 inline bool CustomLanguageCodeHasBeenSet() const { return m_customLanguageCodeHasBeenSet; }
58 template<typename CustomLanguageCodeT = Aws::String>
59 void SetCustomLanguageCode(CustomLanguageCodeT&& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = std::forward<CustomLanguageCodeT>(value); }
60 template<typename CustomLanguageCodeT = Aws::String>
61 HlsCaptionLanguageMapping& WithCustomLanguageCode(CustomLanguageCodeT&& value) { SetCustomLanguageCode(std::forward<CustomLanguageCodeT>(value)); return *this;}
63
65
69 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
70 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
71 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
74
76
79 inline const Aws::String& GetLanguageDescription() const { return m_languageDescription; }
80 inline bool LanguageDescriptionHasBeenSet() const { return m_languageDescriptionHasBeenSet; }
81 template<typename LanguageDescriptionT = Aws::String>
82 void SetLanguageDescription(LanguageDescriptionT&& value) { m_languageDescriptionHasBeenSet = true; m_languageDescription = std::forward<LanguageDescriptionT>(value); }
83 template<typename LanguageDescriptionT = Aws::String>
84 HlsCaptionLanguageMapping& WithLanguageDescription(LanguageDescriptionT&& value) { SetLanguageDescription(std::forward<LanguageDescriptionT>(value)); return *this;}
86 private:
87
88 int m_captionChannel{0};
89 bool m_captionChannelHasBeenSet = false;
90
91 Aws::String m_customLanguageCode;
92 bool m_customLanguageCodeHasBeenSet = false;
93
94 LanguageCode m_languageCode{LanguageCode::NOT_SET};
95 bool m_languageCodeHasBeenSet = false;
96
97 Aws::String m_languageDescription;
98 bool m_languageDescriptionHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace MediaConvert
103} // namespace Aws
AWS_MEDIACONVERT_API HlsCaptionLanguageMapping()=default
HlsCaptionLanguageMapping & WithCaptionChannel(int value)
HlsCaptionLanguageMapping & WithLanguageCode(LanguageCode value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
HlsCaptionLanguageMapping & WithCustomLanguageCode(CustomLanguageCodeT &&value)
AWS_MEDIACONVERT_API HlsCaptionLanguageMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API HlsCaptionLanguageMapping(Aws::Utils::Json::JsonView jsonValue)
HlsCaptionLanguageMapping & WithLanguageDescription(LanguageDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue