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 HashAlgorithm 17 { 18 NOT_SET, 19 MD5, 20 SHA_1, 21 SHA_256, 22 SHA_512 23 }; 24 25 namespace HashAlgorithmMapper 26 { 27 AWS_CODEARTIFACT_API HashAlgorithm GetHashAlgorithmForName(const Aws::String& name); 28 29 AWS_CODEARTIFACT_API Aws::String GetNameForHashAlgorithm(HashAlgorithm value); 30 } // namespace HashAlgorithmMapper 31 } // namespace Model 32 } // namespace CodeArtifact 33 } // namespace Aws 34