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/codedeploy/CodeDeploy_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.h>
9 
10 namespace Aws
11 {
12 namespace CodeDeploy
13 {
14 namespace Model
15 {
16   enum class TrafficRoutingType
17   {
18     NOT_SET,
19     TimeBasedCanary,
20     TimeBasedLinear,
21     AllAtOnce
22   };
23 
24 namespace TrafficRoutingTypeMapper
25 {
26 AWS_CODEDEPLOY_API TrafficRoutingType GetTrafficRoutingTypeForName(const Aws::String& name);
27 
28 AWS_CODEDEPLOY_API Aws::String GetNameForTrafficRoutingType(TrafficRoutingType value);
29 } // namespace TrafficRoutingTypeMapper
30 } // namespace Model
31 } // namespace CodeDeploy
32 } // namespace Aws
33