AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DateTimePickerControlDisplayOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/LabelOptions.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/SheetControlInfoIconLabelOptions.h>
11#include <aws/quicksight/model/Visibility.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
35 {
36 public:
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const LabelOptions& GetTitleOptions() const{ return m_titleOptions; }
48 inline bool TitleOptionsHasBeenSet() const { return m_titleOptionsHasBeenSet; }
49 inline void SetTitleOptions(const LabelOptions& value) { m_titleOptionsHasBeenSet = true; m_titleOptions = value; }
50 inline void SetTitleOptions(LabelOptions&& value) { m_titleOptionsHasBeenSet = true; m_titleOptions = std::move(value); }
52 inline DateTimePickerControlDisplayOptions& WithTitleOptions(LabelOptions&& value) { SetTitleOptions(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetDateTimeFormat() const{ return m_dateTimeFormat; }
60 inline bool DateTimeFormatHasBeenSet() const { return m_dateTimeFormatHasBeenSet; }
61 inline void SetDateTimeFormat(const Aws::String& value) { m_dateTimeFormatHasBeenSet = true; m_dateTimeFormat = value; }
62 inline void SetDateTimeFormat(Aws::String&& value) { m_dateTimeFormatHasBeenSet = true; m_dateTimeFormat = std::move(value); }
63 inline void SetDateTimeFormat(const char* value) { m_dateTimeFormatHasBeenSet = true; m_dateTimeFormat.assign(value); }
65 inline DateTimePickerControlDisplayOptions& WithDateTimeFormat(Aws::String&& value) { SetDateTimeFormat(std::move(value)); return *this;}
66 inline DateTimePickerControlDisplayOptions& WithDateTimeFormat(const char* value) { SetDateTimeFormat(value); return *this;}
68
70
73 inline const SheetControlInfoIconLabelOptions& GetInfoIconLabelOptions() const{ return m_infoIconLabelOptions; }
74 inline bool InfoIconLabelOptionsHasBeenSet() const { return m_infoIconLabelOptionsHasBeenSet; }
75 inline void SetInfoIconLabelOptions(const SheetControlInfoIconLabelOptions& value) { m_infoIconLabelOptionsHasBeenSet = true; m_infoIconLabelOptions = value; }
76 inline void SetInfoIconLabelOptions(SheetControlInfoIconLabelOptions&& value) { m_infoIconLabelOptionsHasBeenSet = true; m_infoIconLabelOptions = std::move(value); }
80
82
86 inline const Visibility& GetHelperTextVisibility() const{ return m_helperTextVisibility; }
87 inline bool HelperTextVisibilityHasBeenSet() const { return m_helperTextVisibilityHasBeenSet; }
88 inline void SetHelperTextVisibility(const Visibility& value) { m_helperTextVisibilityHasBeenSet = true; m_helperTextVisibility = value; }
89 inline void SetHelperTextVisibility(Visibility&& value) { m_helperTextVisibilityHasBeenSet = true; m_helperTextVisibility = std::move(value); }
93
95
99 inline const Visibility& GetDateIconVisibility() const{ return m_dateIconVisibility; }
100 inline bool DateIconVisibilityHasBeenSet() const { return m_dateIconVisibilityHasBeenSet; }
101 inline void SetDateIconVisibility(const Visibility& value) { m_dateIconVisibilityHasBeenSet = true; m_dateIconVisibility = value; }
102 inline void SetDateIconVisibility(Visibility&& value) { m_dateIconVisibilityHasBeenSet = true; m_dateIconVisibility = std::move(value); }
106 private:
107
108 LabelOptions m_titleOptions;
109 bool m_titleOptionsHasBeenSet = false;
110
111 Aws::String m_dateTimeFormat;
112 bool m_dateTimeFormatHasBeenSet = false;
113
114 SheetControlInfoIconLabelOptions m_infoIconLabelOptions;
115 bool m_infoIconLabelOptionsHasBeenSet = false;
116
117 Visibility m_helperTextVisibility;
118 bool m_helperTextVisibilityHasBeenSet = false;
119
120 Visibility m_dateIconVisibility;
121 bool m_dateIconVisibilityHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace QuickSight
126} // namespace Aws
DateTimePickerControlDisplayOptions & WithInfoIconLabelOptions(SheetControlInfoIconLabelOptions &&value)
DateTimePickerControlDisplayOptions & WithTitleOptions(const LabelOptions &value)
DateTimePickerControlDisplayOptions & WithDateTimeFormat(const Aws::String &value)
DateTimePickerControlDisplayOptions & WithInfoIconLabelOptions(const SheetControlInfoIconLabelOptions &value)
void SetInfoIconLabelOptions(const SheetControlInfoIconLabelOptions &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DateTimePickerControlDisplayOptions & WithHelperTextVisibility(Visibility &&value)
DateTimePickerControlDisplayOptions & WithDateIconVisibility(Visibility &&value)
AWS_QUICKSIGHT_API DateTimePickerControlDisplayOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API DateTimePickerControlDisplayOptions(Aws::Utils::Json::JsonView jsonValue)
const SheetControlInfoIconLabelOptions & GetInfoIconLabelOptions() const
DateTimePickerControlDisplayOptions & WithHelperTextVisibility(const Visibility &value)
DateTimePickerControlDisplayOptions & WithTitleOptions(LabelOptions &&value)
DateTimePickerControlDisplayOptions & WithDateTimeFormat(const char *value)
DateTimePickerControlDisplayOptions & WithDateTimeFormat(Aws::String &&value)
DateTimePickerControlDisplayOptions & WithDateIconVisibility(const Visibility &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue