AWS SDK for C++  1.9.159
AWS SDK for C++
Resolution.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace DeviceFarm
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
42  inline int GetWidth() const{ return m_width; }
43 
47  inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
48 
52  inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
53 
57  inline Resolution& WithWidth(int value) { SetWidth(value); return *this;}
58 
59 
63  inline int GetHeight() const{ return m_height; }
64 
68  inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
69 
73  inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
74 
78  inline Resolution& WithHeight(int value) { SetHeight(value); return *this;}
79 
80  private:
81 
82  int m_width;
83  bool m_widthHasBeenSet;
84 
85  int m_height;
86  bool m_heightHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace DeviceFarm
91 } // namespace Aws
Aws::DeviceFarm::Model::Resolution::operator=
Resolution & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DeviceFarm::Model::Resolution::Resolution
Resolution(Aws::Utils::Json::JsonView jsonValue)
Aws::DeviceFarm::Model::Resolution::SetWidth
void SetWidth(int value)
Definition: Resolution.h:52
Aws::DeviceFarm::Model::Resolution::WidthHasBeenSet
bool WidthHasBeenSet() const
Definition: Resolution.h:47
Aws::DeviceFarm::Model::Resolution::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::Resolution::WithWidth
Resolution & WithWidth(int value)
Definition: Resolution.h:57
Aws::DeviceFarm::Model::Resolution::Resolution
Resolution()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::DeviceFarm::Model::Resolution::GetWidth
int GetWidth() const
Definition: Resolution.h:42
Aws::DeviceFarm::Model::Resolution
Definition: Resolution.h:31
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::DeviceFarm::Model::Resolution::HeightHasBeenSet
bool HeightHasBeenSet() const
Definition: Resolution.h:68
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::Resolution::WithHeight
Resolution & WithHeight(int value)
Definition: Resolution.h:78
Aws::DeviceFarm::Model::Resolution::SetHeight
void SetHeight(int value)
Definition: Resolution.h:73
Aws::DeviceFarm::Model::Resolution::GetHeight
int GetHeight() const
Definition: Resolution.h:63