/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { class DescribeAssetBundleExportJobResult { public: AWS_QUICKSIGHT_API DescribeAssetBundleExportJobResult(); AWS_QUICKSIGHT_API DescribeAssetBundleExportJobResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API DescribeAssetBundleExportJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Indicates the status of a job through its queuing and execution.

Poll * this DescribeAssetBundleExportApi until JobStatus is * either SUCCESSFUL or FAILED.

*/ inline const AssetBundleExportJobStatus& GetJobStatus() const{ return m_jobStatus; } /** *

Indicates the status of a job through its queuing and execution.

Poll * this DescribeAssetBundleExportApi until JobStatus is * either SUCCESSFUL or FAILED.

*/ inline void SetJobStatus(const AssetBundleExportJobStatus& value) { m_jobStatus = value; } /** *

Indicates the status of a job through its queuing and execution.

Poll * this DescribeAssetBundleExportApi until JobStatus is * either SUCCESSFUL or FAILED.

*/ inline void SetJobStatus(AssetBundleExportJobStatus&& value) { m_jobStatus = std::move(value); } /** *

Indicates the status of a job through its queuing and execution.

Poll * this DescribeAssetBundleExportApi until JobStatus is * either SUCCESSFUL or FAILED.

*/ inline DescribeAssetBundleExportJobResult& WithJobStatus(const AssetBundleExportJobStatus& value) { SetJobStatus(value); return *this;} /** *

Indicates the status of a job through its queuing and execution.

Poll * this DescribeAssetBundleExportApi until JobStatus is * either SUCCESSFUL or FAILED.

*/ inline DescribeAssetBundleExportJobResult& WithJobStatus(AssetBundleExportJobStatus&& value) { SetJobStatus(std::move(value)); return *this;} /** *

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.

*/ inline const Aws::String& GetDownloadUrl() const{ return m_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.

*/ inline void SetDownloadUrl(const Aws::String& value) { m_downloadUrl = value; } /** *

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.

*/ inline void SetDownloadUrl(Aws::String&& value) { m_downloadUrl = std::move(value); } /** *

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.

*/ inline void SetDownloadUrl(const char* value) { m_downloadUrl.assign(value); } /** *

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.

*/ inline DescribeAssetBundleExportJobResult& WithDownloadUrl(const Aws::String& value) { SetDownloadUrl(value); return *this;} /** *

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.

*/ inline DescribeAssetBundleExportJobResult& WithDownloadUrl(Aws::String&& value) { SetDownloadUrl(std::move(value)); return *this;} /** *

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.

*/ inline DescribeAssetBundleExportJobResult& WithDownloadUrl(const char* value) { SetDownloadUrl(value); return *this;} /** *

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.

*/ inline const Aws::Vector& GetErrors() const{ return m_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.

*/ inline void SetErrors(const Aws::Vector& value) { m_errors = value; } /** *

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.

*/ inline void SetErrors(Aws::Vector&& value) { m_errors = std::move(value); } /** *

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.

*/ inline DescribeAssetBundleExportJobResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} /** *

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.

*/ inline DescribeAssetBundleExportJobResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} /** *

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.

*/ inline DescribeAssetBundleExportJobResult& AddErrors(const AssetBundleExportJobError& value) { m_errors.push_back(value); return *this; } /** *

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.

*/ inline DescribeAssetBundleExportJobResult& AddErrors(AssetBundleExportJobError&& value) { m_errors.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Name (ARN) for the export job.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) for the export job.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The Amazon Resource Name (ARN) for the export job.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the export job.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) for the export job.

*/ inline DescribeAssetBundleExportJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the export job.

*/ inline DescribeAssetBundleExportJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the export job.

*/ inline DescribeAssetBundleExportJobResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The time that the export job was created.

*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *

The time that the export job was created.

*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; } /** *

The time that the export job was created.

*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); } /** *

The time that the export job was created.

*/ inline DescribeAssetBundleExportJobResult& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *

The time that the export job was created.

*/ inline DescribeAssetBundleExportJobResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

The ID of the job. The job ID is set when you start a new job with a * StartAssetBundleExportJob API call.

*/ inline const Aws::String& GetAssetBundleExportJobId() const{ return m_assetBundleExportJobId; } /** *

The ID of the job. The job ID is set when you start a new job with a * StartAssetBundleExportJob API call.

*/ inline void SetAssetBundleExportJobId(const Aws::String& value) { m_assetBundleExportJobId = value; } /** *

The ID of the job. The job ID is set when you start a new job with a * StartAssetBundleExportJob API call.

*/ inline void SetAssetBundleExportJobId(Aws::String&& value) { m_assetBundleExportJobId = std::move(value); } /** *

The ID of the job. The job ID is set when you start a new job with a * StartAssetBundleExportJob API call.

*/ inline void SetAssetBundleExportJobId(const char* value) { m_assetBundleExportJobId.assign(value); } /** *

The ID of the job. The job ID is set when you start a new job with a * StartAssetBundleExportJob API call.

*/ inline DescribeAssetBundleExportJobResult& WithAssetBundleExportJobId(const Aws::String& value) { SetAssetBundleExportJobId(value); return *this;} /** *

The ID of the job. The job ID is set when you start a new job with a * StartAssetBundleExportJob API call.

*/ inline DescribeAssetBundleExportJobResult& WithAssetBundleExportJobId(Aws::String&& value) { SetAssetBundleExportJobId(std::move(value)); return *this;} /** *

The ID of the job. The job ID is set when you start a new job with a * StartAssetBundleExportJob API call.

*/ inline DescribeAssetBundleExportJobResult& WithAssetBundleExportJobId(const char* value) { SetAssetBundleExportJobId(value); return *this;} /** *

The ID of the Amazon Web Services account that the export job was executed * in.

*/ inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } /** *

The ID of the Amazon Web Services account that the export job was executed * in.

*/ inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountId = value; } /** *

The ID of the Amazon Web Services account that the export job was executed * in.

*/ inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountId = std::move(value); } /** *

The ID of the Amazon Web Services account that the export job was executed * in.

*/ inline void SetAwsAccountId(const char* value) { m_awsAccountId.assign(value); } /** *

The ID of the Amazon Web Services account that the export job was executed * in.

*/ inline DescribeAssetBundleExportJobResult& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} /** *

The ID of the Amazon Web Services account that the export job was executed * in.

*/ inline DescribeAssetBundleExportJobResult& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} /** *

The ID of the Amazon Web Services account that the export job was executed * in.

*/ inline DescribeAssetBundleExportJobResult& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} /** *

A list of resource ARNs that exported with the job.

*/ inline const Aws::Vector& GetResourceArns() const{ return m_resourceArns; } /** *

A list of resource ARNs that exported with the job.

*/ inline void SetResourceArns(const Aws::Vector& value) { m_resourceArns = value; } /** *

A list of resource ARNs that exported with the job.

*/ inline void SetResourceArns(Aws::Vector&& value) { m_resourceArns = std::move(value); } /** *

A list of resource ARNs that exported with the job.

*/ inline DescribeAssetBundleExportJobResult& WithResourceArns(const Aws::Vector& value) { SetResourceArns(value); return *this;} /** *

A list of resource ARNs that exported with the job.

*/ inline DescribeAssetBundleExportJobResult& WithResourceArns(Aws::Vector&& value) { SetResourceArns(std::move(value)); return *this;} /** *

A list of resource ARNs that exported with the job.

*/ inline DescribeAssetBundleExportJobResult& AddResourceArns(const Aws::String& value) { m_resourceArns.push_back(value); return *this; } /** *

A list of resource ARNs that exported with the job.

*/ inline DescribeAssetBundleExportJobResult& AddResourceArns(Aws::String&& value) { m_resourceArns.push_back(std::move(value)); return *this; } /** *

A list of resource ARNs that exported with the job.

*/ inline DescribeAssetBundleExportJobResult& AddResourceArns(const char* value) { m_resourceArns.push_back(value); return *this; } /** *

The include dependencies flag.

*/ inline bool GetIncludeAllDependencies() const{ return m_includeAllDependencies; } /** *

The include dependencies flag.

*/ inline void SetIncludeAllDependencies(bool value) { m_includeAllDependencies = value; } /** *

The include dependencies flag.

*/ inline DescribeAssetBundleExportJobResult& WithIncludeAllDependencies(bool value) { SetIncludeAllDependencies(value); return *this;} /** *

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.

*/ inline const AssetBundleExportFormat& GetExportFormat() const{ return m_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.

*/ inline void SetExportFormat(const AssetBundleExportFormat& value) { m_exportFormat = value; } /** *

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.

*/ inline void SetExportFormat(AssetBundleExportFormat&& value) { m_exportFormat = std::move(value); } /** *

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.

*/ inline DescribeAssetBundleExportJobResult& WithExportFormat(const AssetBundleExportFormat& value) { SetExportFormat(value); return *this;} /** *

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.

*/ inline DescribeAssetBundleExportJobResult& WithExportFormat(AssetBundleExportFormat&& value) { SetExportFormat(std::move(value)); return *this;} /** *

The CloudFormation override property configuration for the export job.

*/ inline const AssetBundleCloudFormationOverridePropertyConfiguration& GetCloudFormationOverridePropertyConfiguration() const{ return m_cloudFormationOverridePropertyConfiguration; } /** *

The CloudFormation override property configuration for the export job.

*/ inline void SetCloudFormationOverridePropertyConfiguration(const AssetBundleCloudFormationOverridePropertyConfiguration& value) { m_cloudFormationOverridePropertyConfiguration = value; } /** *

The CloudFormation override property configuration for the export job.

*/ inline void SetCloudFormationOverridePropertyConfiguration(AssetBundleCloudFormationOverridePropertyConfiguration&& value) { m_cloudFormationOverridePropertyConfiguration = std::move(value); } /** *

The CloudFormation override property configuration for the export job.

*/ inline DescribeAssetBundleExportJobResult& WithCloudFormationOverridePropertyConfiguration(const AssetBundleCloudFormationOverridePropertyConfiguration& value) { SetCloudFormationOverridePropertyConfiguration(value); return *this;} /** *

The CloudFormation override property configuration for the export job.

*/ inline DescribeAssetBundleExportJobResult& WithCloudFormationOverridePropertyConfiguration(AssetBundleCloudFormationOverridePropertyConfiguration&& value) { SetCloudFormationOverridePropertyConfiguration(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeAssetBundleExportJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeAssetBundleExportJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeAssetBundleExportJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *

The HTTP status of the response.

*/ inline int GetStatus() const{ return m_status; } /** *

The HTTP status of the response.

*/ inline void SetStatus(int value) { m_status = value; } /** *

The HTTP status of the response.

*/ inline DescribeAssetBundleExportJobResult& WithStatus(int value) { SetStatus(value); return *this;} private: AssetBundleExportJobStatus m_jobStatus; Aws::String m_downloadUrl; Aws::Vector m_errors; Aws::String m_arn; Aws::Utils::DateTime m_createdTime; Aws::String m_assetBundleExportJobId; Aws::String m_awsAccountId; Aws::Vector m_resourceArns; bool m_includeAllDependencies; AssetBundleExportFormat m_exportFormat; AssetBundleCloudFormationOverridePropertyConfiguration m_cloudFormationOverridePropertyConfiguration; Aws::String m_requestId; int m_status; }; } // namespace Model } // namespace QuickSight } // namespace Aws