AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DolbyVision.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/DolbyVisionCompatibility.h>
9#include <aws/mediaconvert/model/DolbyVisionLevel6Metadata.h>
10#include <aws/mediaconvert/model/DolbyVisionLevel6Mode.h>
11#include <aws/mediaconvert/model/DolbyVisionMapping.h>
12#include <aws/mediaconvert/model/DolbyVisionProfile.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaConvert {
24namespace Model {
25
33 public:
34 AWS_MEDIACONVERT_API DolbyVision() = default;
35 AWS_MEDIACONVERT_API DolbyVision(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIACONVERT_API DolbyVision& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
48 inline DolbyVisionCompatibility GetCompatibility() const { return m_compatibility; }
49 inline bool CompatibilityHasBeenSet() const { return m_compatibilityHasBeenSet; }
51 m_compatibilityHasBeenSet = true;
52 m_compatibility = value;
53 }
55 SetCompatibility(value);
56 return *this;
57 }
59
61
65 inline const DolbyVisionLevel6Metadata& GetL6Metadata() const { return m_l6Metadata; }
66 inline bool L6MetadataHasBeenSet() const { return m_l6MetadataHasBeenSet; }
67 template <typename L6MetadataT = DolbyVisionLevel6Metadata>
68 void SetL6Metadata(L6MetadataT&& value) {
69 m_l6MetadataHasBeenSet = true;
70 m_l6Metadata = std::forward<L6MetadataT>(value);
71 }
72 template <typename L6MetadataT = DolbyVisionLevel6Metadata>
73 DolbyVision& WithL6Metadata(L6MetadataT&& value) {
74 SetL6Metadata(std::forward<L6MetadataT>(value));
75 return *this;
76 }
78
80
84 inline DolbyVisionLevel6Mode GetL6Mode() const { return m_l6Mode; }
85 inline bool L6ModeHasBeenSet() const { return m_l6ModeHasBeenSet; }
86 inline void SetL6Mode(DolbyVisionLevel6Mode value) {
87 m_l6ModeHasBeenSet = true;
88 m_l6Mode = value;
89 }
91 SetL6Mode(value);
92 return *this;
93 }
95
97
108 inline DolbyVisionMapping GetMapping() const { return m_mapping; }
109 inline bool MappingHasBeenSet() const { return m_mappingHasBeenSet; }
110 inline void SetMapping(DolbyVisionMapping value) {
111 m_mappingHasBeenSet = true;
112 m_mapping = value;
113 }
115 SetMapping(value);
116 return *this;
117 }
119
121
128 inline DolbyVisionProfile GetProfile() const { return m_profile; }
129 inline bool ProfileHasBeenSet() const { return m_profileHasBeenSet; }
130 inline void SetProfile(DolbyVisionProfile value) {
131 m_profileHasBeenSet = true;
132 m_profile = value;
133 }
135 SetProfile(value);
136 return *this;
137 }
139 private:
141
142 DolbyVisionLevel6Metadata m_l6Metadata;
143
145
147
149 bool m_compatibilityHasBeenSet = false;
150 bool m_l6MetadataHasBeenSet = false;
151 bool m_l6ModeHasBeenSet = false;
152 bool m_mappingHasBeenSet = false;
153 bool m_profileHasBeenSet = false;
154};
155
156} // namespace Model
157} // namespace MediaConvert
158} // namespace Aws
AWS_MEDIACONVERT_API DolbyVision()=default
DolbyVision & WithCompatibility(DolbyVisionCompatibility value)
Definition DolbyVision.h:54
DolbyVisionCompatibility GetCompatibility() const
Definition DolbyVision.h:48
void SetCompatibility(DolbyVisionCompatibility value)
Definition DolbyVision.h:50
DolbyVisionProfile GetProfile() const
AWS_MEDIACONVERT_API DolbyVision & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API DolbyVision(Aws::Utils::Json::JsonView jsonValue)
void SetL6Metadata(L6MetadataT &&value)
Definition DolbyVision.h:68
DolbyVision & WithMapping(DolbyVisionMapping value)
void SetL6Mode(DolbyVisionLevel6Mode value)
Definition DolbyVision.h:86
DolbyVisionMapping GetMapping() const
DolbyVision & WithL6Metadata(L6MetadataT &&value)
Definition DolbyVision.h:73
DolbyVision & WithProfile(DolbyVisionProfile value)
void SetProfile(DolbyVisionProfile value)
DolbyVision & WithL6Mode(DolbyVisionLevel6Mode value)
Definition DolbyVision.h:90
void SetMapping(DolbyVisionMapping value)
const DolbyVisionLevel6Metadata & GetL6Metadata() const
Definition DolbyVision.h:65
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
DolbyVisionLevel6Mode GetL6Mode() const
Definition DolbyVision.h:84
Aws::Utils::Json::JsonValue JsonValue