AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const ValueWhenUnsetOption& GetValueWhenUnsetOption() const{ return m_valueWhenUnsetOption; }
49 inline bool ValueWhenUnsetOptionHasBeenSet() const { return m_valueWhenUnsetOptionHasBeenSet; }
50 inline void SetValueWhenUnsetOption(const ValueWhenUnsetOption& value) { m_valueWhenUnsetOptionHasBeenSet = true; m_valueWhenUnsetOption = value; }
51 inline void SetValueWhenUnsetOption(ValueWhenUnsetOption&& value) { m_valueWhenUnsetOptionHasBeenSet = true; m_valueWhenUnsetOption = std::move(value); }
55
57
60 inline double GetCustomValue() const{ return m_customValue; }
61 inline bool CustomValueHasBeenSet() const { return m_customValueHasBeenSet; }
62 inline void SetCustomValue(double value) { m_customValueHasBeenSet = true; m_customValue = value; }
63 inline DecimalValueWhenUnsetConfiguration& WithCustomValue(double value) { SetCustomValue(value); return *this;}
65 private:
66
67 ValueWhenUnsetOption m_valueWhenUnsetOption;
68 bool m_valueWhenUnsetOptionHasBeenSet = false;
69
70 double m_customValue;
71 bool m_customValueHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace QuickSight
76} // namespace Aws
DecimalValueWhenUnsetConfiguration & WithValueWhenUnsetOption(const ValueWhenUnsetOption &value)
DecimalValueWhenUnsetConfiguration & WithCustomValue(double 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)
DecimalValueWhenUnsetConfiguration & WithValueWhenUnsetOption(ValueWhenUnsetOption &&value)
Aws::Utils::Json::JsonValue JsonValue