/* * 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 parameter declaration for the String data type. /// public partial class StringParameterDeclaration { private StringDefaultValues _defaultValues; private List _mappedDataSetParameters = new List(); private string _name; private ParameterValueType _parameterValueType; private StringValueWhenUnsetConfiguration _valueWhenUnset; /// /// Gets and sets the property DefaultValues. /// /// The default values of a parameter. If the parameter is a single-value parameter, a /// maximum of one default value can be provided. /// /// public StringDefaultValues DefaultValues { get { return this._defaultValues; } set { this._defaultValues = value; } } // Check to see if DefaultValues property is set internal bool IsSetDefaultValues() { return this._defaultValues != null; } /// /// Gets and sets the property MappedDataSetParameters. /// [AWSProperty(Min=0, Max=150)] public List MappedDataSetParameters { get { return this._mappedDataSetParameters; } set { this._mappedDataSetParameters = value; } } // Check to see if MappedDataSetParameters property is set internal bool IsSetMappedDataSetParameters() { return this._mappedDataSetParameters != null && this._mappedDataSetParameters.Count > 0; } /// /// Gets and sets the property Name. /// /// The name of the parameter that is being declared. /// /// [AWSProperty(Required=true, Min=1, Max=2048)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property ParameterValueType. /// /// The value type determines whether the parameter is a single-value or multi-value parameter. /// /// [AWSProperty(Required=true)] public ParameterValueType ParameterValueType { get { return this._parameterValueType; } set { this._parameterValueType = value; } } // Check to see if ParameterValueType property is set internal bool IsSetParameterValueType() { return this._parameterValueType != null; } /// /// Gets and sets the property ValueWhenUnset. /// /// The configuration that defines the default value of a String parameter /// when a value has not been set. /// /// public StringValueWhenUnsetConfiguration ValueWhenUnset { get { return this._valueWhenUnset; } set { this._valueWhenUnset = value; } } // Check to see if ValueWhenUnset property is set internal bool IsSetValueWhenUnset() { return this._valueWhenUnset != null; } } }