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/pinpoint/Pinpoint_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.h>
9 
10 namespace Aws
11 {
12 namespace Pinpoint
13 {
14 namespace Model
15 {
16   enum class Duration
17   {
18     NOT_SET,
19     HR_24,
20     DAY_7,
21     DAY_14,
22     DAY_30
23   };
24 
25 namespace DurationMapper
26 {
27 AWS_PINPOINT_API Duration GetDurationForName(const Aws::String& name);
28 
29 AWS_PINPOINT_API Aws::String GetNameForDuration(Duration value);
30 } // namespace DurationMapper
31 } // namespace Model
32 } // namespace Pinpoint
33 } // namespace Aws
34