AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
IntegerConfigurationOptions.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SecurityHub {
17namespace Model {
18
26 public:
27 AWS_SECURITYHUB_API IntegerConfigurationOptions() = default;
30 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline int GetDefaultValue() const { return m_defaultValue; }
38 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
39 inline void SetDefaultValue(int value) {
40 m_defaultValueHasBeenSet = true;
41 m_defaultValue = value;
42 }
44 SetDefaultValue(value);
45 return *this;
46 }
48
50
53 inline int GetMin() const { return m_min; }
54 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
55 inline void SetMin(int value) {
56 m_minHasBeenSet = true;
57 m_min = value;
58 }
60 SetMin(value);
61 return *this;
62 }
64
66
69 inline int GetMax() const { return m_max; }
70 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
71 inline void SetMax(int value) {
72 m_maxHasBeenSet = true;
73 m_max = value;
74 }
76 SetMax(value);
77 return *this;
78 }
80 private:
81 int m_defaultValue{0};
82
83 int m_min{0};
84
85 int m_max{0};
86 bool m_defaultValueHasBeenSet = false;
87 bool m_minHasBeenSet = false;
88 bool m_maxHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace SecurityHub
93} // namespace Aws
AWS_SECURITYHUB_API IntegerConfigurationOptions()=default
AWS_SECURITYHUB_API IntegerConfigurationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
IntegerConfigurationOptions & WithDefaultValue(int value)
AWS_SECURITYHUB_API IntegerConfigurationOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue