/* * 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 DescribeAssetBundleExportJob operation. /// public partial class DescribeAssetBundleExportJobResponse : AmazonWebServiceResponse { private string _arn; private string _assetBundleExportJobId; private string _awsAccountId; private AssetBundleCloudFormationOverridePropertyConfiguration _cloudFormationOverridePropertyConfiguration; private DateTime? _createdTime; private string _downloadUrl; private List _errors = new List(); private AssetBundleExportFormat _exportFormat; private bool? _includeAllDependencies; private AssetBundleExportJobStatus _jobStatus; private string _requestId; private List _resourceArns = new List(); private int? _status; /// /// Gets and sets the property Arn. /// /// The Amazon Resource Name (ARN) for the export job. /// /// 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 AssetBundleExportJobId. /// /// The ID of the job. The job ID is set when you start a new job with a StartAssetBundleExportJob /// API call. /// /// [AWSProperty(Min=1, Max=512)] public string AssetBundleExportJobId { get { return this._assetBundleExportJobId; } set { this._assetBundleExportJobId = value; } } // Check to see if AssetBundleExportJobId property is set internal bool IsSetAssetBundleExportJobId() { return this._assetBundleExportJobId != null; } /// /// Gets and sets the property AwsAccountId. /// /// The ID of the Amazon Web Services account that the export job was executed in. /// /// [AWSProperty(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 CloudFormationOverridePropertyConfiguration. /// /// The CloudFormation override property configuration for the export job. /// /// public AssetBundleCloudFormationOverridePropertyConfiguration CloudFormationOverridePropertyConfiguration { get { return this._cloudFormationOverridePropertyConfiguration; } set { this._cloudFormationOverridePropertyConfiguration = value; } } // Check to see if CloudFormationOverridePropertyConfiguration property is set internal bool IsSetCloudFormationOverridePropertyConfiguration() { return this._cloudFormationOverridePropertyConfiguration != null; } /// /// Gets and sets the property CreatedTime. /// /// The time that the export job 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 DownloadUrl. /// /// The URL to download the exported asset bundle data from. /// /// /// /// This URL is available only after the job has succeeded. This URL is valid for 5 minutes /// after issuance. Call DescribeAssetBundleExportJob again for a fresh URL /// if needed. /// /// /// /// The downloaded asset bundle is a zip file named assetbundle-{jobId}.qs. /// The file has a .qs extension. /// /// /// /// This URL can't be used in a StartAssetBundleImportJob API call and should /// only be used for download purposes. /// /// public string DownloadUrl { get { return this._downloadUrl; } set { this._downloadUrl = value; } } // Check to see if DownloadUrl property is set internal bool IsSetDownloadUrl() { return this._downloadUrl != null; } /// /// Gets and sets the property Errors. /// /// An array of error records that describes any failures that occurred during the export /// job processing. /// /// /// /// Error records accumulate while the job runs. The complete set of error records is /// available after the job has completed and failed. /// /// 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 ExportFormat. /// /// The format of the exported asset bundle. A QUICKSIGHT_JSON formatted /// file can be used to make a StartAssetBundleImportJob API call. A CLOUDFORMATION_JSON /// formatted file can be used in the CloudFormation console and with the CloudFormation /// APIs. /// /// public AssetBundleExportFormat ExportFormat { get { return this._exportFormat; } set { this._exportFormat = value; } } // Check to see if ExportFormat property is set internal bool IsSetExportFormat() { return this._exportFormat != null; } /// /// Gets and sets the property IncludeAllDependencies. /// /// The include dependencies flag. /// /// public bool IncludeAllDependencies { get { return this._includeAllDependencies.GetValueOrDefault(); } set { this._includeAllDependencies = value; } } // Check to see if IncludeAllDependencies property is set internal bool IsSetIncludeAllDependencies() { return this._includeAllDependencies.HasValue; } /// /// Gets and sets the property JobStatus. /// /// Indicates the status of a job through its queuing and execution. /// /// /// /// Poll this DescribeAssetBundleExportApi until JobStatus is /// either SUCCESSFUL or FAILED. /// /// public AssetBundleExportJobStatus JobStatus { get { return this._jobStatus; } set { this._jobStatus = value; } } // Check to see if JobStatus property is set internal bool IsSetJobStatus() { return this._jobStatus != 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 ResourceArns. /// /// A list of resource ARNs that exported with the job. /// /// [AWSProperty(Min=1, Max=100)] public List ResourceArns { get { return this._resourceArns; } set { this._resourceArns = value; } } // Check to see if ResourceArns property is set internal bool IsSetResourceArns() { return this._resourceArns != null && this._resourceArns.Count > 0; } /// /// Gets and sets the property Status. /// /// The HTTP status of the response. /// /// 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; } } }