/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an import volume task.See Also:
AWS
* API Reference
The Availability Zone where the resulting instance will reside.
*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *The Availability Zone where the resulting instance will reside.
*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *The Availability Zone where the resulting instance will reside.
*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *The Availability Zone where the resulting instance will reside.
*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *The Availability Zone where the resulting instance will reside.
*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *The Availability Zone where the resulting instance will reside.
*/ inline ImportInstanceVolumeDetailItem& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *The Availability Zone where the resulting instance will reside.
*/ inline ImportInstanceVolumeDetailItem& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *The Availability Zone where the resulting instance will reside.
*/ inline ImportInstanceVolumeDetailItem& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *The number of bytes converted so far.
*/ inline long long GetBytesConverted() const{ return m_bytesConverted; } /** *The number of bytes converted so far.
*/ inline bool BytesConvertedHasBeenSet() const { return m_bytesConvertedHasBeenSet; } /** *The number of bytes converted so far.
*/ inline void SetBytesConverted(long long value) { m_bytesConvertedHasBeenSet = true; m_bytesConverted = value; } /** *The number of bytes converted so far.
*/ inline ImportInstanceVolumeDetailItem& WithBytesConverted(long long value) { SetBytesConverted(value); return *this;} /** *A description of the task.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the task.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the task.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the task.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the task.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the task.
*/ inline ImportInstanceVolumeDetailItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the task.
*/ inline ImportInstanceVolumeDetailItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the task.
*/ inline ImportInstanceVolumeDetailItem& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The image.
*/ inline const DiskImageDescription& GetImage() const{ return m_image; } /** *The image.
*/ inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; } /** *The image.
*/ inline void SetImage(const DiskImageDescription& value) { m_imageHasBeenSet = true; m_image = value; } /** *The image.
*/ inline void SetImage(DiskImageDescription&& value) { m_imageHasBeenSet = true; m_image = std::move(value); } /** *The image.
*/ inline ImportInstanceVolumeDetailItem& WithImage(const DiskImageDescription& value) { SetImage(value); return *this;} /** *The image.
*/ inline ImportInstanceVolumeDetailItem& WithImage(DiskImageDescription&& value) { SetImage(std::move(value)); return *this;} /** *The status of the import of this particular disk image.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The status of the import of this particular disk image.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the import of this particular disk image.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the import of this particular disk image.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the import of this particular disk image.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The status of the import of this particular disk image.
*/ inline ImportInstanceVolumeDetailItem& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The status of the import of this particular disk image.
*/ inline ImportInstanceVolumeDetailItem& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The status of the import of this particular disk image.
*/ inline ImportInstanceVolumeDetailItem& WithStatus(const char* value) { SetStatus(value); return *this;} /** *The status information or errors related to the disk image.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *The status information or errors related to the disk image.
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *The status information or errors related to the disk image.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *The status information or errors related to the disk image.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *The status information or errors related to the disk image.
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *The status information or errors related to the disk image.
*/ inline ImportInstanceVolumeDetailItem& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *The status information or errors related to the disk image.
*/ inline ImportInstanceVolumeDetailItem& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *The status information or errors related to the disk image.
*/ inline ImportInstanceVolumeDetailItem& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *The volume.
*/ inline const DiskImageVolumeDescription& GetVolume() const{ return m_volume; } /** *The volume.
*/ inline bool VolumeHasBeenSet() const { return m_volumeHasBeenSet; } /** *The volume.
*/ inline void SetVolume(const DiskImageVolumeDescription& value) { m_volumeHasBeenSet = true; m_volume = value; } /** *The volume.
*/ inline void SetVolume(DiskImageVolumeDescription&& value) { m_volumeHasBeenSet = true; m_volume = std::move(value); } /** *The volume.
*/ inline ImportInstanceVolumeDetailItem& WithVolume(const DiskImageVolumeDescription& value) { SetVolume(value); return *this;} /** *The volume.
*/ inline ImportInstanceVolumeDetailItem& WithVolume(DiskImageVolumeDescription&& value) { SetVolume(std::move(value)); return *this;} private: Aws::String m_availabilityZone; bool m_availabilityZoneHasBeenSet = false; long long m_bytesConverted; bool m_bytesConvertedHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; DiskImageDescription m_image; bool m_imageHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; DiskImageVolumeDescription m_volume; bool m_volumeHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws