AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Resolution.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DeviceFarm
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_DEVICEFARM_API Resolution();
34 AWS_DEVICEFARM_API Resolution(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DEVICEFARM_API Resolution& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetWidth() const{ return m_width; }
44 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
45 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
46 inline Resolution& WithWidth(int value) { SetWidth(value); return *this;}
48
50
53 inline int GetHeight() const{ return m_height; }
54 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
55 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
56 inline Resolution& WithHeight(int value) { SetHeight(value); return *this;}
58 private:
59
60 int m_width;
61 bool m_widthHasBeenSet = false;
62
63 int m_height;
64 bool m_heightHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace DeviceFarm
69} // namespace Aws
AWS_DEVICEFARM_API Resolution & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVICEFARM_API Resolution()
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
Resolution & WithWidth(int value)
Definition Resolution.h:46
Resolution & WithHeight(int value)
Definition Resolution.h:56
AWS_DEVICEFARM_API Resolution(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue