AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
MemoryMiBRange.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
25 public:
26 AWS_DEADLINE_API MemoryMiBRange() = default;
27 AWS_DEADLINE_API MemoryMiBRange(Aws::Utils::Json::JsonView jsonValue);
29 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetMin() const { return m_min; }
36 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
37 inline void SetMin(int value) {
38 m_minHasBeenSet = true;
39 m_min = value;
40 }
41 inline MemoryMiBRange& WithMin(int value) {
42 SetMin(value);
43 return *this;
44 }
46
48
51 inline int GetMax() const { return m_max; }
52 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
53 inline void SetMax(int value) {
54 m_maxHasBeenSet = true;
55 m_max = value;
56 }
57 inline MemoryMiBRange& WithMax(int value) {
58 SetMax(value);
59 return *this;
60 }
62 private:
63 int m_min{0};
64
65 int m_max{0};
66 bool m_minHasBeenSet = false;
67 bool m_maxHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace deadline
72} // namespace Aws
MemoryMiBRange & WithMin(int value)
AWS_DEADLINE_API MemoryMiBRange()=default
AWS_DEADLINE_API MemoryMiBRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API MemoryMiBRange(Aws::Utils::Json::JsonView jsonValue)
MemoryMiBRange & WithMax(int value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue