/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the quicksight-2018-04-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.QuickSight.Model
{
///
/// The control of a parameter that users can interact with in a dashboard or an analysis.
///
///
///
/// This is a union type structure. For this structure to be valid, only one of the attributes
/// can be defined.
///
///
public partial class ParameterControl
{
private ParameterDateTimePickerControl _dateTimePicker;
private ParameterDropDownControl _dropdown;
private ParameterListControl _list;
private ParameterSliderControl _slider;
private ParameterTextAreaControl _textArea;
private ParameterTextFieldControl _textField;
///
/// Gets and sets the property DateTimePicker.
///
/// A control from a date parameter that specifies date and time.
///
///
public ParameterDateTimePickerControl DateTimePicker
{
get { return this._dateTimePicker; }
set { this._dateTimePicker = value; }
}
// Check to see if DateTimePicker property is set
internal bool IsSetDateTimePicker()
{
return this._dateTimePicker != null;
}
///
/// Gets and sets the property Dropdown.
///
/// A control to display a dropdown list with buttons that are used to select a single
/// value.
///
///
public ParameterDropDownControl Dropdown
{
get { return this._dropdown; }
set { this._dropdown = value; }
}
// Check to see if Dropdown property is set
internal bool IsSetDropdown()
{
return this._dropdown != null;
}
///
/// Gets and sets the property List.
///
/// A control to display a list with buttons or boxes that are used to select either a
/// single value or multiple values.
///
///
public ParameterListControl List
{
get { return this._list; }
set { this._list = value; }
}
// Check to see if List property is set
internal bool IsSetList()
{
return this._list != null;
}
///
/// Gets and sets the property Slider.
///
/// A control to display a horizontal toggle bar. This is used to change a value by sliding
/// the toggle.
///
///
public ParameterSliderControl Slider
{
get { return this._slider; }
set { this._slider = value; }
}
// Check to see if Slider property is set
internal bool IsSetSlider()
{
return this._slider != null;
}
///
/// Gets and sets the property TextArea.
///
/// A control to display a text box that is used to enter multiple entries.
///
///
public ParameterTextAreaControl TextArea
{
get { return this._textArea; }
set { this._textArea = value; }
}
// Check to see if TextArea property is set
internal bool IsSetTextArea()
{
return this._textArea != null;
}
///
/// Gets and sets the property TextField.
///
/// A control to display a text box that is used to enter a single entry.
///
///
public ParameterTextFieldControl TextField
{
get { return this._textField; }
set { this._textField = value; }
}
// Check to see if TextField property is set
internal bool IsSetTextField()
{
return this._textField != null;
}
}
}