AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLanguageCode(const Aws::String& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
61 inline void SetLanguageCode(Aws::String&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
62 inline void SetLanguageCode(const char* value) { m_languageCodeHasBeenSet = true; m_languageCode.assign(value); }
63 inline CaptionLanguageMapping& WithLanguageCode(const Aws::String& value) { SetLanguageCode(value); return *this;}
64 inline CaptionLanguageMapping& WithLanguageCode(Aws::String&& value) { SetLanguageCode(std::move(value)); return *this;}
65 inline CaptionLanguageMapping& WithLanguageCode(const char* value) { SetLanguageCode(value); return *this;}
67
69
72 inline const Aws::String& GetLanguageDescription() const{ return m_languageDescription; }
73 inline bool LanguageDescriptionHasBeenSet() const { return m_languageDescriptionHasBeenSet; }
74 inline void SetLanguageDescription(const Aws::String& value) { m_languageDescriptionHasBeenSet = true; m_languageDescription = value; }
75 inline void SetLanguageDescription(Aws::String&& value) { m_languageDescriptionHasBeenSet = true; m_languageDescription = std::move(value); }
76 inline void SetLanguageDescription(const char* value) { m_languageDescriptionHasBeenSet = true; m_languageDescription.assign(value); }
78 inline CaptionLanguageMapping& WithLanguageDescription(Aws::String&& value) { SetLanguageDescription(std::move(value)); return *this;}
79 inline CaptionLanguageMapping& WithLanguageDescription(const char* value) { SetLanguageDescription(value); return *this;}
81 private:
82
83 int m_captionChannel;
84 bool m_captionChannelHasBeenSet = false;
85
86 Aws::String m_languageCode;
87 bool m_languageCodeHasBeenSet = false;
88
89 Aws::String m_languageDescription;
90 bool m_languageDescriptionHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace MediaLive
95} // namespace Aws
void SetLanguageDescription(const Aws::String &value)
AWS_MEDIALIVE_API CaptionLanguageMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
CaptionLanguageMapping & WithLanguageCode(const char *value)
CaptionLanguageMapping & WithLanguageDescription(const char *value)
CaptionLanguageMapping & WithLanguageCode(const Aws::String &value)
CaptionLanguageMapping & WithLanguageDescription(const Aws::String &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
CaptionLanguageMapping & WithCaptionChannel(int value)
CaptionLanguageMapping & WithLanguageCode(Aws::String &&value)
CaptionLanguageMapping & WithLanguageDescription(Aws::String &&value)
AWS_MEDIALIVE_API CaptionLanguageMapping(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue