/*
* 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
{
///
/// A control to display a dropdown list with buttons that are used to select a single
/// value.
///
public partial class ParameterDropDownControl
{
private CascadingControlConfiguration _cascadingControlConfiguration;
private DropDownControlDisplayOptions _displayOptions;
private string _parameterControlId;
private ParameterSelectableValues _selectableValues;
private string _sourceParameterName;
private string _title;
private SheetControlListType _type;
///
/// Gets and sets the property CascadingControlConfiguration.
///
/// The values that are displayed in a control can be configured to only show values that
/// are valid based on what's selected in other controls.
///
///
public CascadingControlConfiguration CascadingControlConfiguration
{
get { return this._cascadingControlConfiguration; }
set { this._cascadingControlConfiguration = value; }
}
// Check to see if CascadingControlConfiguration property is set
internal bool IsSetCascadingControlConfiguration()
{
return this._cascadingControlConfiguration != null;
}
///
/// Gets and sets the property DisplayOptions.
///
/// The display options of a control.
///
///
public DropDownControlDisplayOptions DisplayOptions
{
get { return this._displayOptions; }
set { this._displayOptions = value; }
}
// Check to see if DisplayOptions property is set
internal bool IsSetDisplayOptions()
{
return this._displayOptions != null;
}
///
/// Gets and sets the property ParameterControlId.
///
/// The ID of the ParameterDropDownControl
.
///
///
[AWSProperty(Required=true, Min=1, Max=512)]
public string ParameterControlId
{
get { return this._parameterControlId; }
set { this._parameterControlId = value; }
}
// Check to see if ParameterControlId property is set
internal bool IsSetParameterControlId()
{
return this._parameterControlId != null;
}
///
/// Gets and sets the property SelectableValues.
///
/// A list of selectable values that are used in a control.
///
///
public ParameterSelectableValues SelectableValues
{
get { return this._selectableValues; }
set { this._selectableValues = value; }
}
// Check to see if SelectableValues property is set
internal bool IsSetSelectableValues()
{
return this._selectableValues != null;
}
///
/// Gets and sets the property SourceParameterName.
///
/// The source parameter name of the ParameterDropDownControl
.
///
///
[AWSProperty(Required=true, Min=1, Max=2048)]
public string SourceParameterName
{
get { return this._sourceParameterName; }
set { this._sourceParameterName = value; }
}
// Check to see if SourceParameterName property is set
internal bool IsSetSourceParameterName()
{
return this._sourceParameterName != null;
}
///
/// Gets and sets the property Title.
///
/// The title of the ParameterDropDownControl
.
///
///
[AWSProperty(Required=true, Min=1, Max=2048)]
public string Title
{
get { return this._title; }
set { this._title = value; }
}
// Check to see if Title property is set
internal bool IsSetTitle()
{
return this._title != null;
}
///
/// Gets and sets the property Type.
///
/// The type parameter name of the ParameterDropDownControl
.
///
///
public SheetControlListType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}