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

A control from a date parameter that specifies date and time.

See * Also:

AWS * API Reference

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

The ID of the ParameterDateTimePickerControl.

*/ inline const Aws::String& GetParameterControlId() const{ return m_parameterControlId; } /** *

The ID of the ParameterDateTimePickerControl.

*/ inline bool ParameterControlIdHasBeenSet() const { return m_parameterControlIdHasBeenSet; } /** *

The ID of the ParameterDateTimePickerControl.

*/ inline void SetParameterControlId(const Aws::String& value) { m_parameterControlIdHasBeenSet = true; m_parameterControlId = value; } /** *

The ID of the ParameterDateTimePickerControl.

*/ inline void SetParameterControlId(Aws::String&& value) { m_parameterControlIdHasBeenSet = true; m_parameterControlId = std::move(value); } /** *

The ID of the ParameterDateTimePickerControl.

*/ inline void SetParameterControlId(const char* value) { m_parameterControlIdHasBeenSet = true; m_parameterControlId.assign(value); } /** *

The ID of the ParameterDateTimePickerControl.

*/ inline ParameterDateTimePickerControl& WithParameterControlId(const Aws::String& value) { SetParameterControlId(value); return *this;} /** *

The ID of the ParameterDateTimePickerControl.

*/ inline ParameterDateTimePickerControl& WithParameterControlId(Aws::String&& value) { SetParameterControlId(std::move(value)); return *this;} /** *

The ID of the ParameterDateTimePickerControl.

*/ inline ParameterDateTimePickerControl& WithParameterControlId(const char* value) { SetParameterControlId(value); return *this;} /** *

The title of the ParameterDateTimePickerControl.

*/ inline const Aws::String& GetTitle() const{ return m_title; } /** *

The title of the ParameterDateTimePickerControl.

*/ inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } /** *

The title of the ParameterDateTimePickerControl.

*/ inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } /** *

The title of the ParameterDateTimePickerControl.

*/ inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } /** *

The title of the ParameterDateTimePickerControl.

*/ inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } /** *

The title of the ParameterDateTimePickerControl.

*/ inline ParameterDateTimePickerControl& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} /** *

The title of the ParameterDateTimePickerControl.

*/ inline ParameterDateTimePickerControl& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} /** *

The title of the ParameterDateTimePickerControl.

*/ inline ParameterDateTimePickerControl& WithTitle(const char* value) { SetTitle(value); return *this;} /** *

The name of the ParameterDateTimePickerControl.

*/ inline const Aws::String& GetSourceParameterName() const{ return m_sourceParameterName; } /** *

The name of the ParameterDateTimePickerControl.

*/ inline bool SourceParameterNameHasBeenSet() const { return m_sourceParameterNameHasBeenSet; } /** *

The name of the ParameterDateTimePickerControl.

*/ inline void SetSourceParameterName(const Aws::String& value) { m_sourceParameterNameHasBeenSet = true; m_sourceParameterName = value; } /** *

The name of the ParameterDateTimePickerControl.

*/ inline void SetSourceParameterName(Aws::String&& value) { m_sourceParameterNameHasBeenSet = true; m_sourceParameterName = std::move(value); } /** *

The name of the ParameterDateTimePickerControl.

*/ inline void SetSourceParameterName(const char* value) { m_sourceParameterNameHasBeenSet = true; m_sourceParameterName.assign(value); } /** *

The name of the ParameterDateTimePickerControl.

*/ inline ParameterDateTimePickerControl& WithSourceParameterName(const Aws::String& value) { SetSourceParameterName(value); return *this;} /** *

The name of the ParameterDateTimePickerControl.

*/ inline ParameterDateTimePickerControl& WithSourceParameterName(Aws::String&& value) { SetSourceParameterName(std::move(value)); return *this;} /** *

The name of the ParameterDateTimePickerControl.

*/ inline ParameterDateTimePickerControl& WithSourceParameterName(const char* value) { SetSourceParameterName(value); return *this;} /** *

The display options of a control.

*/ inline const DateTimePickerControlDisplayOptions& GetDisplayOptions() const{ return m_displayOptions; } /** *

The display options of a control.

*/ inline bool DisplayOptionsHasBeenSet() const { return m_displayOptionsHasBeenSet; } /** *

The display options of a control.

*/ inline void SetDisplayOptions(const DateTimePickerControlDisplayOptions& value) { m_displayOptionsHasBeenSet = true; m_displayOptions = value; } /** *

The display options of a control.

*/ inline void SetDisplayOptions(DateTimePickerControlDisplayOptions&& value) { m_displayOptionsHasBeenSet = true; m_displayOptions = std::move(value); } /** *

The display options of a control.

*/ inline ParameterDateTimePickerControl& WithDisplayOptions(const DateTimePickerControlDisplayOptions& value) { SetDisplayOptions(value); return *this;} /** *

The display options of a control.

*/ inline ParameterDateTimePickerControl& WithDisplayOptions(DateTimePickerControlDisplayOptions&& value) { SetDisplayOptions(std::move(value)); return *this;} private: Aws::String m_parameterControlId; bool m_parameterControlIdHasBeenSet = false; Aws::String m_title; bool m_titleHasBeenSet = false; Aws::String m_sourceParameterName; bool m_sourceParameterNameHasBeenSet = false; DateTimePickerControlDisplayOptions m_displayOptions; bool m_displayOptionsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws