AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
TextFieldControlDisplayOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/LabelOptions.h>
9#include <aws/quicksight/model/SheetControlInfoIconLabelOptions.h>
10#include <aws/quicksight/model/TextControlPlaceholderOptions.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
30 public:
31 AWS_QUICKSIGHT_API TextFieldControlDisplayOptions() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const LabelOptions& GetTitleOptions() const { return m_titleOptions; }
41 inline bool TitleOptionsHasBeenSet() const { return m_titleOptionsHasBeenSet; }
42 template <typename TitleOptionsT = LabelOptions>
43 void SetTitleOptions(TitleOptionsT&& value) {
44 m_titleOptionsHasBeenSet = true;
45 m_titleOptions = std::forward<TitleOptionsT>(value);
46 }
47 template <typename TitleOptionsT = LabelOptions>
49 SetTitleOptions(std::forward<TitleOptionsT>(value));
50 return *this;
51 }
53
55
58 inline const TextControlPlaceholderOptions& GetPlaceholderOptions() const { return m_placeholderOptions; }
59 inline bool PlaceholderOptionsHasBeenSet() const { return m_placeholderOptionsHasBeenSet; }
60 template <typename PlaceholderOptionsT = TextControlPlaceholderOptions>
61 void SetPlaceholderOptions(PlaceholderOptionsT&& value) {
62 m_placeholderOptionsHasBeenSet = true;
63 m_placeholderOptions = std::forward<PlaceholderOptionsT>(value);
64 }
65 template <typename PlaceholderOptionsT = TextControlPlaceholderOptions>
67 SetPlaceholderOptions(std::forward<PlaceholderOptionsT>(value));
68 return *this;
69 }
71
73
76 inline const SheetControlInfoIconLabelOptions& GetInfoIconLabelOptions() const { return m_infoIconLabelOptions; }
77 inline bool InfoIconLabelOptionsHasBeenSet() const { return m_infoIconLabelOptionsHasBeenSet; }
78 template <typename InfoIconLabelOptionsT = SheetControlInfoIconLabelOptions>
79 void SetInfoIconLabelOptions(InfoIconLabelOptionsT&& value) {
80 m_infoIconLabelOptionsHasBeenSet = true;
81 m_infoIconLabelOptions = std::forward<InfoIconLabelOptionsT>(value);
82 }
83 template <typename InfoIconLabelOptionsT = SheetControlInfoIconLabelOptions>
85 SetInfoIconLabelOptions(std::forward<InfoIconLabelOptionsT>(value));
86 return *this;
87 }
89 private:
90 LabelOptions m_titleOptions;
91
92 TextControlPlaceholderOptions m_placeholderOptions;
93
94 SheetControlInfoIconLabelOptions m_infoIconLabelOptions;
95 bool m_titleOptionsHasBeenSet = false;
96 bool m_placeholderOptionsHasBeenSet = false;
97 bool m_infoIconLabelOptionsHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace QuickSight
102} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TextFieldControlDisplayOptions & WithTitleOptions(TitleOptionsT &&value)
AWS_QUICKSIGHT_API TextFieldControlDisplayOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API TextFieldControlDisplayOptions()=default
const TextControlPlaceholderOptions & GetPlaceholderOptions() const
AWS_QUICKSIGHT_API TextFieldControlDisplayOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const SheetControlInfoIconLabelOptions & GetInfoIconLabelOptions() const
TextFieldControlDisplayOptions & WithPlaceholderOptions(PlaceholderOptionsT &&value)
TextFieldControlDisplayOptions & WithInfoIconLabelOptions(InfoIconLabelOptionsT &&value)
Aws::Utils::Json::JsonValue JsonValue