/*
* 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 histogram.
///
///
///
/// For more information, see Using
/// histograms in the Amazon QuickSight User Guide.
///
///
public partial class HistogramVisual
{
private List _actions = new List();
private HistogramConfiguration _chartConfiguration;
private VisualSubtitleLabelOptions _subtitle;
private VisualTitleLabelOptions _title;
private string _visualId;
///
/// Gets and sets the property Actions.
///
/// The list of custom actions that are configured for a visual.
///
///
[AWSProperty(Max=10)]
public List Actions
{
get { return this._actions; }
set { this._actions = value; }
}
// Check to see if Actions property is set
internal bool IsSetActions()
{
return this._actions != null && this._actions.Count > 0;
}
///
/// Gets and sets the property ChartConfiguration.
///
/// The configuration for a HistogramVisual
.
///
///
public HistogramConfiguration ChartConfiguration
{
get { return this._chartConfiguration; }
set { this._chartConfiguration = value; }
}
// Check to see if ChartConfiguration property is set
internal bool IsSetChartConfiguration()
{
return this._chartConfiguration != null;
}
///
/// Gets and sets the property Subtitle.
///
/// The subtitle that is displayed on the visual.
///
///
public VisualSubtitleLabelOptions Subtitle
{
get { return this._subtitle; }
set { this._subtitle = value; }
}
// Check to see if Subtitle property is set
internal bool IsSetSubtitle()
{
return this._subtitle != null;
}
///
/// Gets and sets the property Title.
///
/// The title that is displayed on the visual.
///
///
public VisualTitleLabelOptions 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 VisualId.
///
/// The unique identifier of a visual. This identifier must be unique within the context
/// of a dashboard, template, or analysis. Two dashboards, analyses, or templates can
/// have visuals with the same identifiers.
///
///
[AWSProperty(Required=true, Min=1, Max=512)]
public string VisualId
{
get { return this._visualId; }
set { this._visualId = value; }
}
// Check to see if VisualId property is set
internal bool IsSetVisualId()
{
return this._visualId != null;
}
}
}