AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
StringDatasetParameter.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/DatasetParameterValueType.h>
10#include <aws/quicksight/model/StringDatasetParameterDefaultValues.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
30 public:
31 AWS_QUICKSIGHT_API StringDatasetParameter() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
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) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
77 inline DatasetParameterValueType GetValueType() const { return m_valueType; }
78 inline bool ValueTypeHasBeenSet() const { return m_valueTypeHasBeenSet; }
80 m_valueTypeHasBeenSet = true;
81 m_valueType = value;
82 }
84 SetValueType(value);
85 return *this;
86 }
88
90
94 inline const StringDatasetParameterDefaultValues& GetDefaultValues() const { return m_defaultValues; }
95 inline bool DefaultValuesHasBeenSet() const { return m_defaultValuesHasBeenSet; }
96 template <typename DefaultValuesT = StringDatasetParameterDefaultValues>
97 void SetDefaultValues(DefaultValuesT&& value) {
98 m_defaultValuesHasBeenSet = true;
99 m_defaultValues = std::forward<DefaultValuesT>(value);
100 }
101 template <typename DefaultValuesT = StringDatasetParameterDefaultValues>
102 StringDatasetParameter& WithDefaultValues(DefaultValuesT&& value) {
103 SetDefaultValues(std::forward<DefaultValuesT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_id;
109
110 Aws::String m_name;
111
113
114 StringDatasetParameterDefaultValues m_defaultValues;
115 bool m_idHasBeenSet = false;
116 bool m_nameHasBeenSet = false;
117 bool m_valueTypeHasBeenSet = false;
118 bool m_defaultValuesHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace QuickSight
123} // namespace Aws
AWS_QUICKSIGHT_API StringDatasetParameter()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
StringDatasetParameter & WithDefaultValues(DefaultValuesT &&value)
StringDatasetParameter & WithId(IdT &&value)
AWS_QUICKSIGHT_API StringDatasetParameter(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API StringDatasetParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
const StringDatasetParameterDefaultValues & GetDefaultValues() const
StringDatasetParameter & WithValueType(DatasetParameterValueType value)
void SetValueType(DatasetParameterValueType value)
StringDatasetParameter & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue