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 DeliveryStatus 17 { 18 NOT_SET, 19 SUCCESSFUL, 20 THROTTLED, 21 TEMPORARY_FAILURE, 22 PERMANENT_FAILURE, 23 UNKNOWN_FAILURE, 24 OPT_OUT, 25 DUPLICATE 26 }; 27 28 namespace DeliveryStatusMapper 29 { 30 AWS_PINPOINT_API DeliveryStatus GetDeliveryStatusForName(const Aws::String& name); 31 32 AWS_PINPOINT_API Aws::String GetNameForDeliveryStatus(DeliveryStatus value); 33 } // namespace DeliveryStatusMapper 34 } // namespace Model 35 } // namespace Pinpoint 36 } // namespace Aws 37