/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Properties that configure export from your build instance to a compatible
* file format for your VM.See Also:
AWS
* API Reference
The name of the role that grants VM Import/Export permission to export images * to your S3 bucket.
*/ inline const Aws::String& GetRoleName() const{ return m_roleName; } /** *The name of the role that grants VM Import/Export permission to export images * to your S3 bucket.
*/ inline bool RoleNameHasBeenSet() const { return m_roleNameHasBeenSet; } /** *The name of the role that grants VM Import/Export permission to export images * to your S3 bucket.
*/ inline void SetRoleName(const Aws::String& value) { m_roleNameHasBeenSet = true; m_roleName = value; } /** *The name of the role that grants VM Import/Export permission to export images * to your S3 bucket.
*/ inline void SetRoleName(Aws::String&& value) { m_roleNameHasBeenSet = true; m_roleName = std::move(value); } /** *The name of the role that grants VM Import/Export permission to export images * to your S3 bucket.
*/ inline void SetRoleName(const char* value) { m_roleNameHasBeenSet = true; m_roleName.assign(value); } /** *The name of the role that grants VM Import/Export permission to export images * to your S3 bucket.
*/ inline S3ExportConfiguration& WithRoleName(const Aws::String& value) { SetRoleName(value); return *this;} /** *The name of the role that grants VM Import/Export permission to export images * to your S3 bucket.
*/ inline S3ExportConfiguration& WithRoleName(Aws::String&& value) { SetRoleName(std::move(value)); return *this;} /** *The name of the role that grants VM Import/Export permission to export images * to your S3 bucket.
*/ inline S3ExportConfiguration& WithRoleName(const char* value) { SetRoleName(value); return *this;} /** *Export the updated image to one of the following supported disk image * formats:
Virtual Hard Disk (VHD) – Compatible with * Citrix Xen and Microsoft Hyper-V virtualization products.
* Stream-optimized ESX Virtual Machine Disk (VMDK) – Compatible with VMware * ESX and VMware vSphere versions 4, 5, and 6.
Raw – Raw * format.
Export the updated image to one of the following supported disk image * formats:
Virtual Hard Disk (VHD) – Compatible with * Citrix Xen and Microsoft Hyper-V virtualization products.
* Stream-optimized ESX Virtual Machine Disk (VMDK) – Compatible with VMware * ESX and VMware vSphere versions 4, 5, and 6.
Raw – Raw * format.
Export the updated image to one of the following supported disk image * formats:
Virtual Hard Disk (VHD) – Compatible with * Citrix Xen and Microsoft Hyper-V virtualization products.
* Stream-optimized ESX Virtual Machine Disk (VMDK) – Compatible with VMware * ESX and VMware vSphere versions 4, 5, and 6.
Raw – Raw * format.
Export the updated image to one of the following supported disk image * formats:
Virtual Hard Disk (VHD) – Compatible with * Citrix Xen and Microsoft Hyper-V virtualization products.
* Stream-optimized ESX Virtual Machine Disk (VMDK) – Compatible with VMware * ESX and VMware vSphere versions 4, 5, and 6.
Raw – Raw * format.
Export the updated image to one of the following supported disk image * formats:
Virtual Hard Disk (VHD) – Compatible with * Citrix Xen and Microsoft Hyper-V virtualization products.
* Stream-optimized ESX Virtual Machine Disk (VMDK) – Compatible with VMware * ESX and VMware vSphere versions 4, 5, and 6.
Raw – Raw * format.
Export the updated image to one of the following supported disk image * formats:
Virtual Hard Disk (VHD) – Compatible with * Citrix Xen and Microsoft Hyper-V virtualization products.
* Stream-optimized ESX Virtual Machine Disk (VMDK) – Compatible with VMware * ESX and VMware vSphere versions 4, 5, and 6.
Raw – Raw * format.
The S3 bucket in which to store the output disk images for your VM.
*/ inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; } /** *The S3 bucket in which to store the output disk images for your VM.
*/ inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; } /** *The S3 bucket in which to store the output disk images for your VM.
*/ inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; } /** *The S3 bucket in which to store the output disk images for your VM.
*/ inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); } /** *The S3 bucket in which to store the output disk images for your VM.
*/ inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); } /** *The S3 bucket in which to store the output disk images for your VM.
*/ inline S3ExportConfiguration& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;} /** *The S3 bucket in which to store the output disk images for your VM.
*/ inline S3ExportConfiguration& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;} /** *The S3 bucket in which to store the output disk images for your VM.
*/ inline S3ExportConfiguration& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;} /** *The Amazon S3 path for the bucket where the output disk images for your VM * are stored.
*/ inline const Aws::String& GetS3Prefix() const{ return m_s3Prefix; } /** *The Amazon S3 path for the bucket where the output disk images for your VM * are stored.
*/ inline bool S3PrefixHasBeenSet() const { return m_s3PrefixHasBeenSet; } /** *The Amazon S3 path for the bucket where the output disk images for your VM * are stored.
*/ inline void SetS3Prefix(const Aws::String& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = value; } /** *The Amazon S3 path for the bucket where the output disk images for your VM * are stored.
*/ inline void SetS3Prefix(Aws::String&& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = std::move(value); } /** *The Amazon S3 path for the bucket where the output disk images for your VM * are stored.
*/ inline void SetS3Prefix(const char* value) { m_s3PrefixHasBeenSet = true; m_s3Prefix.assign(value); } /** *The Amazon S3 path for the bucket where the output disk images for your VM * are stored.
*/ inline S3ExportConfiguration& WithS3Prefix(const Aws::String& value) { SetS3Prefix(value); return *this;} /** *The Amazon S3 path for the bucket where the output disk images for your VM * are stored.
*/ inline S3ExportConfiguration& WithS3Prefix(Aws::String&& value) { SetS3Prefix(std::move(value)); return *this;} /** *The Amazon S3 path for the bucket where the output disk images for your VM * are stored.
*/ inline S3ExportConfiguration& WithS3Prefix(const char* value) { SetS3Prefix(value); return *this;} private: Aws::String m_roleName; bool m_roleNameHasBeenSet = false; DiskImageFormat m_diskImageFormat; bool m_diskImageFormatHasBeenSet = false; Aws::String m_s3Bucket; bool m_s3BucketHasBeenSet = false; Aws::String m_s3Prefix; bool m_s3PrefixHasBeenSet = false; }; } // namespace Model } // namespace imagebuilder } // namespace Aws