AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const RequiredFlag& GetRequired() const{ return m_required; }
63 inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
64 inline void SetRequired(const RequiredFlag& value) { m_requiredHasBeenSet = true; m_required = value; }
65 inline void SetRequired(RequiredFlag&& value) { m_requiredHasBeenSet = true; m_required = std::move(value); }
66 inline AllowedRenditionSize& WithRequired(const RequiredFlag& value) { SetRequired(value); return *this;}
67 inline AllowedRenditionSize& WithRequired(RequiredFlag&& value) { SetRequired(std::move(value)); return *this;}
69
71
74 inline int GetWidth() const{ return m_width; }
75 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
76 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
77 inline AllowedRenditionSize& WithWidth(int value) { SetWidth(value); return *this;}
79 private:
80
81 int m_height;
82 bool m_heightHasBeenSet = false;
83
84 RequiredFlag m_required;
85 bool m_requiredHasBeenSet = false;
86
87 int m_width;
88 bool m_widthHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace MediaConvert
93} // namespace Aws
AWS_MEDIACONVERT_API AllowedRenditionSize & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AllowedRenditionSize & WithRequired(const RequiredFlag &value)
AllowedRenditionSize & WithRequired(RequiredFlag &&value)
AWS_MEDIACONVERT_API AllowedRenditionSize(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue