/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/ec2/EC2_EXPORTS.h>

namespace Aws {
namespace EC2 {
namespace Model {
enum class InstanceLifecycle { NOT_SET, spot, on_demand, interruptible_capacity_reservation };

namespace InstanceLifecycleMapper {
AWS_EC2_API InstanceLifecycle GetInstanceLifecycleForName(const Aws::String& name);

AWS_EC2_API Aws::String GetNameForInstanceLifecycle(InstanceLifecycle value);
}  // namespace InstanceLifecycleMapper
}  // namespace Model
}  // namespace EC2
}  // namespace Aws
