/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The display options of a control.

See Also:

AWS * API Reference

*/ class DateTimePickerControlDisplayOptions { public: AWS_QUICKSIGHT_API DateTimePickerControlDisplayOptions(); AWS_QUICKSIGHT_API DateTimePickerControlDisplayOptions(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API DateTimePickerControlDisplayOptions& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The options to configure the title visibility, name, and font size.

*/ inline const LabelOptions& GetTitleOptions() const{ return m_titleOptions; } /** *

The options to configure the title visibility, name, and font size.

*/ inline bool TitleOptionsHasBeenSet() const { return m_titleOptionsHasBeenSet; } /** *

The options to configure the title visibility, name, and font size.

*/ inline void SetTitleOptions(const LabelOptions& value) { m_titleOptionsHasBeenSet = true; m_titleOptions = value; } /** *

The options to configure the title visibility, name, and font size.

*/ inline void SetTitleOptions(LabelOptions&& value) { m_titleOptionsHasBeenSet = true; m_titleOptions = std::move(value); } /** *

The options to configure the title visibility, name, and font size.

*/ inline DateTimePickerControlDisplayOptions& WithTitleOptions(const LabelOptions& value) { SetTitleOptions(value); return *this;} /** *

The options to configure the title visibility, name, and font size.

*/ inline DateTimePickerControlDisplayOptions& WithTitleOptions(LabelOptions&& value) { SetTitleOptions(std::move(value)); return *this;} /** *

Customize how dates are formatted in controls.

*/ inline const Aws::String& GetDateTimeFormat() const{ return m_dateTimeFormat; } /** *

Customize how dates are formatted in controls.

*/ inline bool DateTimeFormatHasBeenSet() const { return m_dateTimeFormatHasBeenSet; } /** *

Customize how dates are formatted in controls.

*/ inline void SetDateTimeFormat(const Aws::String& value) { m_dateTimeFormatHasBeenSet = true; m_dateTimeFormat = value; } /** *

Customize how dates are formatted in controls.

*/ inline void SetDateTimeFormat(Aws::String&& value) { m_dateTimeFormatHasBeenSet = true; m_dateTimeFormat = std::move(value); } /** *

Customize how dates are formatted in controls.

*/ inline void SetDateTimeFormat(const char* value) { m_dateTimeFormatHasBeenSet = true; m_dateTimeFormat.assign(value); } /** *

Customize how dates are formatted in controls.

*/ inline DateTimePickerControlDisplayOptions& WithDateTimeFormat(const Aws::String& value) { SetDateTimeFormat(value); return *this;} /** *

Customize how dates are formatted in controls.

*/ inline DateTimePickerControlDisplayOptions& WithDateTimeFormat(Aws::String&& value) { SetDateTimeFormat(std::move(value)); return *this;} /** *

Customize how dates are formatted in controls.

*/ inline DateTimePickerControlDisplayOptions& WithDateTimeFormat(const char* value) { SetDateTimeFormat(value); return *this;} /** *

The configuration of info icon label options.

*/ inline const SheetControlInfoIconLabelOptions& GetInfoIconLabelOptions() const{ return m_infoIconLabelOptions; } /** *

The configuration of info icon label options.

*/ inline bool InfoIconLabelOptionsHasBeenSet() const { return m_infoIconLabelOptionsHasBeenSet; } /** *

The configuration of info icon label options.

*/ inline void SetInfoIconLabelOptions(const SheetControlInfoIconLabelOptions& value) { m_infoIconLabelOptionsHasBeenSet = true; m_infoIconLabelOptions = value; } /** *

The configuration of info icon label options.

*/ inline void SetInfoIconLabelOptions(SheetControlInfoIconLabelOptions&& value) { m_infoIconLabelOptionsHasBeenSet = true; m_infoIconLabelOptions = std::move(value); } /** *

The configuration of info icon label options.

*/ inline DateTimePickerControlDisplayOptions& WithInfoIconLabelOptions(const SheetControlInfoIconLabelOptions& value) { SetInfoIconLabelOptions(value); return *this;} /** *

The configuration of info icon label options.

*/ inline DateTimePickerControlDisplayOptions& WithInfoIconLabelOptions(SheetControlInfoIconLabelOptions&& value) { SetInfoIconLabelOptions(std::move(value)); return *this;} private: LabelOptions m_titleOptions; bool m_titleOptionsHasBeenSet = false; Aws::String m_dateTimeFormat; bool m_dateTimeFormatHasBeenSet = false; SheetControlInfoIconLabelOptions m_infoIconLabelOptions; bool m_infoIconLabelOptionsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws