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/cloudformation/CloudFormation_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.h>
9 
10 namespace Aws
11 {
12 namespace CloudFormation
13 {
14 namespace Model
15 {
16   enum class OnFailure
17   {
18     NOT_SET,
19     DO_NOTHING,
20     ROLLBACK,
21     DELETE_
22   };
23 
24 namespace OnFailureMapper
25 {
26 AWS_CLOUDFORMATION_API OnFailure GetOnFailureForName(const Aws::String& name);
27 
28 AWS_CLOUDFORMATION_API Aws::String GetNameForOnFailure(OnFailure value);
29 } // namespace OnFailureMapper
30 } // namespace Model
31 } // namespace CloudFormation
32 } // namespace Aws
33