/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

A description of the import source that you provide at the start of an import * job. This value is set to either Body or S3Uri, * depending on how the StartAssetBundleImportJobRequest is * configured.

See Also:

AWS * API Reference

*/ class AssetBundleImportSourceDescription { public: AWS_QUICKSIGHT_API AssetBundleImportSourceDescription(); AWS_QUICKSIGHT_API AssetBundleImportSourceDescription(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API AssetBundleImportSourceDescription& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

An HTTPS download URL for the provided asset bundle that you optionally * provided at the start of the import job. This URL is valid for five minutes * after issuance. Call DescribeAssetBundleExportJob again for a fresh * URL if needed. The downloaded asset bundle is a .qs zip file.

*/ inline const Aws::String& GetBody() const{ return m_body; } /** *

An HTTPS download URL for the provided asset bundle that you optionally * provided at the start of the import job. This URL is valid for five minutes * after issuance. Call DescribeAssetBundleExportJob again for a fresh * URL if needed. The downloaded asset bundle is a .qs zip file.

*/ inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; } /** *

An HTTPS download URL for the provided asset bundle that you optionally * provided at the start of the import job. This URL is valid for five minutes * after issuance. Call DescribeAssetBundleExportJob again for a fresh * URL if needed. The downloaded asset bundle is a .qs zip file.

*/ inline void SetBody(const Aws::String& value) { m_bodyHasBeenSet = true; m_body = value; } /** *

An HTTPS download URL for the provided asset bundle that you optionally * provided at the start of the import job. This URL is valid for five minutes * after issuance. Call DescribeAssetBundleExportJob again for a fresh * URL if needed. The downloaded asset bundle is a .qs zip file.

*/ inline void SetBody(Aws::String&& value) { m_bodyHasBeenSet = true; m_body = std::move(value); } /** *

An HTTPS download URL for the provided asset bundle that you optionally * provided at the start of the import job. This URL is valid for five minutes * after issuance. Call DescribeAssetBundleExportJob again for a fresh * URL if needed. The downloaded asset bundle is a .qs zip file.

*/ inline void SetBody(const char* value) { m_bodyHasBeenSet = true; m_body.assign(value); } /** *

An HTTPS download URL for the provided asset bundle that you optionally * provided at the start of the import job. This URL is valid for five minutes * after issuance. Call DescribeAssetBundleExportJob again for a fresh * URL if needed. The downloaded asset bundle is a .qs zip file.

*/ inline AssetBundleImportSourceDescription& WithBody(const Aws::String& value) { SetBody(value); return *this;} /** *

An HTTPS download URL for the provided asset bundle that you optionally * provided at the start of the import job. This URL is valid for five minutes * after issuance. Call DescribeAssetBundleExportJob again for a fresh * URL if needed. The downloaded asset bundle is a .qs zip file.

*/ inline AssetBundleImportSourceDescription& WithBody(Aws::String&& value) { SetBody(std::move(value)); return *this;} /** *

An HTTPS download URL for the provided asset bundle that you optionally * provided at the start of the import job. This URL is valid for five minutes * after issuance. Call DescribeAssetBundleExportJob again for a fresh * URL if needed. The downloaded asset bundle is a .qs zip file.

*/ inline AssetBundleImportSourceDescription& WithBody(const char* value) { SetBody(value); return *this;} /** *

The Amazon S3 URI that you provided at the start of the import job.

*/ inline const Aws::String& GetS3Uri() const{ return m_s3Uri; } /** *

The Amazon S3 URI that you provided at the start of the import job.

*/ inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; } /** *

The Amazon S3 URI that you provided at the start of the import job.

*/ inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; } /** *

The Amazon S3 URI that you provided at the start of the import job.

*/ inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); } /** *

The Amazon S3 URI that you provided at the start of the import job.

*/ inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); } /** *

The Amazon S3 URI that you provided at the start of the import job.

*/ inline AssetBundleImportSourceDescription& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;} /** *

The Amazon S3 URI that you provided at the start of the import job.

*/ inline AssetBundleImportSourceDescription& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;} /** *

The Amazon S3 URI that you provided at the start of the import job.

*/ inline AssetBundleImportSourceDescription& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} private: Aws::String m_body; bool m_bodyHasBeenSet = false; Aws::String m_s3Uri; bool m_s3UriHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws