AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
29 public:
30 AWS_QUICKSIGHT_API DecimalValueWhenUnsetConfiguration() = default;
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline ValueWhenUnsetOption GetValueWhenUnsetOption() const { return m_valueWhenUnsetOption; }
43 inline bool ValueWhenUnsetOptionHasBeenSet() const { return m_valueWhenUnsetOptionHasBeenSet; }
45 m_valueWhenUnsetOptionHasBeenSet = true;
46 m_valueWhenUnsetOption = value;
47 }
50 return *this;
51 }
53
55
58 inline double GetCustomValue() const { return m_customValue; }
59 inline bool CustomValueHasBeenSet() const { return m_customValueHasBeenSet; }
60 inline void SetCustomValue(double value) {
61 m_customValueHasBeenSet = true;
62 m_customValue = value;
63 }
65 SetCustomValue(value);
66 return *this;
67 }
69 private:
71
72 double m_customValue{0.0};
73 bool m_valueWhenUnsetOptionHasBeenSet = false;
74 bool m_customValueHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace QuickSight
79} // 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