/**
* 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 size of the disk image, in GiB.
*/ inline long long GetBytes() const{ return m_bytes; } /** *The size of the disk image, in GiB.
*/ inline bool BytesHasBeenSet() const { return m_bytesHasBeenSet; } /** *The size of the disk image, in GiB.
*/ inline void SetBytes(long long value) { m_bytesHasBeenSet = true; m_bytes = value; } /** *The size of the disk image, in GiB.
*/ inline DiskImageDetail& WithBytes(long long value) { SetBytes(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 DiskImageDetail& WithFormat(const DiskImageFormat& value) { SetFormat(value); return *this;} /** *The disk image format.
*/ inline DiskImageDetail& WithFormat(DiskImageFormat&& value) { SetFormat(std::move(value)); return *this;} /** *A presigned URL for the import manifest stored in Amazon S3 and presented * here as an Amazon S3 presigned URL. 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 and presented * here as an Amazon S3 presigned URL. 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 and presented * here as an Amazon S3 presigned URL. 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 and presented * here as an Amazon S3 presigned URL. 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 and presented * here as an Amazon S3 presigned URL. 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 and presented * here as an Amazon S3 presigned URL. 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 DiskImageDetail& WithImportManifestUrl(const Aws::String& value) { SetImportManifestUrl(value); return *this;} /** *A presigned URL for the import manifest stored in Amazon S3 and presented * here as an Amazon S3 presigned URL. 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 DiskImageDetail& WithImportManifestUrl(Aws::String&& value) { SetImportManifestUrl(std::move(value)); return *this;} /** *A presigned URL for the import manifest stored in Amazon S3 and presented * here as an Amazon S3 presigned URL. 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 DiskImageDetail& WithImportManifestUrl(const char* value) { SetImportManifestUrl(value); return *this;} private: long long m_bytes; bool m_bytesHasBeenSet = false; DiskImageFormat m_format; bool m_formatHasBeenSet = false; Aws::String m_importManifestUrl; bool m_importManifestUrlHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws