/*
* 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 DescribeAssetBundleImportJob operation.
///
public partial class DescribeAssetBundleImportJobResponse : AmazonWebServiceResponse
{
private string _arn;
private string _assetBundleImportJobId;
private AssetBundleImportSourceDescription _assetBundleImportSource;
private string _awsAccountId;
private DateTime? _createdTime;
private List _errors = new List();
private AssetBundleImportFailureAction _failureAction;
private AssetBundleImportJobStatus _jobStatus;
private AssetBundleImportJobOverrideParameters _overrideParameters;
private string _requestId;
private List _rollbackErrors = new List();
private int? _status;
///
/// Gets and sets the property Arn.
///
/// The Amazon Resource Name (ARN) for the import 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 AssetBundleImportJobId.
///
/// The ID of the job. The job ID is set when you start a new job with a StartAssetBundleImportJob
/// API call.
///
///
[AWSProperty(Min=1, Max=512)]
public string AssetBundleImportJobId
{
get { return this._assetBundleImportJobId; }
set { this._assetBundleImportJobId = value; }
}
// Check to see if AssetBundleImportJobId property is set
internal bool IsSetAssetBundleImportJobId()
{
return this._assetBundleImportJobId != null;
}
///
/// Gets and sets the property AssetBundleImportSource.
///
/// The source of the asset bundle zip file that contains the data that is imported by
/// the job.
///
///
public AssetBundleImportSourceDescription AssetBundleImportSource
{
get { return this._assetBundleImportSource; }
set { this._assetBundleImportSource = value; }
}
// Check to see if AssetBundleImportSource property is set
internal bool IsSetAssetBundleImportSource()
{
return this._assetBundleImportSource != null;
}
///
/// Gets and sets the property AwsAccountId.
///
/// The ID of the Amazon Web Services account the import 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 CreatedTime.
///
/// The time that the import 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 Errors.
///
/// An array of error records that describes any failures that occurred during the export
/// job processing.
///
///
///
/// Error records accumulate while the job is still running. 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 FailureAction.
///
/// The failure action for the import job.
///
///
public AssetBundleImportFailureAction FailureAction
{
get { return this._failureAction; }
set { this._failureAction = value; }
}
// Check to see if FailureAction property is set
internal bool IsSetFailureAction()
{
return this._failureAction != null;
}
///
/// Gets and sets the property JobStatus.
///
/// Indicates the status of a job through its queuing and execution.
///
///
///
/// Poll the DescribeAssetBundleImport
API until JobStatus
returns
/// one of the following values:
///
/// -
///
///
SUCCESSFUL
///
/// -
///
///
FAILED
///
/// -
///
///
FAILED_ROLLBACK_COMPLETED
///
/// -
///
///
FAILED_ROLLBACK_ERROR
///
///
///
public AssetBundleImportJobStatus 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 OverrideParameters.
///
/// Optional overrides to be applied to the resource configuration before import.
///
///
public AssetBundleImportJobOverrideParameters OverrideParameters
{
get { return this._overrideParameters; }
set { this._overrideParameters = value; }
}
// Check to see if OverrideParameters property is set
internal bool IsSetOverrideParameters()
{
return this._overrideParameters != 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 RollbackErrors.
///
/// An array of error records that describes any failures that occurred while an import
/// job was attempting a rollback.
///
///
///
/// Error records accumulate while the job is still running. The complete set of error
/// records is available after the job has completed and failed.
///
///
public List RollbackErrors
{
get { return this._rollbackErrors; }
set { this._rollbackErrors = value; }
}
// Check to see if RollbackErrors property is set
internal bool IsSetRollbackErrors()
{
return this._rollbackErrors != null && this._rollbackErrors.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;
}
}
}