AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
ParameterDateTimePickerControl.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/DateTimePickerControlDisplayOptions.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 ParameterDateTimePickerControl() = 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>
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>
86 SetSourceParameterName(std::forward<SourceParameterNameT>(value));
87 return *this;
88 }
90
92
95 inline const DateTimePickerControlDisplayOptions& GetDisplayOptions() const { return m_displayOptions; }
96 inline bool DisplayOptionsHasBeenSet() const { return m_displayOptionsHasBeenSet; }
97 template <typename DisplayOptionsT = DateTimePickerControlDisplayOptions>
98 void SetDisplayOptions(DisplayOptionsT&& value) {
99 m_displayOptionsHasBeenSet = true;
100 m_displayOptions = std::forward<DisplayOptionsT>(value);
101 }
102 template <typename DisplayOptionsT = DateTimePickerControlDisplayOptions>
104 SetDisplayOptions(std::forward<DisplayOptionsT>(value));
105 return *this;
106 }
108
110
113 inline const ControlTitleFormatText& GetControlTitleFormatText() const { return m_controlTitleFormatText; }
114 inline bool ControlTitleFormatTextHasBeenSet() const { return m_controlTitleFormatTextHasBeenSet; }
115 template <typename ControlTitleFormatTextT = ControlTitleFormatText>
116 void SetControlTitleFormatText(ControlTitleFormatTextT&& value) {
117 m_controlTitleFormatTextHasBeenSet = true;
118 m_controlTitleFormatText = std::forward<ControlTitleFormatTextT>(value);
119 }
120 template <typename ControlTitleFormatTextT = ControlTitleFormatText>
122 SetControlTitleFormatText(std::forward<ControlTitleFormatTextT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_parameterControlId;
128
129 Aws::String m_title;
130
131 Aws::String m_sourceParameterName;
132
134
135 ControlTitleFormatText m_controlTitleFormatText;
136 bool m_parameterControlIdHasBeenSet = false;
137 bool m_titleHasBeenSet = false;
138 bool m_sourceParameterNameHasBeenSet = false;
139 bool m_displayOptionsHasBeenSet = false;
140 bool m_controlTitleFormatTextHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace QuickSight
145} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ParameterDateTimePickerControl & WithTitle(TitleT &&value)
AWS_QUICKSIGHT_API ParameterDateTimePickerControl & operator=(Aws::Utils::Json::JsonView jsonValue)
ParameterDateTimePickerControl & WithDisplayOptions(DisplayOptionsT &&value)
ParameterDateTimePickerControl & WithControlTitleFormatText(ControlTitleFormatTextT &&value)
const DateTimePickerControlDisplayOptions & GetDisplayOptions() const
AWS_QUICKSIGHT_API ParameterDateTimePickerControl(Aws::Utils::Json::JsonView jsonValue)
ParameterDateTimePickerControl & WithSourceParameterName(SourceParameterNameT &&value)
ParameterDateTimePickerControl & WithParameterControlId(ParameterControlIdT &&value)
AWS_QUICKSIGHT_API ParameterDateTimePickerControl()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue