AWS SDK for C++

AWS SDK for C++ Version 1.11.876

Loading...
Searching...
No Matches
IntegerRangeConstraint.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace EKS {
17namespace Model {
18
26 public:
27 AWS_EKS_API IntegerRangeConstraint() = default;
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 IntegerRangeConstraint& 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 IntegerRangeConstraint& 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 EKS
73} // namespace Aws
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EKS_API IntegerRangeConstraint(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API IntegerRangeConstraint & operator=(Aws::Utils::Json::JsonView jsonValue)
IntegerRangeConstraint & WithMin(int value)
AWS_EKS_API IntegerRangeConstraint()=default
IntegerRangeConstraint & WithMax(int value)
Aws::Utils::Json::JsonValue JsonValue