/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an instance to export.See Also:
AWS
* API Reference
The ID of the resource being exported.
*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *The ID of the resource being exported.
*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *The ID of the resource being exported.
*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *The ID of the resource being exported.
*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *The ID of the resource being exported.
*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *The ID of the resource being exported.
*/ inline InstanceExportDetails& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *The ID of the resource being exported.
*/ inline InstanceExportDetails& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *The ID of the resource being exported.
*/ inline InstanceExportDetails& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *The target virtualization environment.
*/ inline const ExportEnvironment& GetTargetEnvironment() const{ return m_targetEnvironment; } /** *The target virtualization environment.
*/ inline bool TargetEnvironmentHasBeenSet() const { return m_targetEnvironmentHasBeenSet; } /** *The target virtualization environment.
*/ inline void SetTargetEnvironment(const ExportEnvironment& value) { m_targetEnvironmentHasBeenSet = true; m_targetEnvironment = value; } /** *The target virtualization environment.
*/ inline void SetTargetEnvironment(ExportEnvironment&& value) { m_targetEnvironmentHasBeenSet = true; m_targetEnvironment = std::move(value); } /** *The target virtualization environment.
*/ inline InstanceExportDetails& WithTargetEnvironment(const ExportEnvironment& value) { SetTargetEnvironment(value); return *this;} /** *The target virtualization environment.
*/ inline InstanceExportDetails& WithTargetEnvironment(ExportEnvironment&& value) { SetTargetEnvironment(std::move(value)); return *this;} private: Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; ExportEnvironment m_targetEnvironment; bool m_targetEnvironmentHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws