AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntegerConfigurationOptions.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_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 SecurityHub
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_SECURITYHUB_API IntegerConfigurationOptions();
36 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline int GetDefaultValue() const{ return m_defaultValue; }
45 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
46 inline void SetDefaultValue(int value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
47 inline IntegerConfigurationOptions& WithDefaultValue(int value) { SetDefaultValue(value); return *this;}
49
51
54 inline int GetMin() const{ return m_min; }
55 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
56 inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; }
57 inline IntegerConfigurationOptions& WithMin(int value) { SetMin(value); return *this;}
59
61
64 inline int GetMax() const{ return m_max; }
65 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
66 inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; }
67 inline IntegerConfigurationOptions& WithMax(int value) { SetMax(value); return *this;}
69 private:
70
71 int m_defaultValue;
72 bool m_defaultValueHasBeenSet = false;
73
74 int m_min;
75 bool m_minHasBeenSet = false;
76
77 int m_max;
78 bool m_maxHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SecurityHub
83} // namespace Aws
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