AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DecimalDatasetParameter.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/DatasetParameterValueType.h>
10#include <aws/quicksight/model/DecimalDatasetParameterDefaultValues.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_QUICKSIGHT_API DecimalDatasetParameter() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 DecimalDatasetParameter& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 DecimalDatasetParameter& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
71 inline DatasetParameterValueType GetValueType() const { return m_valueType; }
72 inline bool ValueTypeHasBeenSet() const { return m_valueTypeHasBeenSet; }
73 inline void SetValueType(DatasetParameterValueType value) { m_valueTypeHasBeenSet = true; m_valueType = value; }
76
78
82 inline const DecimalDatasetParameterDefaultValues& GetDefaultValues() const { return m_defaultValues; }
83 inline bool DefaultValuesHasBeenSet() const { return m_defaultValuesHasBeenSet; }
84 template<typename DefaultValuesT = DecimalDatasetParameterDefaultValues>
85 void SetDefaultValues(DefaultValuesT&& value) { m_defaultValuesHasBeenSet = true; m_defaultValues = std::forward<DefaultValuesT>(value); }
86 template<typename DefaultValuesT = DecimalDatasetParameterDefaultValues>
87 DecimalDatasetParameter& WithDefaultValues(DefaultValuesT&& value) { SetDefaultValues(std::forward<DefaultValuesT>(value)); return *this;}
89 private:
90
91 Aws::String m_id;
92 bool m_idHasBeenSet = false;
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96
98 bool m_valueTypeHasBeenSet = false;
99
100 DecimalDatasetParameterDefaultValues m_defaultValues;
101 bool m_defaultValuesHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace QuickSight
106} // namespace Aws
DecimalDatasetParameter & WithValueType(DatasetParameterValueType value)
AWS_QUICKSIGHT_API DecimalDatasetParameter()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API DecimalDatasetParameter(Aws::Utils::Json::JsonView jsonValue)
void SetValueType(DatasetParameterValueType value)
DecimalDatasetParameter & WithDefaultValues(DefaultValuesT &&value)
DecimalDatasetParameter & WithName(NameT &&value)
AWS_QUICKSIGHT_API DecimalDatasetParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
DecimalDatasetParameter & WithId(IdT &&value)
const DecimalDatasetParameterDefaultValues & GetDefaultValues() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue