AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DecimalDefaultValues.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/DynamicDefaultValue.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API DecimalDefaultValues();
37 AWS_QUICKSIGHT_API DecimalDefaultValues(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const DynamicDefaultValue& GetDynamicValue() const{ return m_dynamicValue; }
48 inline bool DynamicValueHasBeenSet() const { return m_dynamicValueHasBeenSet; }
49 inline void SetDynamicValue(const DynamicDefaultValue& value) { m_dynamicValueHasBeenSet = true; m_dynamicValue = value; }
50 inline void SetDynamicValue(DynamicDefaultValue&& value) { m_dynamicValueHasBeenSet = true; m_dynamicValue = std::move(value); }
51 inline DecimalDefaultValues& WithDynamicValue(const DynamicDefaultValue& value) { SetDynamicValue(value); return *this;}
52 inline DecimalDefaultValues& WithDynamicValue(DynamicDefaultValue&& value) { SetDynamicValue(std::move(value)); return *this;}
54
56
59 inline const Aws::Vector<double>& GetStaticValues() const{ return m_staticValues; }
60 inline bool StaticValuesHasBeenSet() const { return m_staticValuesHasBeenSet; }
61 inline void SetStaticValues(const Aws::Vector<double>& value) { m_staticValuesHasBeenSet = true; m_staticValues = value; }
62 inline void SetStaticValues(Aws::Vector<double>&& value) { m_staticValuesHasBeenSet = true; m_staticValues = std::move(value); }
63 inline DecimalDefaultValues& WithStaticValues(const Aws::Vector<double>& value) { SetStaticValues(value); return *this;}
64 inline DecimalDefaultValues& WithStaticValues(Aws::Vector<double>&& value) { SetStaticValues(std::move(value)); return *this;}
65 inline DecimalDefaultValues& AddStaticValues(double value) { m_staticValuesHasBeenSet = true; m_staticValues.push_back(value); return *this; }
67 private:
68
69 DynamicDefaultValue m_dynamicValue;
70 bool m_dynamicValueHasBeenSet = false;
71
72 Aws::Vector<double> m_staticValues;
73 bool m_staticValuesHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace QuickSight
78} // namespace Aws
const Aws::Vector< double > & GetStaticValues() const
void SetStaticValues(const Aws::Vector< double > &value)
DecimalDefaultValues & WithStaticValues(Aws::Vector< double > &&value)
AWS_QUICKSIGHT_API DecimalDefaultValues(Aws::Utils::Json::JsonView jsonValue)
DecimalDefaultValues & AddStaticValues(double value)
const DynamicDefaultValue & GetDynamicValue() const
void SetDynamicValue(DynamicDefaultValue &&value)
DecimalDefaultValues & WithDynamicValue(const DynamicDefaultValue &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API DecimalDefaultValues & operator=(Aws::Utils::Json::JsonView jsonValue)
DecimalDefaultValues & WithStaticValues(const Aws::Vector< double > &value)
void SetStaticValues(Aws::Vector< double > &&value)
DecimalDefaultValues & WithDynamicValue(DynamicDefaultValue &&value)
void SetDynamicValue(const DynamicDefaultValue &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue