AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
ParameterTextAreaControl.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/ControlTitleFormatText.h>
10#include <aws/quicksight/model/TextAreaControlDisplayOptions.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
31 public:
32 AWS_QUICKSIGHT_API ParameterTextAreaControl() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetParameterControlId() const { return m_parameterControlId; }
42 inline bool ParameterControlIdHasBeenSet() const { return m_parameterControlIdHasBeenSet; }
43 template <typename ParameterControlIdT = Aws::String>
44 void SetParameterControlId(ParameterControlIdT&& value) {
45 m_parameterControlIdHasBeenSet = true;
46 m_parameterControlId = std::forward<ParameterControlIdT>(value);
47 }
48 template <typename ParameterControlIdT = Aws::String>
49 ParameterTextAreaControl& WithParameterControlId(ParameterControlIdT&& value) {
50 SetParameterControlId(std::forward<ParameterControlIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetTitle() const { return m_title; }
60 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
61 template <typename TitleT = Aws::String>
62 void SetTitle(TitleT&& value) {
63 m_titleHasBeenSet = true;
64 m_title = std::forward<TitleT>(value);
65 }
66 template <typename TitleT = Aws::String>
68 SetTitle(std::forward<TitleT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetSourceParameterName() const { return m_sourceParameterName; }
78 inline bool SourceParameterNameHasBeenSet() const { return m_sourceParameterNameHasBeenSet; }
79 template <typename SourceParameterNameT = Aws::String>
80 void SetSourceParameterName(SourceParameterNameT&& value) {
81 m_sourceParameterNameHasBeenSet = true;
82 m_sourceParameterName = std::forward<SourceParameterNameT>(value);
83 }
84 template <typename SourceParameterNameT = Aws::String>
85 ParameterTextAreaControl& WithSourceParameterName(SourceParameterNameT&& value) {
86 SetSourceParameterName(std::forward<SourceParameterNameT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetDelimiter() const { return m_delimiter; }
96 inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; }
97 template <typename DelimiterT = Aws::String>
98 void SetDelimiter(DelimiterT&& value) {
99 m_delimiterHasBeenSet = true;
100 m_delimiter = std::forward<DelimiterT>(value);
101 }
102 template <typename DelimiterT = Aws::String>
104 SetDelimiter(std::forward<DelimiterT>(value));
105 return *this;
106 }
108
110
113 inline const TextAreaControlDisplayOptions& GetDisplayOptions() const { return m_displayOptions; }
114 inline bool DisplayOptionsHasBeenSet() const { return m_displayOptionsHasBeenSet; }
115 template <typename DisplayOptionsT = TextAreaControlDisplayOptions>
116 void SetDisplayOptions(DisplayOptionsT&& value) {
117 m_displayOptionsHasBeenSet = true;
118 m_displayOptions = std::forward<DisplayOptionsT>(value);
119 }
120 template <typename DisplayOptionsT = TextAreaControlDisplayOptions>
122 SetDisplayOptions(std::forward<DisplayOptionsT>(value));
123 return *this;
124 }
126
128
131 inline const ControlTitleFormatText& GetControlTitleFormatText() const { return m_controlTitleFormatText; }
132 inline bool ControlTitleFormatTextHasBeenSet() const { return m_controlTitleFormatTextHasBeenSet; }
133 template <typename ControlTitleFormatTextT = ControlTitleFormatText>
134 void SetControlTitleFormatText(ControlTitleFormatTextT&& value) {
135 m_controlTitleFormatTextHasBeenSet = true;
136 m_controlTitleFormatText = std::forward<ControlTitleFormatTextT>(value);
137 }
138 template <typename ControlTitleFormatTextT = ControlTitleFormatText>
139 ParameterTextAreaControl& WithControlTitleFormatText(ControlTitleFormatTextT&& value) {
140 SetControlTitleFormatText(std::forward<ControlTitleFormatTextT>(value));
141 return *this;
142 }
144 private:
145 Aws::String m_parameterControlId;
146
147 Aws::String m_title;
148
149 Aws::String m_sourceParameterName;
150
151 Aws::String m_delimiter;
152
153 TextAreaControlDisplayOptions m_displayOptions;
154
155 ControlTitleFormatText m_controlTitleFormatText;
156 bool m_parameterControlIdHasBeenSet = false;
157 bool m_titleHasBeenSet = false;
158 bool m_sourceParameterNameHasBeenSet = false;
159 bool m_delimiterHasBeenSet = false;
160 bool m_displayOptionsHasBeenSet = false;
161 bool m_controlTitleFormatTextHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace QuickSight
166} // namespace Aws
ParameterTextAreaControl & WithParameterControlId(ParameterControlIdT &&value)
ParameterTextAreaControl & WithTitle(TitleT &&value)
ParameterTextAreaControl & WithSourceParameterName(SourceParameterNameT &&value)
AWS_QUICKSIGHT_API ParameterTextAreaControl(Aws::Utils::Json::JsonView jsonValue)
void SetControlTitleFormatText(ControlTitleFormatTextT &&value)
AWS_QUICKSIGHT_API ParameterTextAreaControl()=default
ParameterTextAreaControl & WithControlTitleFormatText(ControlTitleFormatTextT &&value)
void SetSourceParameterName(SourceParameterNameT &&value)
AWS_QUICKSIGHT_API ParameterTextAreaControl & operator=(Aws::Utils::Json::JsonView jsonValue)
ParameterTextAreaControl & WithDelimiter(DelimiterT &&value)
const TextAreaControlDisplayOptions & GetDisplayOptions() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ParameterTextAreaControl & WithDisplayOptions(DisplayOptionsT &&value)
const ControlTitleFormatText & GetControlTitleFormatText() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue