AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
DolbyVisionMetadata.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/DolbyVisionPresence.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaConvert {
20namespace Model {
21
32 public:
33 AWS_MEDIACONVERT_API DolbyVisionMetadata() = default;
34 AWS_MEDIACONVERT_API DolbyVisionMetadata(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline DolbyVisionPresence GetBaseLayer() const { return m_baseLayer; }
43 inline bool BaseLayerHasBeenSet() const { return m_baseLayerHasBeenSet; }
44 inline void SetBaseLayer(DolbyVisionPresence value) {
45 m_baseLayerHasBeenSet = true;
46 m_baseLayer = value;
47 }
49 SetBaseLayer(value);
50 return *this;
51 }
53
55
58 inline DolbyVisionPresence GetEnhancementLayer() const { return m_enhancementLayer; }
59 inline bool EnhancementLayerHasBeenSet() const { return m_enhancementLayerHasBeenSet; }
61 m_enhancementLayerHasBeenSet = true;
62 m_enhancementLayer = value;
63 }
66 return *this;
67 }
69
71
74 inline int GetLevel() const { return m_level; }
75 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
76 inline void SetLevel(int value) {
77 m_levelHasBeenSet = true;
78 m_level = value;
79 }
80 inline DolbyVisionMetadata& WithLevel(int value) {
81 SetLevel(value);
82 return *this;
83 }
85
87
91 inline int GetProfile() const { return m_profile; }
92 inline bool ProfileHasBeenSet() const { return m_profileHasBeenSet; }
93 inline void SetProfile(int value) {
94 m_profileHasBeenSet = true;
95 m_profile = value;
96 }
97 inline DolbyVisionMetadata& WithProfile(int value) {
98 SetProfile(value);
99 return *this;
100 }
102
104
107 inline DolbyVisionPresence GetRpu() const { return m_rpu; }
108 inline bool RpuHasBeenSet() const { return m_rpuHasBeenSet; }
109 inline void SetRpu(DolbyVisionPresence value) {
110 m_rpuHasBeenSet = true;
111 m_rpu = value;
112 }
114 SetRpu(value);
115 return *this;
116 }
118 private:
120
122
123 int m_level{0};
124
125 int m_profile{0};
126
128 bool m_baseLayerHasBeenSet = false;
129 bool m_enhancementLayerHasBeenSet = false;
130 bool m_levelHasBeenSet = false;
131 bool m_profileHasBeenSet = false;
132 bool m_rpuHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace MediaConvert
137} // namespace Aws
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
DolbyVisionMetadata & WithRpu(DolbyVisionPresence value)
DolbyVisionMetadata & WithProfile(int value)
AWS_MEDIACONVERT_API DolbyVisionMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetEnhancementLayer(DolbyVisionPresence value)
DolbyVisionMetadata & WithEnhancementLayer(DolbyVisionPresence value)
AWS_MEDIACONVERT_API DolbyVisionMetadata()=default
DolbyVisionMetadata & WithBaseLayer(DolbyVisionPresence value)
AWS_MEDIACONVERT_API DolbyVisionMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue