AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
VideoDetail.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace MediaConvert {
17namespace Model {
18
25 public:
26 AWS_MEDIACONVERT_API VideoDetail() = default;
27 AWS_MEDIACONVERT_API VideoDetail(Aws::Utils::Json::JsonView jsonValue);
28 AWS_MEDIACONVERT_API VideoDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
29 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetHeightInPx() const { return m_heightInPx; }
36 inline bool HeightInPxHasBeenSet() const { return m_heightInPxHasBeenSet; }
37 inline void SetHeightInPx(int value) {
38 m_heightInPxHasBeenSet = true;
39 m_heightInPx = value;
40 }
41 inline VideoDetail& WithHeightInPx(int value) {
42 SetHeightInPx(value);
43 return *this;
44 }
46
48
51 inline int GetWidthInPx() const { return m_widthInPx; }
52 inline bool WidthInPxHasBeenSet() const { return m_widthInPxHasBeenSet; }
53 inline void SetWidthInPx(int value) {
54 m_widthInPxHasBeenSet = true;
55 m_widthInPx = value;
56 }
57 inline VideoDetail& WithWidthInPx(int value) {
58 SetWidthInPx(value);
59 return *this;
60 }
62 private:
63 int m_heightInPx{0};
64
65 int m_widthInPx{0};
66 bool m_heightInPxHasBeenSet = false;
67 bool m_widthInPxHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace MediaConvert
72} // namespace Aws
AWS_MEDIACONVERT_API VideoDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API VideoDetail()=default
AWS_MEDIACONVERT_API VideoDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
VideoDetail & WithWidthInPx(int value)
Definition VideoDetail.h:57
VideoDetail & WithHeightInPx(int value)
Definition VideoDetail.h:41
Aws::Utils::Json::JsonValue JsonValue