AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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