AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AcceleratorCountRange.h
1
6#pragma once
7#include <aws/deadline/Deadline_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 deadline
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_DEADLINE_API AcceleratorCountRange();
35 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetMin() const{ return m_min; }
43 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
44 inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; }
45 inline AcceleratorCountRange& WithMin(int value) { SetMin(value); return *this;}
47
49
52 inline int GetMax() const{ return m_max; }
53 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
54 inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; }
55 inline AcceleratorCountRange& WithMax(int value) { SetMax(value); return *this;}
57 private:
58
59 int m_min;
60 bool m_minHasBeenSet = false;
61
62 int m_max;
63 bool m_maxHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace deadline
68} // namespace Aws
AcceleratorCountRange & WithMax(int value)
AWS_DEADLINE_API AcceleratorCountRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API AcceleratorCountRange(Aws::Utils::Json::JsonView jsonValue)
AcceleratorCountRange & WithMin(int value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue