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/dataexchange/DataExchange_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 10 namespace Aws 11 { 12 namespace DataExchange 13 { 14 namespace Model 15 { 16 enum class State 17 { 18 NOT_SET, 19 WAITING, 20 IN_PROGRESS, 21 ERROR_, 22 COMPLETED, 23 CANCELLED, 24 TIMED_OUT 25 }; 26 27 namespace StateMapper 28 { 29 AWS_DATAEXCHANGE_API State GetStateForName(const Aws::String& name); 30 31 AWS_DATAEXCHANGE_API Aws::String GetNameForState(State value); 32 } // namespace StateMapper 33 } // namespace Model 34 } // namespace DataExchange 35 } // namespace Aws 36