/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a disk image.See Also:
AWS
* API Reference
The checksum computed for the disk image.
*/ inline const Aws::String& GetChecksum() const{ return m_checksum; } /** *The checksum computed for the disk image.
*/ inline bool ChecksumHasBeenSet() const { return m_checksumHasBeenSet; } /** *The checksum computed for the disk image.
*/ inline void SetChecksum(const Aws::String& value) { m_checksumHasBeenSet = true; m_checksum = value; } /** *The checksum computed for the disk image.
*/ inline void SetChecksum(Aws::String&& value) { m_checksumHasBeenSet = true; m_checksum = std::move(value); } /** *The checksum computed for the disk image.
*/ inline void SetChecksum(const char* value) { m_checksumHasBeenSet = true; m_checksum.assign(value); } /** *The checksum computed for the disk image.
*/ inline DiskImageDescription& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;} /** *The checksum computed for the disk image.
*/ inline DiskImageDescription& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;} /** *The checksum computed for the disk image.
*/ inline DiskImageDescription& WithChecksum(const char* value) { SetChecksum(value); return *this;} /** *The disk image format.
*/ inline const DiskImageFormat& GetFormat() const{ return m_format; } /** *The disk image format.
*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *The disk image format.
*/ inline void SetFormat(const DiskImageFormat& value) { m_formatHasBeenSet = true; m_format = value; } /** *The disk image format.
*/ inline void SetFormat(DiskImageFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *The disk image format.
*/ inline DiskImageDescription& WithFormat(const DiskImageFormat& value) { SetFormat(value); return *this;} /** *The disk image format.
*/ inline DiskImageDescription& WithFormat(DiskImageFormat&& value) { SetFormat(std::move(value)); return *this;} /** *A presigned URL for the import manifest stored in Amazon S3. For information * about creating a presigned URL for an Amazon S3 object, read the "Query String * Request Authentication Alternative" section of the Authenticating * REST Requests topic in the Amazon Simple Storage Service Developer * Guide.
For information about the import manifest referenced by this * API action, see VM * Import Manifest.
*/ inline const Aws::String& GetImportManifestUrl() const{ return m_importManifestUrl; } /** *A presigned URL for the import manifest stored in Amazon S3. For information * about creating a presigned URL for an Amazon S3 object, read the "Query String * Request Authentication Alternative" section of the Authenticating * REST Requests topic in the Amazon Simple Storage Service Developer * Guide.
For information about the import manifest referenced by this * API action, see VM * Import Manifest.
*/ inline bool ImportManifestUrlHasBeenSet() const { return m_importManifestUrlHasBeenSet; } /** *A presigned URL for the import manifest stored in Amazon S3. For information * about creating a presigned URL for an Amazon S3 object, read the "Query String * Request Authentication Alternative" section of the Authenticating * REST Requests topic in the Amazon Simple Storage Service Developer * Guide.
For information about the import manifest referenced by this * API action, see VM * Import Manifest.
*/ inline void SetImportManifestUrl(const Aws::String& value) { m_importManifestUrlHasBeenSet = true; m_importManifestUrl = value; } /** *A presigned URL for the import manifest stored in Amazon S3. For information * about creating a presigned URL for an Amazon S3 object, read the "Query String * Request Authentication Alternative" section of the Authenticating * REST Requests topic in the Amazon Simple Storage Service Developer * Guide.
For information about the import manifest referenced by this * API action, see VM * Import Manifest.
*/ inline void SetImportManifestUrl(Aws::String&& value) { m_importManifestUrlHasBeenSet = true; m_importManifestUrl = std::move(value); } /** *A presigned URL for the import manifest stored in Amazon S3. For information * about creating a presigned URL for an Amazon S3 object, read the "Query String * Request Authentication Alternative" section of the Authenticating * REST Requests topic in the Amazon Simple Storage Service Developer * Guide.
For information about the import manifest referenced by this * API action, see VM * Import Manifest.
*/ inline void SetImportManifestUrl(const char* value) { m_importManifestUrlHasBeenSet = true; m_importManifestUrl.assign(value); } /** *A presigned URL for the import manifest stored in Amazon S3. For information * about creating a presigned URL for an Amazon S3 object, read the "Query String * Request Authentication Alternative" section of the Authenticating * REST Requests topic in the Amazon Simple Storage Service Developer * Guide.
For information about the import manifest referenced by this * API action, see VM * Import Manifest.
*/ inline DiskImageDescription& WithImportManifestUrl(const Aws::String& value) { SetImportManifestUrl(value); return *this;} /** *A presigned URL for the import manifest stored in Amazon S3. For information * about creating a presigned URL for an Amazon S3 object, read the "Query String * Request Authentication Alternative" section of the Authenticating * REST Requests topic in the Amazon Simple Storage Service Developer * Guide.
For information about the import manifest referenced by this * API action, see VM * Import Manifest.
*/ inline DiskImageDescription& WithImportManifestUrl(Aws::String&& value) { SetImportManifestUrl(std::move(value)); return *this;} /** *A presigned URL for the import manifest stored in Amazon S3. For information * about creating a presigned URL for an Amazon S3 object, read the "Query String * Request Authentication Alternative" section of the Authenticating * REST Requests topic in the Amazon Simple Storage Service Developer * Guide.
For information about the import manifest referenced by this * API action, see VM * Import Manifest.
*/ inline DiskImageDescription& WithImportManifestUrl(const char* value) { SetImportManifestUrl(value); return *this;} /** *The size of the disk image, in GiB.
*/ inline long long GetSize() const{ return m_size; } /** *The size of the disk image, in GiB.
*/ inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } /** *The size of the disk image, in GiB.
*/ inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; } /** *The size of the disk image, in GiB.
*/ inline DiskImageDescription& WithSize(long long value) { SetSize(value); return *this;} private: Aws::String m_checksum; bool m_checksumHasBeenSet = false; DiskImageFormat m_format; bool m_formatHasBeenSet = false; Aws::String m_importManifestUrl; bool m_importManifestUrlHasBeenSet = false; long long m_size; bool m_sizeHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws