AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
FrameResolution.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace MediaConnect {
17namespace Model {
18
25 public:
26 AWS_MEDIACONNECT_API FrameResolution() = default;
27 AWS_MEDIACONNECT_API FrameResolution(Aws::Utils::Json::JsonView jsonValue);
28 AWS_MEDIACONNECT_API FrameResolution& operator=(Aws::Utils::Json::JsonView jsonValue);
29 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetFrameHeight() const { return m_frameHeight; }
36 inline bool FrameHeightHasBeenSet() const { return m_frameHeightHasBeenSet; }
37 inline void SetFrameHeight(int value) {
38 m_frameHeightHasBeenSet = true;
39 m_frameHeight = value;
40 }
41 inline FrameResolution& WithFrameHeight(int value) {
42 SetFrameHeight(value);
43 return *this;
44 }
46
48
51 inline int GetFrameWidth() const { return m_frameWidth; }
52 inline bool FrameWidthHasBeenSet() const { return m_frameWidthHasBeenSet; }
53 inline void SetFrameWidth(int value) {
54 m_frameWidthHasBeenSet = true;
55 m_frameWidth = value;
56 }
57 inline FrameResolution& WithFrameWidth(int value) {
58 SetFrameWidth(value);
59 return *this;
60 }
62 private:
63 int m_frameHeight{0};
64
65 int m_frameWidth{0};
66 bool m_frameHeightHasBeenSet = false;
67 bool m_frameWidthHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace MediaConnect
72} // namespace Aws
AWS_MEDIACONNECT_API FrameResolution()=default
FrameResolution & WithFrameHeight(int value)
AWS_MEDIACONNECT_API FrameResolution & operator=(Aws::Utils::Json::JsonView jsonValue)
FrameResolution & WithFrameWidth(int value)
AWS_MEDIACONNECT_API FrameResolution(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue