1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/codeartifact/CodeArtifact_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 10 namespace Aws 11 { 12 namespace CodeArtifact 13 { 14 namespace Model 15 { 16 enum class PackageFormat 17 { 18 NOT_SET, 19 npm, 20 pypi, 21 maven, 22 nuget 23 }; 24 25 namespace PackageFormatMapper 26 { 27 AWS_CODEARTIFACT_API PackageFormat GetPackageFormatForName(const Aws::String& name); 28 29 AWS_CODEARTIFACT_API Aws::String GetNameForPackageFormat(PackageFormat value); 30 } // namespace PackageFormatMapper 31 } // namespace Model 32 } // namespace CodeArtifact 33 } // namespace Aws 34