/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include namespace Aws { namespace EC2 { namespace Model { enum class InstanceGeneration { NOT_SET, current, previous }; namespace InstanceGenerationMapper { AWS_EC2_API InstanceGeneration GetInstanceGenerationForName(const Aws::String& name); AWS_EC2_API Aws::String GetNameForInstanceGeneration(InstanceGeneration value); } // namespace InstanceGenerationMapper } // namespace Model } // namespace EC2 } // namespace Aws