/* * 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 { /// /// This is the response object from the DescribeAnalysisDefinition operation. /// public partial class DescribeAnalysisDefinitionResponse : AmazonWebServiceResponse { private string _analysisId; private AnalysisDefinition _definition; private List _errors = new List(); private string _name; private string _requestId; private ResourceStatus _resourceStatus; private int? _status; private string _themeArn; /// /// Gets and sets the property AnalysisId. /// /// The ID of the analysis described. /// /// [AWSProperty(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 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 Errors. /// /// Errors associated with the analysis. /// /// [AWSProperty(Min=1)] public List Errors { get { return this._errors; } set { this._errors = value; } } // Check to see if Errors property is set internal bool IsSetErrors() { return this._errors != null && this._errors.Count > 0; } /// /// Gets and sets the property Name. /// /// The descriptive name of the analysis. /// /// [AWSProperty(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 RequestId. /// /// The Amazon Web Services request ID for this operation. /// /// public string RequestId { get { return this._requestId; } set { this._requestId = value; } } // Check to see if RequestId property is set internal bool IsSetRequestId() { return this._requestId != null; } /// /// Gets and sets the property ResourceStatus. /// /// Status associated with the analysis. /// ///
  • /// /// CREATION_IN_PROGRESS /// ///
  • /// /// CREATION_SUCCESSFUL /// ///
  • /// /// CREATION_FAILED /// ///
  • /// /// UPDATE_IN_PROGRESS /// ///
  • /// /// UPDATE_SUCCESSFUL /// ///
  • /// /// UPDATE_FAILED /// ///
  • /// /// DELETED /// ///
///
public ResourceStatus ResourceStatus { get { return this._resourceStatus; } set { this._resourceStatus = value; } } // Check to see if ResourceStatus property is set internal bool IsSetResourceStatus() { return this._resourceStatus != null; } /// /// Gets and sets the property Status. /// /// The HTTP status of the request. /// /// public int Status { get { return this._status.GetValueOrDefault(); } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status.HasValue; } /// /// Gets and sets the property ThemeArn. /// /// The ARN of the theme of the analysis. /// /// 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; } } }