AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DoubleConfigurationOptions.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 DoubleConfigurationOptions() = default;
30 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline double GetDefaultValue() const { return m_defaultValue; }
38 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
39 inline void SetDefaultValue(double value) {
40 m_defaultValueHasBeenSet = true;
41 m_defaultValue = value;
42 }
44 SetDefaultValue(value);
45 return *this;
46 }
48
50
53 inline double GetMin() const { return m_min; }
54 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
55 inline void SetMin(double value) {
56 m_minHasBeenSet = true;
57 m_min = value;
58 }
59 inline DoubleConfigurationOptions& WithMin(double value) {
60 SetMin(value);
61 return *this;
62 }
64
66
69 inline double GetMax() const { return m_max; }
70 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
71 inline void SetMax(double value) {
72 m_maxHasBeenSet = true;
73 m_max = value;
74 }
75 inline DoubleConfigurationOptions& WithMax(double value) {
76 SetMax(value);
77 return *this;
78 }
80 private:
81 double m_defaultValue{0.0};
82
83 double m_min{0.0};
84
85 double m_max{0.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
DoubleConfigurationOptions & WithMin(double value)
DoubleConfigurationOptions & WithMax(double value)
AWS_SECURITYHUB_API DoubleConfigurationOptions()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API DoubleConfigurationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API DoubleConfigurationOptions(Aws::Utils::Json::JsonView jsonValue)
DoubleConfigurationOptions & WithDefaultValue(double value)
Aws::Utils::Json::JsonValue JsonValue