AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DecimalValueWhenUnsetConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ValueWhenUnsetOption.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_QUICKSIGHT_API DecimalValueWhenUnsetConfiguration() = default;
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline ValueWhenUnsetOption GetValueWhenUnsetOption() const { return m_valueWhenUnsetOption; }
49 inline bool ValueWhenUnsetOptionHasBeenSet() const { return m_valueWhenUnsetOptionHasBeenSet; }
50 inline void SetValueWhenUnsetOption(ValueWhenUnsetOption value) { m_valueWhenUnsetOptionHasBeenSet = true; m_valueWhenUnsetOption = value; }
53
55
58 inline double GetCustomValue() const { return m_customValue; }
59 inline bool CustomValueHasBeenSet() const { return m_customValueHasBeenSet; }
60 inline void SetCustomValue(double value) { m_customValueHasBeenSet = true; m_customValue = value; }
61 inline DecimalValueWhenUnsetConfiguration& WithCustomValue(double value) { SetCustomValue(value); return *this;}
63 private:
64
66 bool m_valueWhenUnsetOptionHasBeenSet = false;
67
68 double m_customValue{0.0};
69 bool m_customValueHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace QuickSight
74} // namespace Aws
DecimalValueWhenUnsetConfiguration & WithCustomValue(double value)
DecimalValueWhenUnsetConfiguration & WithValueWhenUnsetOption(ValueWhenUnsetOption value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API DecimalValueWhenUnsetConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API DecimalValueWhenUnsetConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API DecimalValueWhenUnsetConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue