/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The source of the asset bundle zip file that contains the data that you want
* to import. The file must be in QUICKSIGHT_JSON
* format.See Also:
AWS
* API Reference
The bytes of the base64 encoded asset bundle import zip file. This file can't * exceed 20 MB.
If you are calling the API operations from the Amazon Web * Services SDK for Java, JavaScript, Python, or PHP, the SDK encodes base64 * automatically to allow the direct setting of the zip file's bytes. If you are * using an SDK for a different language or receiving related errors, try to base64 * encode your data.
*/ inline const Aws::Utils::CryptoBuffer& GetBody() const{ return m_body; } /** *The bytes of the base64 encoded asset bundle import zip file. This file can't * exceed 20 MB.
If you are calling the API operations from the Amazon Web * Services SDK for Java, JavaScript, Python, or PHP, the SDK encodes base64 * automatically to allow the direct setting of the zip file's bytes. If you are * using an SDK for a different language or receiving related errors, try to base64 * encode your data.
*/ inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; } /** *The bytes of the base64 encoded asset bundle import zip file. This file can't * exceed 20 MB.
If you are calling the API operations from the Amazon Web * Services SDK for Java, JavaScript, Python, or PHP, the SDK encodes base64 * automatically to allow the direct setting of the zip file's bytes. If you are * using an SDK for a different language or receiving related errors, try to base64 * encode your data.
*/ inline void SetBody(const Aws::Utils::CryptoBuffer& value) { m_bodyHasBeenSet = true; m_body = value; } /** *The bytes of the base64 encoded asset bundle import zip file. This file can't * exceed 20 MB.
If you are calling the API operations from the Amazon Web * Services SDK for Java, JavaScript, Python, or PHP, the SDK encodes base64 * automatically to allow the direct setting of the zip file's bytes. If you are * using an SDK for a different language or receiving related errors, try to base64 * encode your data.
*/ inline void SetBody(Aws::Utils::CryptoBuffer&& value) { m_bodyHasBeenSet = true; m_body = std::move(value); } /** *The bytes of the base64 encoded asset bundle import zip file. This file can't * exceed 20 MB.
If you are calling the API operations from the Amazon Web * Services SDK for Java, JavaScript, Python, or PHP, the SDK encodes base64 * automatically to allow the direct setting of the zip file's bytes. If you are * using an SDK for a different language or receiving related errors, try to base64 * encode your data.
*/ inline AssetBundleImportSource& WithBody(const Aws::Utils::CryptoBuffer& value) { SetBody(value); return *this;} /** *The bytes of the base64 encoded asset bundle import zip file. This file can't * exceed 20 MB.
If you are calling the API operations from the Amazon Web * Services SDK for Java, JavaScript, Python, or PHP, the SDK encodes base64 * automatically to allow the direct setting of the zip file's bytes. If you are * using an SDK for a different language or receiving related errors, try to base64 * encode your data.
*/ inline AssetBundleImportSource& WithBody(Aws::Utils::CryptoBuffer&& value) { SetBody(std::move(value)); return *this;} /** *The Amazon S3 URI for an asset bundle import file that exists in an Amazon S3 * bucket that the caller has read access to. The file must be a zip format file * and can't exceed 20 MB.
*/ inline const Aws::String& GetS3Uri() const{ return m_s3Uri; } /** *The Amazon S3 URI for an asset bundle import file that exists in an Amazon S3 * bucket that the caller has read access to. The file must be a zip format file * and can't exceed 20 MB.
*/ inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; } /** *The Amazon S3 URI for an asset bundle import file that exists in an Amazon S3 * bucket that the caller has read access to. The file must be a zip format file * and can't exceed 20 MB.
*/ inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; } /** *The Amazon S3 URI for an asset bundle import file that exists in an Amazon S3 * bucket that the caller has read access to. The file must be a zip format file * and can't exceed 20 MB.
*/ inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); } /** *The Amazon S3 URI for an asset bundle import file that exists in an Amazon S3 * bucket that the caller has read access to. The file must be a zip format file * and can't exceed 20 MB.
*/ inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); } /** *The Amazon S3 URI for an asset bundle import file that exists in an Amazon S3 * bucket that the caller has read access to. The file must be a zip format file * and can't exceed 20 MB.
*/ inline AssetBundleImportSource& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;} /** *The Amazon S3 URI for an asset bundle import file that exists in an Amazon S3 * bucket that the caller has read access to. The file must be a zip format file * and can't exceed 20 MB.
*/ inline AssetBundleImportSource& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;} /** *The Amazon S3 URI for an asset bundle import file that exists in an Amazon S3 * bucket that the caller has read access to. The file must be a zip format file * and can't exceed 20 MB.
*/ inline AssetBundleImportSource& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} private: Aws::Utils::CryptoBuffer m_body; bool m_bodyHasBeenSet = false; Aws::String m_s3Uri; bool m_s3UriHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws