AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DestinationParameterValueConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/CustomValuesConfiguration.h>
9#include <aws/quicksight/model/SelectAllValueOptions.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/quicksight/model/ColumnIdentifier.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_QUICKSIGHT_API DestinationParameterValueConfiguration() = default;
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const CustomValuesConfiguration& GetCustomValuesConfiguration() const { return m_customValuesConfiguration; }
51 inline bool CustomValuesConfigurationHasBeenSet() const { return m_customValuesConfigurationHasBeenSet; }
52 template<typename CustomValuesConfigurationT = CustomValuesConfiguration>
53 void SetCustomValuesConfiguration(CustomValuesConfigurationT&& value) { m_customValuesConfigurationHasBeenSet = true; m_customValuesConfiguration = std::forward<CustomValuesConfigurationT>(value); }
54 template<typename CustomValuesConfigurationT = CustomValuesConfiguration>
55 DestinationParameterValueConfiguration& WithCustomValuesConfiguration(CustomValuesConfigurationT&& value) { SetCustomValuesConfiguration(std::forward<CustomValuesConfigurationT>(value)); return *this;}
57
59
62 inline SelectAllValueOptions GetSelectAllValueOptions() const { return m_selectAllValueOptions; }
63 inline bool SelectAllValueOptionsHasBeenSet() const { return m_selectAllValueOptionsHasBeenSet; }
64 inline void SetSelectAllValueOptions(SelectAllValueOptions value) { m_selectAllValueOptionsHasBeenSet = true; m_selectAllValueOptions = value; }
67
69
72 inline const Aws::String& GetSourceParameterName() const { return m_sourceParameterName; }
73 inline bool SourceParameterNameHasBeenSet() const { return m_sourceParameterNameHasBeenSet; }
74 template<typename SourceParameterNameT = Aws::String>
75 void SetSourceParameterName(SourceParameterNameT&& value) { m_sourceParameterNameHasBeenSet = true; m_sourceParameterName = std::forward<SourceParameterNameT>(value); }
76 template<typename SourceParameterNameT = Aws::String>
77 DestinationParameterValueConfiguration& WithSourceParameterName(SourceParameterNameT&& value) { SetSourceParameterName(std::forward<SourceParameterNameT>(value)); return *this;}
79
81
84 inline const Aws::String& GetSourceField() const { return m_sourceField; }
85 inline bool SourceFieldHasBeenSet() const { return m_sourceFieldHasBeenSet; }
86 template<typename SourceFieldT = Aws::String>
87 void SetSourceField(SourceFieldT&& value) { m_sourceFieldHasBeenSet = true; m_sourceField = std::forward<SourceFieldT>(value); }
88 template<typename SourceFieldT = Aws::String>
89 DestinationParameterValueConfiguration& WithSourceField(SourceFieldT&& value) { SetSourceField(std::forward<SourceFieldT>(value)); return *this;}
91
93
94 inline const ColumnIdentifier& GetSourceColumn() const { return m_sourceColumn; }
95 inline bool SourceColumnHasBeenSet() const { return m_sourceColumnHasBeenSet; }
96 template<typename SourceColumnT = ColumnIdentifier>
97 void SetSourceColumn(SourceColumnT&& value) { m_sourceColumnHasBeenSet = true; m_sourceColumn = std::forward<SourceColumnT>(value); }
98 template<typename SourceColumnT = ColumnIdentifier>
99 DestinationParameterValueConfiguration& WithSourceColumn(SourceColumnT&& value) { SetSourceColumn(std::forward<SourceColumnT>(value)); return *this;}
101 private:
102
103 CustomValuesConfiguration m_customValuesConfiguration;
104 bool m_customValuesConfigurationHasBeenSet = false;
105
107 bool m_selectAllValueOptionsHasBeenSet = false;
108
109 Aws::String m_sourceParameterName;
110 bool m_sourceParameterNameHasBeenSet = false;
111
112 Aws::String m_sourceField;
113 bool m_sourceFieldHasBeenSet = false;
114
115 ColumnIdentifier m_sourceColumn;
116 bool m_sourceColumnHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace QuickSight
121} // 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