AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
FrameSize.h
1
6#pragma once
7#include <aws/elementalinference/ElementalInference_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace ElementalInference {
17namespace Model {
18
26class FrameSize {
27 public:
28 AWS_ELEMENTALINFERENCE_API FrameSize() = default;
29 AWS_ELEMENTALINFERENCE_API FrameSize(Aws::Utils::Json::JsonView jsonValue);
30 AWS_ELEMENTALINFERENCE_API FrameSize& operator=(Aws::Utils::Json::JsonView jsonValue);
31 AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
37 inline int GetWidthPixels() const { return m_widthPixels; }
38 inline bool WidthPixelsHasBeenSet() const { return m_widthPixelsHasBeenSet; }
39 inline void SetWidthPixels(int value) {
40 m_widthPixelsHasBeenSet = true;
41 m_widthPixels = value;
42 }
43 inline FrameSize& WithWidthPixels(int value) {
44 SetWidthPixels(value);
45 return *this;
46 }
48
50
53 inline int GetHeightPixels() const { return m_heightPixels; }
54 inline bool HeightPixelsHasBeenSet() const { return m_heightPixelsHasBeenSet; }
55 inline void SetHeightPixels(int value) {
56 m_heightPixelsHasBeenSet = true;
57 m_heightPixels = value;
58 }
59 inline FrameSize& WithHeightPixels(int value) {
60 SetHeightPixels(value);
61 return *this;
62 }
64 private:
65 int m_widthPixels{0};
66
67 int m_heightPixels{0};
68 bool m_widthPixelsHasBeenSet = false;
69 bool m_heightPixelsHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace ElementalInference
74} // namespace Aws
FrameSize & WithWidthPixels(int value)
Definition FrameSize.h:43
FrameSize & WithHeightPixels(int value)
Definition FrameSize.h:59
AWS_ELEMENTALINFERENCE_API FrameSize & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELEMENTALINFERENCE_API FrameSize(Aws::Utils::Json::JsonView jsonValue)
AWS_ELEMENTALINFERENCE_API FrameSize()=default
AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue