/*
* 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
{
///
/// Container for the parameters to the UpdateAnalysis operation.
/// Updates an analysis in Amazon QuickSight
///
public partial class UpdateAnalysisRequest : AmazonQuickSightRequest
{
private string _analysisId;
private string _awsAccountId;
private AnalysisDefinition _definition;
private string _name;
private Parameters _parameters;
private AnalysisSourceEntity _sourceEntity;
private string _themeArn;
///
/// Gets and sets the property AnalysisId.
///
/// The ID for the analysis that you're updating. This ID displays in the URL of the analysis.
///
///
[AWSProperty(Required=true, Min=1, Max=512)]
public string AnalysisId
{
get { return this._analysisId; }
set { this._analysisId = value; }
}
// Check to see if AnalysisId property is set
internal bool IsSetAnalysisId()
{
return this._analysisId != null;
}
///
/// Gets and sets the property AwsAccountId.
///
/// The ID of the Amazon Web Services account that contains the analysis that you're updating.
///
///
[AWSProperty(Required=true, Min=12, Max=12)]
public string AwsAccountId
{
get { return this._awsAccountId; }
set { this._awsAccountId = value; }
}
// Check to see if AwsAccountId property is set
internal bool IsSetAwsAccountId()
{
return this._awsAccountId != null;
}
///
/// Gets and sets the property Definition.
///
/// The definition of an analysis.
///
///
///
/// A definition is the data model of all features in a Dashboard, Template, or Analysis.
///
///
public AnalysisDefinition Definition
{
get { return this._definition; }
set { this._definition = value; }
}
// Check to see if Definition property is set
internal bool IsSetDefinition()
{
return this._definition != null;
}
///
/// Gets and sets the property Name.
///
/// A descriptive name for the analysis that you're updating. This name displays for the
/// analysis in the Amazon QuickSight console.
///
///
[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 Parameters.
///
/// The parameter names and override values that you want to use. An analysis can have
/// any parameter type, and some parameters might accept multiple values.
///
///
public Parameters Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null;
}
///
/// Gets and sets the property SourceEntity.
///
/// A source entity to use for the analysis that you're updating. This metadata structure
/// contains details that describe a source template and one or more datasets.
///
///
public AnalysisSourceEntity SourceEntity
{
get { return this._sourceEntity; }
set { this._sourceEntity = value; }
}
// Check to see if SourceEntity property is set
internal bool IsSetSourceEntity()
{
return this._sourceEntity != null;
}
///
/// Gets and sets the property ThemeArn.
///
/// The Amazon Resource Name (ARN) for the theme to apply to the analysis that you're
/// creating. To see the theme in the Amazon QuickSight console, make sure that you have
/// access to it.
///
///
public string ThemeArn
{
get { return this._themeArn; }
set { this._themeArn = value; }
}
// Check to see if ThemeArn property is set
internal bool IsSetThemeArn()
{
return this._themeArn != null;
}
}
}