AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaConvert
22{
23namespace Model
24{
25
40 {
41 public:
42 AWS_MEDIACONVERT_API AllowedRenditionSize() = default;
43 AWS_MEDIACONVERT_API AllowedRenditionSize(Aws::Utils::Json::JsonView jsonValue);
45 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline int GetHeight() const { return m_height; }
53 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
54 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
55 inline AllowedRenditionSize& WithHeight(int value) { SetHeight(value); return *this;}
57
59
62 inline RequiredFlag GetRequired() const { return m_required; }
63 inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
64 inline void SetRequired(RequiredFlag value) { m_requiredHasBeenSet = true; m_required = value; }
65 inline AllowedRenditionSize& WithRequired(RequiredFlag value) { SetRequired(value); return *this;}
67
69
72 inline int GetWidth() const { return m_width; }
73 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
74 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
75 inline AllowedRenditionSize& WithWidth(int value) { SetWidth(value); return *this;}
77 private:
78
79 int m_height{0};
80 bool m_heightHasBeenSet = false;
81
83 bool m_requiredHasBeenSet = false;
84
85 int m_width{0};
86 bool m_widthHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace MediaConvert
91} // 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