AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
CmafIngestCaptionLanguageMapping.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
35 {
36 public:
37 AWS_MEDIALIVE_API CmafIngestCaptionLanguageMapping() = default;
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
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 CmafIngestCaptionLanguageMapping& 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 CmafIngestCaptionLanguageMapping& WithLanguageCode(LanguageCodeT&& value) { SetLanguageCode(std::forward<LanguageCodeT>(value)); return *this;}
65 private:
66
67 int m_captionChannel{0};
68 bool m_captionChannelHasBeenSet = false;
69
70 Aws::String m_languageCode;
71 bool m_languageCodeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace MediaLive
76} // namespace Aws
CmafIngestCaptionLanguageMapping & WithLanguageCode(LanguageCodeT &&value)
AWS_MEDIALIVE_API CmafIngestCaptionLanguageMapping()=default
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API CmafIngestCaptionLanguageMapping(Aws::Utils::Json::JsonView jsonValue)
CmafIngestCaptionLanguageMapping & WithCaptionChannel(int value)
AWS_MEDIALIVE_API CmafIngestCaptionLanguageMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue