AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VCpuCountRange.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
31 {
32 public:
33 AWS_DEADLINE_API VCpuCountRange();
34 AWS_DEADLINE_API VCpuCountRange(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetMin() const{ return m_min; }
44 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
45 inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; }
46 inline VCpuCountRange& WithMin(int value) { SetMin(value); return *this;}
48
50
53 inline int GetMax() const{ return m_max; }
54 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
55 inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; }
56 inline VCpuCountRange& WithMax(int value) { SetMax(value); return *this;}
58 private:
59
60 int m_min;
61 bool m_minHasBeenSet = false;
62
63 int m_max;
64 bool m_maxHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace deadline
69} // namespace Aws
VCpuCountRange & WithMax(int value)
AWS_DEADLINE_API VCpuCountRange(Aws::Utils::Json::JsonView jsonValue)
VCpuCountRange & WithMin(int value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API VCpuCountRange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue