/* * 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 { /// /// Metadata structure for an analysis in Amazon QuickSight /// public partial class Analysis { private string _analysisId; private string _arn; private DateTime? _createdTime; private List _dataSetArns = new List(); private List _errors = new List(); private DateTime? _lastUpdatedTime; private string _name; private List _sheets = new List(); private ResourceStatus _status; private string _themeArn; /// /// Gets and sets the property AnalysisId. /// /// The ID of the analysis. /// /// [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 Arn. /// /// The Amazon Resource Name (ARN) of the analysis. /// /// public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } /// /// Gets and sets the property CreatedTime. /// /// The time that the analysis was created. /// /// public DateTime CreatedTime { get { return this._createdTime.GetValueOrDefault(); } set { this._createdTime = value; } } // Check to see if CreatedTime property is set internal bool IsSetCreatedTime() { return this._createdTime.HasValue; } /// /// Gets and sets the property DataSetArns. /// /// The ARNs of the datasets of the analysis. /// /// [AWSProperty(Max=100)] public List DataSetArns { get { return this._dataSetArns; } set { this._dataSetArns = value; } } // Check to see if DataSetArns property is set internal bool IsSetDataSetArns() { return this._dataSetArns != null && this._dataSetArns.Count > 0; } /// /// 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 LastUpdatedTime. /// /// The time that the analysis was last updated. /// /// public DateTime LastUpdatedTime { get { return this._lastUpdatedTime.GetValueOrDefault(); } set { this._lastUpdatedTime = value; } } // Check to see if LastUpdatedTime property is set internal bool IsSetLastUpdatedTime() { return this._lastUpdatedTime.HasValue; } /// /// 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 Sheets. /// /// A list of the associated sheets with the unique identifier and name of each sheet. /// /// [AWSProperty(Max=20)] public List Sheets { get { return this._sheets; } set { this._sheets = value; } } // Check to see if Sheets property is set internal bool IsSetSheets() { return this._sheets != null && this._sheets.Count > 0; } /// /// Gets and sets the property Status. /// /// Status associated with the analysis. /// /// public ResourceStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// 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; } } }