/* * 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 horizontal toggle bar. This is used to change a value by sliding /// the toggle. /// public partial class ParameterSliderControl { private SliderControlDisplayOptions _displayOptions; private double? _maximumValue; private double? _minimumValue; private string _parameterControlId; private string _sourceParameterName; private double? _stepSize; private string _title; /// /// Gets and sets the property DisplayOptions. /// /// The display options of a control. /// /// public SliderControlDisplayOptions 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 MaximumValue. /// /// The smaller value that is displayed at the left of the slider. /// /// [AWSProperty(Required=true)] public double MaximumValue { get { return this._maximumValue.GetValueOrDefault(); } set { this._maximumValue = value; } } // Check to see if MaximumValue property is set internal bool IsSetMaximumValue() { return this._maximumValue.HasValue; } /// /// Gets and sets the property MinimumValue. /// /// The larger value that is displayed at the right of the slider. /// /// [AWSProperty(Required=true)] public double MinimumValue { get { return this._minimumValue.GetValueOrDefault(); } set { this._minimumValue = value; } } // Check to see if MinimumValue property is set internal bool IsSetMinimumValue() { return this._minimumValue.HasValue; } /// /// Gets and sets the property ParameterControlId. /// /// The ID of the ParameterSliderControl. /// /// [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 SourceParameterName. /// /// The source parameter name of the ParameterSliderControl. /// /// [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 StepSize. /// /// The number of increments that the slider bar is divided into. /// /// [AWSProperty(Required=true)] public double StepSize { get { return this._stepSize.GetValueOrDefault(); } set { this._stepSize = value; } } // Check to see if StepSize property is set internal bool IsSetStepSize() { return this._stepSize.HasValue; } /// /// Gets and sets the property Title. /// /// The title of the ParameterSliderControl. /// /// [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; } } }