AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
DvbSubSourceSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/DvbSubOcrLanguage.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaLive {
20namespace Model {
21
28 public:
29 AWS_MEDIALIVE_API DvbSubSourceSettings() = default;
32 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
41 inline DvbSubOcrLanguage GetOcrLanguage() const { return m_ocrLanguage; }
42 inline bool OcrLanguageHasBeenSet() const { return m_ocrLanguageHasBeenSet; }
43 inline void SetOcrLanguage(DvbSubOcrLanguage value) {
44 m_ocrLanguageHasBeenSet = true;
45 m_ocrLanguage = value;
46 }
48 SetOcrLanguage(value);
49 return *this;
50 }
52
54
59 inline int GetPid() const { return m_pid; }
60 inline bool PidHasBeenSet() const { return m_pidHasBeenSet; }
61 inline void SetPid(int value) {
62 m_pidHasBeenSet = true;
63 m_pid = value;
64 }
65 inline DvbSubSourceSettings& WithPid(int value) {
66 SetPid(value);
67 return *this;
68 }
70 private:
72
73 int m_pid{0};
74 bool m_ocrLanguageHasBeenSet = false;
75 bool m_pidHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace MediaLive
80} // namespace Aws
DvbSubSourceSettings & WithOcrLanguage(DvbSubOcrLanguage value)
AWS_MEDIALIVE_API DvbSubSourceSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API DvbSubSourceSettings()=default
AWS_MEDIALIVE_API DvbSubSourceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
DvbSubSourceSettings & WithPid(int value)
Aws::Utils::Json::JsonValue JsonValue