AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AllowedRenditionSize.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/RequiredFlag.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
36 public:
37 AWS_MEDIACONVERT_API AllowedRenditionSize() = default;
38 AWS_MEDIACONVERT_API AllowedRenditionSize(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline int GetHeight() const { return m_height; }
47 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
48 inline void SetHeight(int value) {
49 m_heightHasBeenSet = true;
50 m_height = value;
51 }
52 inline AllowedRenditionSize& WithHeight(int value) {
53 SetHeight(value);
54 return *this;
55 }
57
59
62 inline RequiredFlag GetRequired() const { return m_required; }
63 inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
64 inline void SetRequired(RequiredFlag value) {
65 m_requiredHasBeenSet = true;
66 m_required = value;
67 }
69 SetRequired(value);
70 return *this;
71 }
73
75
78 inline int GetWidth() const { return m_width; }
79 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
80 inline void SetWidth(int value) {
81 m_widthHasBeenSet = true;
82 m_width = value;
83 }
84 inline AllowedRenditionSize& WithWidth(int value) {
85 SetWidth(value);
86 return *this;
87 }
89 private:
90 int m_height{0};
91
93
94 int m_width{0};
95 bool m_heightHasBeenSet = false;
96 bool m_requiredHasBeenSet = false;
97 bool m_widthHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace MediaConvert
102} // namespace Aws
AWS_MEDIACONVERT_API AllowedRenditionSize()=default
AWS_MEDIACONVERT_API AllowedRenditionSize & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONVERT_API AllowedRenditionSize(Aws::Utils::Json::JsonView jsonValue)
AllowedRenditionSize & WithRequired(RequiredFlag value)
Aws::Utils::Json::JsonValue JsonValue