/* * 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 declaration definition of a parameter. /// /// /// /// For more information, see Parameters /// in Amazon QuickSight in the Amazon QuickSight User Guide. /// /// /// /// This is a union type structure. For this structure to be valid, only one of the attributes /// can be defined. /// /// public partial class ParameterDeclaration { private DateTimeParameterDeclaration _dateTimeParameterDeclaration; private DecimalParameterDeclaration _decimalParameterDeclaration; private IntegerParameterDeclaration _integerParameterDeclaration; private StringParameterDeclaration _stringParameterDeclaration; /// /// Gets and sets the property DateTimeParameterDeclaration. /// /// A parameter declaration for the DateTime data type. /// /// public DateTimeParameterDeclaration DateTimeParameterDeclaration { get { return this._dateTimeParameterDeclaration; } set { this._dateTimeParameterDeclaration = value; } } // Check to see if DateTimeParameterDeclaration property is set internal bool IsSetDateTimeParameterDeclaration() { return this._dateTimeParameterDeclaration != null; } /// /// Gets and sets the property DecimalParameterDeclaration. /// /// A parameter declaration for the Decimal data type. /// /// public DecimalParameterDeclaration DecimalParameterDeclaration { get { return this._decimalParameterDeclaration; } set { this._decimalParameterDeclaration = value; } } // Check to see if DecimalParameterDeclaration property is set internal bool IsSetDecimalParameterDeclaration() { return this._decimalParameterDeclaration != null; } /// /// Gets and sets the property IntegerParameterDeclaration. /// /// A parameter declaration for the Integer data type. /// /// public IntegerParameterDeclaration IntegerParameterDeclaration { get { return this._integerParameterDeclaration; } set { this._integerParameterDeclaration = value; } } // Check to see if IntegerParameterDeclaration property is set internal bool IsSetIntegerParameterDeclaration() { return this._integerParameterDeclaration != null; } /// /// Gets and sets the property StringParameterDeclaration. /// /// A parameter declaration for the String data type. /// /// public StringParameterDeclaration StringParameterDeclaration { get { return this._stringParameterDeclaration; } set { this._stringParameterDeclaration = value; } } // Check to see if StringParameterDeclaration property is set internal bool IsSetStringParameterDeclaration() { return this._stringParameterDeclaration != null; } } }