AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VideoProperties.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/ColorPrimaries.h>
9#include <aws/mediaconvert/model/FrameRate.h>
10#include <aws/mediaconvert/model/MatrixCoefficients.h>
11#include <aws/mediaconvert/model/TransferCharacteristics.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaConvert
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_MEDIACONVERT_API VideoProperties() = default;
38 AWS_MEDIACONVERT_API VideoProperties(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONVERT_API VideoProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline int GetBitDepth() const { return m_bitDepth; }
48 inline bool BitDepthHasBeenSet() const { return m_bitDepthHasBeenSet; }
49 inline void SetBitDepth(int value) { m_bitDepthHasBeenSet = true; m_bitDepth = value; }
50 inline VideoProperties& WithBitDepth(int value) { SetBitDepth(value); return *this;}
52
54
57 inline long long GetBitRate() const { return m_bitRate; }
58 inline bool BitRateHasBeenSet() const { return m_bitRateHasBeenSet; }
59 inline void SetBitRate(long long value) { m_bitRateHasBeenSet = true; m_bitRate = value; }
60 inline VideoProperties& WithBitRate(long long value) { SetBitRate(value); return *this;}
62
64
67 inline ColorPrimaries GetColorPrimaries() const { return m_colorPrimaries; }
68 inline bool ColorPrimariesHasBeenSet() const { return m_colorPrimariesHasBeenSet; }
69 inline void SetColorPrimaries(ColorPrimaries value) { m_colorPrimariesHasBeenSet = true; m_colorPrimaries = value; }
72
74
77 inline const FrameRate& GetFrameRate() const { return m_frameRate; }
78 inline bool FrameRateHasBeenSet() const { return m_frameRateHasBeenSet; }
79 template<typename FrameRateT = FrameRate>
80 void SetFrameRate(FrameRateT&& value) { m_frameRateHasBeenSet = true; m_frameRate = std::forward<FrameRateT>(value); }
81 template<typename FrameRateT = FrameRate>
82 VideoProperties& WithFrameRate(FrameRateT&& value) { SetFrameRate(std::forward<FrameRateT>(value)); return *this;}
84
86
89 inline int GetHeight() const { return m_height; }
90 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
91 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
92 inline VideoProperties& WithHeight(int value) { SetHeight(value); return *this;}
94
96
99 inline MatrixCoefficients GetMatrixCoefficients() const { return m_matrixCoefficients; }
100 inline bool MatrixCoefficientsHasBeenSet() const { return m_matrixCoefficientsHasBeenSet; }
101 inline void SetMatrixCoefficients(MatrixCoefficients value) { m_matrixCoefficientsHasBeenSet = true; m_matrixCoefficients = value; }
104
106
109 inline TransferCharacteristics GetTransferCharacteristics() const { return m_transferCharacteristics; }
110 inline bool TransferCharacteristicsHasBeenSet() const { return m_transferCharacteristicsHasBeenSet; }
111 inline void SetTransferCharacteristics(TransferCharacteristics value) { m_transferCharacteristicsHasBeenSet = true; m_transferCharacteristics = value; }
114
116
119 inline int GetWidth() const { return m_width; }
120 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
121 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
122 inline VideoProperties& WithWidth(int value) { SetWidth(value); return *this;}
124 private:
125
126 int m_bitDepth{0};
127 bool m_bitDepthHasBeenSet = false;
128
129 long long m_bitRate{0};
130 bool m_bitRateHasBeenSet = false;
131
132 ColorPrimaries m_colorPrimaries{ColorPrimaries::NOT_SET};
133 bool m_colorPrimariesHasBeenSet = false;
134
135 FrameRate m_frameRate;
136 bool m_frameRateHasBeenSet = false;
137
138 int m_height{0};
139 bool m_heightHasBeenSet = false;
140
142 bool m_matrixCoefficientsHasBeenSet = false;
143
145 bool m_transferCharacteristicsHasBeenSet = false;
146
147 int m_width{0};
148 bool m_widthHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace MediaConvert
153} // namespace Aws
MatrixCoefficients GetMatrixCoefficients() const
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMatrixCoefficients(MatrixCoefficients value)
AWS_MEDIACONVERT_API VideoProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
VideoProperties & WithHeight(int value)
AWS_MEDIACONVERT_API VideoProperties()=default
VideoProperties & WithBitDepth(int value)
TransferCharacteristics GetTransferCharacteristics() const
VideoProperties & WithBitRate(long long value)
VideoProperties & WithColorPrimaries(ColorPrimaries value)
void SetColorPrimaries(ColorPrimaries value)
VideoProperties & WithFrameRate(FrameRateT &&value)
VideoProperties & WithMatrixCoefficients(MatrixCoefficients value)
VideoProperties & WithTransferCharacteristics(TransferCharacteristics value)
void SetTransferCharacteristics(TransferCharacteristics value)
VideoProperties & WithWidth(int value)
AWS_MEDIACONVERT_API VideoProperties(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue