AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StringDatasetParameter.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/StringDatasetParameterDefaultValues.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 StringDatasetParameter();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline StringDatasetParameter& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline StringDatasetParameter& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline StringDatasetParameter& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline StringDatasetParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline StringDatasetParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline StringDatasetParameter& WithName(const char* value) { SetName(value); return *this;}
69
71
75 inline const DatasetParameterValueType& GetValueType() const{ return m_valueType; }
76 inline bool ValueTypeHasBeenSet() const { return m_valueTypeHasBeenSet; }
77 inline void SetValueType(const DatasetParameterValueType& value) { m_valueTypeHasBeenSet = true; m_valueType = value; }
78 inline void SetValueType(DatasetParameterValueType&& value) { m_valueTypeHasBeenSet = true; m_valueType = std::move(value); }
79 inline StringDatasetParameter& WithValueType(const DatasetParameterValueType& value) { SetValueType(value); return *this;}
80 inline StringDatasetParameter& WithValueType(DatasetParameterValueType&& value) { SetValueType(std::move(value)); return *this;}
82
84
88 inline const StringDatasetParameterDefaultValues& GetDefaultValues() const{ return m_defaultValues; }
89 inline bool DefaultValuesHasBeenSet() const { return m_defaultValuesHasBeenSet; }
90 inline void SetDefaultValues(const StringDatasetParameterDefaultValues& value) { m_defaultValuesHasBeenSet = true; m_defaultValues = value; }
91 inline void SetDefaultValues(StringDatasetParameterDefaultValues&& value) { m_defaultValuesHasBeenSet = true; m_defaultValues = std::move(value); }
95 private:
96
97 Aws::String m_id;
98 bool m_idHasBeenSet = false;
99
100 Aws::String m_name;
101 bool m_nameHasBeenSet = false;
102
103 DatasetParameterValueType m_valueType;
104 bool m_valueTypeHasBeenSet = false;
105
107 bool m_defaultValuesHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace QuickSight
112} // namespace Aws
StringDatasetParameter & WithDefaultValues(const StringDatasetParameterDefaultValues &value)
const DatasetParameterValueType & GetValueType() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
StringDatasetParameter & WithName(Aws::String &&value)
StringDatasetParameter & WithName(const char *value)
AWS_QUICKSIGHT_API StringDatasetParameter(Aws::Utils::Json::JsonView jsonValue)
StringDatasetParameter & WithValueType(const DatasetParameterValueType &value)
void SetDefaultValues(const StringDatasetParameterDefaultValues &value)
StringDatasetParameter & WithId(Aws::String &&value)
AWS_QUICKSIGHT_API StringDatasetParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
const StringDatasetParameterDefaultValues & GetDefaultValues() const
StringDatasetParameter & WithId(const Aws::String &value)
StringDatasetParameter & WithDefaultValues(StringDatasetParameterDefaultValues &&value)
void SetDefaultValues(StringDatasetParameterDefaultValues &&value)
StringDatasetParameter & WithValueType(DatasetParameterValueType &&value)
StringDatasetParameter & WithName(const Aws::String &value)
void SetValueType(const DatasetParameterValueType &value)
StringDatasetParameter & WithId(const char *value)
void SetValueType(DatasetParameterValueType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue