/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The disk container object for the import snapshot request.See
* Also:
AWS
* API Reference
The description of the disk image being imported.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the disk image being imported.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the disk image being imported.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the disk image being imported.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the disk image being imported.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the disk image being imported.
*/ inline SnapshotDiskContainer& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the disk image being imported.
*/ inline SnapshotDiskContainer& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the disk image being imported.
*/ inline SnapshotDiskContainer& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The format of the disk image being imported.
Valid values:
* VHD
| VMDK
| RAW
The format of the disk image being imported.
Valid values:
* VHD
| VMDK
| RAW
The format of the disk image being imported.
Valid values:
* VHD
| VMDK
| RAW
The format of the disk image being imported.
Valid values:
* VHD
| VMDK
| RAW
The format of the disk image being imported.
Valid values:
* VHD
| VMDK
| RAW
The format of the disk image being imported.
Valid values:
* VHD
| VMDK
| RAW
The format of the disk image being imported.
Valid values:
* VHD
| VMDK
| RAW
The format of the disk image being imported.
Valid values:
* VHD
| VMDK
| RAW
The URL to the Amazon S3-based disk image being imported. It can either be a * https URL (https://..) or an Amazon S3 URL (s3://..).
*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *The URL to the Amazon S3-based disk image being imported. It can either be a * https URL (https://..) or an Amazon S3 URL (s3://..).
*/ inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** *The URL to the Amazon S3-based disk image being imported. It can either be a * https URL (https://..) or an Amazon S3 URL (s3://..).
*/ inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } /** *The URL to the Amazon S3-based disk image being imported. It can either be a * https URL (https://..) or an Amazon S3 URL (s3://..).
*/ inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } /** *The URL to the Amazon S3-based disk image being imported. It can either be a * https URL (https://..) or an Amazon S3 URL (s3://..).
*/ inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } /** *The URL to the Amazon S3-based disk image being imported. It can either be a * https URL (https://..) or an Amazon S3 URL (s3://..).
*/ inline SnapshotDiskContainer& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *The URL to the Amazon S3-based disk image being imported. It can either be a * https URL (https://..) or an Amazon S3 URL (s3://..).
*/ inline SnapshotDiskContainer& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *The URL to the Amazon S3-based disk image being imported. It can either be a * https URL (https://..) or an Amazon S3 URL (s3://..).
*/ inline SnapshotDiskContainer& WithUrl(const char* value) { SetUrl(value); return *this;} /** *The Amazon S3 bucket for the disk image.
*/ inline const UserBucket& GetUserBucket() const{ return m_userBucket; } /** *The Amazon S3 bucket for the disk image.
*/ inline bool UserBucketHasBeenSet() const { return m_userBucketHasBeenSet; } /** *The Amazon S3 bucket for the disk image.
*/ inline void SetUserBucket(const UserBucket& value) { m_userBucketHasBeenSet = true; m_userBucket = value; } /** *The Amazon S3 bucket for the disk image.
*/ inline void SetUserBucket(UserBucket&& value) { m_userBucketHasBeenSet = true; m_userBucket = std::move(value); } /** *The Amazon S3 bucket for the disk image.
*/ inline SnapshotDiskContainer& WithUserBucket(const UserBucket& value) { SetUserBucket(value); return *this;} /** *The Amazon S3 bucket for the disk image.
*/ inline SnapshotDiskContainer& WithUserBucket(UserBucket&& value) { SetUserBucket(std::move(value)); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_format; bool m_formatHasBeenSet = false; Aws::String m_url; bool m_urlHasBeenSet = false; UserBucket m_userBucket; bool m_userBucketHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws