/*
* 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 configuration of destination parameter values.
///
///
///
/// This is a union type structure. For this structure to be valid, only one of the attributes
/// can be defined.
///
///
public partial class DestinationParameterValueConfiguration
{
private CustomValuesConfiguration _customValuesConfiguration;
private SelectAllValueOptions _selectAllValueOptions;
private ColumnIdentifier _sourceColumn;
private string _sourceField;
private string _sourceParameterName;
///
/// Gets and sets the property CustomValuesConfiguration.
///
/// The configuration of custom values for destination parameter in DestinationParameterValueConfiguration
.
///
///
public CustomValuesConfiguration CustomValuesConfiguration
{
get { return this._customValuesConfiguration; }
set { this._customValuesConfiguration = value; }
}
// Check to see if CustomValuesConfiguration property is set
internal bool IsSetCustomValuesConfiguration()
{
return this._customValuesConfiguration != null;
}
///
/// Gets and sets the property SelectAllValueOptions.
///
/// The configuration that selects all options.
///
///
public SelectAllValueOptions SelectAllValueOptions
{
get { return this._selectAllValueOptions; }
set { this._selectAllValueOptions = value; }
}
// Check to see if SelectAllValueOptions property is set
internal bool IsSetSelectAllValueOptions()
{
return this._selectAllValueOptions != null;
}
///
/// Gets and sets the property SourceColumn.
///
public ColumnIdentifier SourceColumn
{
get { return this._sourceColumn; }
set { this._sourceColumn = value; }
}
// Check to see if SourceColumn property is set
internal bool IsSetSourceColumn()
{
return this._sourceColumn != null;
}
///
/// Gets and sets the property SourceField.
///
/// The source field ID of the destination parameter.
///
///
[AWSProperty(Min=1, Max=512)]
public string SourceField
{
get { return this._sourceField; }
set { this._sourceField = value; }
}
// Check to see if SourceField property is set
internal bool IsSetSourceField()
{
return this._sourceField != null;
}
///
/// Gets and sets the property SourceParameterName.
///
/// The source parameter name of the destination parameter.
///
///
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;
}
}
}