/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an import instance task.See Also:
AWS
* API Reference
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 ImportInstanceTaskDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the task.
*/ inline ImportInstanceTaskDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the task.
*/ inline ImportInstanceTaskDetails& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The ID of the instance.
*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *The ID of the instance.
*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *The ID of the instance.
*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *The ID of the instance.
*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *The ID of the instance.
*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *The ID of the instance.
*/ inline ImportInstanceTaskDetails& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *The ID of the instance.
*/ inline ImportInstanceTaskDetails& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *The ID of the instance.
*/ inline ImportInstanceTaskDetails& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *The instance operating system.
*/ inline const PlatformValues& GetPlatform() const{ return m_platform; } /** *The instance operating system.
*/ inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; } /** *The instance operating system.
*/ inline void SetPlatform(const PlatformValues& value) { m_platformHasBeenSet = true; m_platform = value; } /** *The instance operating system.
*/ inline void SetPlatform(PlatformValues&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); } /** *The instance operating system.
*/ inline ImportInstanceTaskDetails& WithPlatform(const PlatformValues& value) { SetPlatform(value); return *this;} /** *The instance operating system.
*/ inline ImportInstanceTaskDetails& WithPlatform(PlatformValues&& value) { SetPlatform(std::move(value)); return *this;} /** *The volumes.
*/ inline const Aws::VectorThe volumes.
*/ inline bool VolumesHasBeenSet() const { return m_volumesHasBeenSet; } /** *The volumes.
*/ inline void SetVolumes(const Aws::VectorThe volumes.
*/ inline void SetVolumes(Aws::VectorThe volumes.
*/ inline ImportInstanceTaskDetails& WithVolumes(const Aws::VectorThe volumes.
*/ inline ImportInstanceTaskDetails& WithVolumes(Aws::VectorThe volumes.
*/ inline ImportInstanceTaskDetails& AddVolumes(const ImportInstanceVolumeDetailItem& value) { m_volumesHasBeenSet = true; m_volumes.push_back(value); return *this; } /** *The volumes.
*/ inline ImportInstanceTaskDetails& AddVolumes(ImportInstanceVolumeDetailItem&& value) { m_volumesHasBeenSet = true; m_volumes.push_back(std::move(value)); return *this; } private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; PlatformValues m_platform; bool m_platformHasBeenSet = false; Aws::Vector