AWS SDK for C++

AWS SDK for C++ Version 1.11.832

Loading...
Searching...
No Matches
HdrMetadata.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/ContentLightLevel.h>
9#include <aws/mediaconvert/model/MasteringDisplayColorVolume.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaConvert {
21namespace Model {
22
31 public:
32 AWS_MEDIACONVERT_API HdrMetadata() = default;
33 AWS_MEDIACONVERT_API HdrMetadata(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIACONVERT_API HdrMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const ContentLightLevel& GetContentLightLevel() const { return m_contentLightLevel; }
43 inline bool ContentLightLevelHasBeenSet() const { return m_contentLightLevelHasBeenSet; }
44 template <typename ContentLightLevelT = ContentLightLevel>
45 void SetContentLightLevel(ContentLightLevelT&& value) {
46 m_contentLightLevelHasBeenSet = true;
47 m_contentLightLevel = std::forward<ContentLightLevelT>(value);
48 }
49 template <typename ContentLightLevelT = ContentLightLevel>
50 HdrMetadata& WithContentLightLevel(ContentLightLevelT&& value) {
51 SetContentLightLevel(std::forward<ContentLightLevelT>(value));
52 return *this;
53 }
55
57
62 inline const MasteringDisplayColorVolume& GetMasteringDisplayColorVolume() const { return m_masteringDisplayColorVolume; }
63 inline bool MasteringDisplayColorVolumeHasBeenSet() const { return m_masteringDisplayColorVolumeHasBeenSet; }
64 template <typename MasteringDisplayColorVolumeT = MasteringDisplayColorVolume>
65 void SetMasteringDisplayColorVolume(MasteringDisplayColorVolumeT&& value) {
66 m_masteringDisplayColorVolumeHasBeenSet = true;
67 m_masteringDisplayColorVolume = std::forward<MasteringDisplayColorVolumeT>(value);
68 }
69 template <typename MasteringDisplayColorVolumeT = MasteringDisplayColorVolume>
70 HdrMetadata& WithMasteringDisplayColorVolume(MasteringDisplayColorVolumeT&& value) {
71 SetMasteringDisplayColorVolume(std::forward<MasteringDisplayColorVolumeT>(value));
72 return *this;
73 }
75 private:
76 ContentLightLevel m_contentLightLevel;
77
78 MasteringDisplayColorVolume m_masteringDisplayColorVolume;
79 bool m_contentLightLevelHasBeenSet = false;
80 bool m_masteringDisplayColorVolumeHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace MediaConvert
85} // namespace Aws
void SetContentLightLevel(ContentLightLevelT &&value)
Definition HdrMetadata.h:45
const MasteringDisplayColorVolume & GetMasteringDisplayColorVolume() const
Definition HdrMetadata.h:62
HdrMetadata & WithMasteringDisplayColorVolume(MasteringDisplayColorVolumeT &&value)
Definition HdrMetadata.h:70
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONVERT_API HdrMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API HdrMetadata()=default
HdrMetadata & WithContentLightLevel(ContentLightLevelT &&value)
Definition HdrMetadata.h:50
void SetMasteringDisplayColorVolume(MasteringDisplayColorVolumeT &&value)
Definition HdrMetadata.h:65
const ContentLightLevel & GetContentLightLevel() const
Definition HdrMetadata.h:42
AWS_MEDIACONVERT_API HdrMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue