AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
DestinationParameterValueConfiguration.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/ColumnIdentifier.h>
10#include <aws/quicksight/model/CustomValuesConfiguration.h>
11#include <aws/quicksight/model/SelectAllValueOptions.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
33 public:
34 AWS_QUICKSIGHT_API DestinationParameterValueConfiguration() = default;
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const CustomValuesConfiguration& GetCustomValuesConfiguration() const { return m_customValuesConfiguration; }
45 inline bool CustomValuesConfigurationHasBeenSet() const { return m_customValuesConfigurationHasBeenSet; }
46 template <typename CustomValuesConfigurationT = CustomValuesConfiguration>
47 void SetCustomValuesConfiguration(CustomValuesConfigurationT&& value) {
48 m_customValuesConfigurationHasBeenSet = true;
49 m_customValuesConfiguration = std::forward<CustomValuesConfigurationT>(value);
50 }
51 template <typename CustomValuesConfigurationT = CustomValuesConfiguration>
53 SetCustomValuesConfiguration(std::forward<CustomValuesConfigurationT>(value));
54 return *this;
55 }
57
59
62 inline SelectAllValueOptions GetSelectAllValueOptions() const { return m_selectAllValueOptions; }
63 inline bool SelectAllValueOptionsHasBeenSet() const { return m_selectAllValueOptionsHasBeenSet; }
65 m_selectAllValueOptionsHasBeenSet = true;
66 m_selectAllValueOptions = value;
67 }
70 return *this;
71 }
73
75
78 inline const Aws::String& GetSourceParameterName() const { return m_sourceParameterName; }
79 inline bool SourceParameterNameHasBeenSet() const { return m_sourceParameterNameHasBeenSet; }
80 template <typename SourceParameterNameT = Aws::String>
81 void SetSourceParameterName(SourceParameterNameT&& value) {
82 m_sourceParameterNameHasBeenSet = true;
83 m_sourceParameterName = std::forward<SourceParameterNameT>(value);
84 }
85 template <typename SourceParameterNameT = Aws::String>
87 SetSourceParameterName(std::forward<SourceParameterNameT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetSourceField() const { return m_sourceField; }
97 inline bool SourceFieldHasBeenSet() const { return m_sourceFieldHasBeenSet; }
98 template <typename SourceFieldT = Aws::String>
99 void SetSourceField(SourceFieldT&& value) {
100 m_sourceFieldHasBeenSet = true;
101 m_sourceField = std::forward<SourceFieldT>(value);
102 }
103 template <typename SourceFieldT = Aws::String>
105 SetSourceField(std::forward<SourceFieldT>(value));
106 return *this;
107 }
109
111
112 inline const ColumnIdentifier& GetSourceColumn() const { return m_sourceColumn; }
113 inline bool SourceColumnHasBeenSet() const { return m_sourceColumnHasBeenSet; }
114 template <typename SourceColumnT = ColumnIdentifier>
115 void SetSourceColumn(SourceColumnT&& value) {
116 m_sourceColumnHasBeenSet = true;
117 m_sourceColumn = std::forward<SourceColumnT>(value);
118 }
119 template <typename SourceColumnT = ColumnIdentifier>
121 SetSourceColumn(std::forward<SourceColumnT>(value));
122 return *this;
123 }
125 private:
126 CustomValuesConfiguration m_customValuesConfiguration;
127
129
130 Aws::String m_sourceParameterName;
131
132 Aws::String m_sourceField;
133
134 ColumnIdentifier m_sourceColumn;
135 bool m_customValuesConfigurationHasBeenSet = false;
136 bool m_selectAllValueOptionsHasBeenSet = false;
137 bool m_sourceParameterNameHasBeenSet = false;
138 bool m_sourceFieldHasBeenSet = false;
139 bool m_sourceColumnHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace QuickSight
144} // namespace Aws
AWS_QUICKSIGHT_API DestinationParameterValueConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API DestinationParameterValueConfiguration(Aws::Utils::Json::JsonView jsonValue)
DestinationParameterValueConfiguration & WithSourceParameterName(SourceParameterNameT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DestinationParameterValueConfiguration & WithCustomValuesConfiguration(CustomValuesConfigurationT &&value)
DestinationParameterValueConfiguration & WithSourceColumn(SourceColumnT &&value)
DestinationParameterValueConfiguration & WithSourceField(SourceFieldT &&value)
DestinationParameterValueConfiguration & WithSelectAllValueOptions(SelectAllValueOptions value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue