AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
VCpuCountRange.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace deadline {
17namespace Model {
18
26 public:
27 AWS_DEADLINE_API VCpuCountRange() = default;
28 AWS_DEADLINE_API VCpuCountRange(Aws::Utils::Json::JsonView jsonValue);
30 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetMin() const { return m_min; }
37 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
38 inline void SetMin(int value) {
39 m_minHasBeenSet = true;
40 m_min = value;
41 }
42 inline VCpuCountRange& WithMin(int value) {
43 SetMin(value);
44 return *this;
45 }
47
49
52 inline int GetMax() const { return m_max; }
53 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
54 inline void SetMax(int value) {
55 m_maxHasBeenSet = true;
56 m_max = value;
57 }
58 inline VCpuCountRange& WithMax(int value) {
59 SetMax(value);
60 return *this;
61 }
63 private:
64 int m_min{0};
65
66 int m_max{0};
67 bool m_minHasBeenSet = false;
68 bool m_maxHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace deadline
73} // namespace Aws
VCpuCountRange & WithMax(int value)
AWS_DEADLINE_API VCpuCountRange(Aws::Utils::Json::JsonView jsonValue)
VCpuCountRange & WithMin(int value)
AWS_DEADLINE_API VCpuCountRange()=default
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API VCpuCountRange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue