AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
CaptionLanguageMapping.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_MEDIALIVE_API CaptionLanguageMapping() = default;
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline int GetCaptionChannel() const { return m_captionChannel; }
48 inline bool CaptionChannelHasBeenSet() const { return m_captionChannelHasBeenSet; }
49 inline void SetCaptionChannel(int value) { m_captionChannelHasBeenSet = true; m_captionChannel = value; }
50 inline CaptionLanguageMapping& WithCaptionChannel(int value) { SetCaptionChannel(value); return *this;}
52
54
58 inline const Aws::String& GetLanguageCode() const { return m_languageCode; }
59 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
60 template<typename LanguageCodeT = Aws::String>
61 void SetLanguageCode(LanguageCodeT&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::forward<LanguageCodeT>(value); }
62 template<typename LanguageCodeT = Aws::String>
63 CaptionLanguageMapping& WithLanguageCode(LanguageCodeT&& value) { SetLanguageCode(std::forward<LanguageCodeT>(value)); return *this;}
65
67
70 inline const Aws::String& GetLanguageDescription() const { return m_languageDescription; }
71 inline bool LanguageDescriptionHasBeenSet() const { return m_languageDescriptionHasBeenSet; }
72 template<typename LanguageDescriptionT = Aws::String>
73 void SetLanguageDescription(LanguageDescriptionT&& value) { m_languageDescriptionHasBeenSet = true; m_languageDescription = std::forward<LanguageDescriptionT>(value); }
74 template<typename LanguageDescriptionT = Aws::String>
75 CaptionLanguageMapping& WithLanguageDescription(LanguageDescriptionT&& value) { SetLanguageDescription(std::forward<LanguageDescriptionT>(value)); return *this;}
77 private:
78
79 int m_captionChannel{0};
80 bool m_captionChannelHasBeenSet = false;
81
82 Aws::String m_languageCode;
83 bool m_languageCodeHasBeenSet = false;
84
85 Aws::String m_languageDescription;
86 bool m_languageDescriptionHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace MediaLive
91} // namespace Aws
AWS_MEDIALIVE_API CaptionLanguageMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
CaptionLanguageMapping & WithLanguageCode(LanguageCodeT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLanguageDescription(LanguageDescriptionT &&value)
CaptionLanguageMapping & WithCaptionChannel(int value)
CaptionLanguageMapping & WithLanguageDescription(LanguageDescriptionT &&value)
AWS_MEDIALIVE_API CaptionLanguageMapping(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API CaptionLanguageMapping()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue