AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
ParameterTextFieldControl.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/TextFieldControlDisplayOptions.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API ParameterTextFieldControl() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetParameterControlId() const { return m_parameterControlId; }
41 inline bool ParameterControlIdHasBeenSet() const { return m_parameterControlIdHasBeenSet; }
42 template <typename ParameterControlIdT = Aws::String>
43 void SetParameterControlId(ParameterControlIdT&& value) {
44 m_parameterControlIdHasBeenSet = true;
45 m_parameterControlId = std::forward<ParameterControlIdT>(value);
46 }
47 template <typename ParameterControlIdT = Aws::String>
48 ParameterTextFieldControl& WithParameterControlId(ParameterControlIdT&& value) {
49 SetParameterControlId(std::forward<ParameterControlIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetTitle() const { return m_title; }
59 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
60 template <typename TitleT = Aws::String>
61 void SetTitle(TitleT&& value) {
62 m_titleHasBeenSet = true;
63 m_title = std::forward<TitleT>(value);
64 }
65 template <typename TitleT = Aws::String>
67 SetTitle(std::forward<TitleT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetSourceParameterName() const { return m_sourceParameterName; }
77 inline bool SourceParameterNameHasBeenSet() const { return m_sourceParameterNameHasBeenSet; }
78 template <typename SourceParameterNameT = Aws::String>
79 void SetSourceParameterName(SourceParameterNameT&& value) {
80 m_sourceParameterNameHasBeenSet = true;
81 m_sourceParameterName = std::forward<SourceParameterNameT>(value);
82 }
83 template <typename SourceParameterNameT = Aws::String>
84 ParameterTextFieldControl& WithSourceParameterName(SourceParameterNameT&& value) {
85 SetSourceParameterName(std::forward<SourceParameterNameT>(value));
86 return *this;
87 }
89
91
94 inline const TextFieldControlDisplayOptions& GetDisplayOptions() const { return m_displayOptions; }
95 inline bool DisplayOptionsHasBeenSet() const { return m_displayOptionsHasBeenSet; }
96 template <typename DisplayOptionsT = TextFieldControlDisplayOptions>
97 void SetDisplayOptions(DisplayOptionsT&& value) {
98 m_displayOptionsHasBeenSet = true;
99 m_displayOptions = std::forward<DisplayOptionsT>(value);
100 }
101 template <typename DisplayOptionsT = TextFieldControlDisplayOptions>
103 SetDisplayOptions(std::forward<DisplayOptionsT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_parameterControlId;
109
110 Aws::String m_title;
111
112 Aws::String m_sourceParameterName;
113
114 TextFieldControlDisplayOptions m_displayOptions;
115 bool m_parameterControlIdHasBeenSet = false;
116 bool m_titleHasBeenSet = false;
117 bool m_sourceParameterNameHasBeenSet = false;
118 bool m_displayOptionsHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace QuickSight
123} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ParameterTextFieldControl()=default
ParameterTextFieldControl & WithDisplayOptions(DisplayOptionsT &&value)
ParameterTextFieldControl & WithSourceParameterName(SourceParameterNameT &&value)
AWS_QUICKSIGHT_API ParameterTextFieldControl(Aws::Utils::Json::JsonView jsonValue)
ParameterTextFieldControl & WithParameterControlId(ParameterControlIdT &&value)
ParameterTextFieldControl & WithTitle(TitleT &&value)
AWS_QUICKSIGHT_API ParameterTextFieldControl & operator=(Aws::Utils::Json::JsonView jsonValue)
const TextFieldControlDisplayOptions & GetDisplayOptions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue