当前位置: 首页>>代码示例>>C++>>正文


C++ EnumParseOverflowContainer::RetrieveOverflow方法代码示例

本文整理汇总了C++中EnumParseOverflowContainer::RetrieveOverflow方法的典型用法代码示例。如果您正苦于以下问题:C++ EnumParseOverflowContainer::RetrieveOverflow方法的具体用法?C++ EnumParseOverflowContainer::RetrieveOverflow怎么用?C++ EnumParseOverflowContainer::RetrieveOverflow使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在EnumParseOverflowContainer的用法示例。


在下文中一共展示了EnumParseOverflowContainer::RetrieveOverflow方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: GetNameForEventType

        Aws::String GetNameForEventType(EventType enumValue)
        {
          switch(enumValue)
          {
          case EventType::instanceChange:
            return "instanceChange";
          case EventType::fleetRequestChange:
            return "fleetRequestChange";
          case EventType::error:
            return "error";
          default:
            EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
            if(overflowContainer)
            {
              return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
            }

            return "";
          }
        }
开发者ID:Fahrenheit2539,项目名称:aws-sdk-cpp,代码行数:20,代码来源:EventType.cpp

示例2: GetNameForChangeAction

        Aws::String GetNameForChangeAction(ChangeAction enumValue)
        {
          switch(enumValue)
          {
          case ChangeAction::Add:
            return "Add";
          case ChangeAction::Modify:
            return "Modify";
          case ChangeAction::Remove:
            return "Remove";
          default:
            EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
            if(overflowContainer)
            {
              return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
            }

            return "";
          }
        }
开发者ID:chadbrewbaker,项目名称:aws-sdk-cpp,代码行数:20,代码来源:ChangeAction.cpp

示例3: GetNameForFlowLogsResourceType

        Aws::String GetNameForFlowLogsResourceType(FlowLogsResourceType enumValue)
        {
          switch(enumValue)
          {
          case FlowLogsResourceType::VPC:
            return "VPC";
          case FlowLogsResourceType::Subnet:
            return "Subnet";
          case FlowLogsResourceType::NetworkInterface:
            return "NetworkInterface";
          default:
            EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
            if(overflowContainer)
            {
              return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
            }

            return "";
          }
        }
开发者ID:ukjhsa,项目名称:aws-sdk-cpp,代码行数:20,代码来源:FlowLogsResourceType.cpp

示例4: GetNameForChannelType

        Aws::String GetNameForChannelType(ChannelType enumValue)
        {
          switch(enumValue)
          {
          case ChannelType::Facebook:
            return "Facebook";
          case ChannelType::Slack:
            return "Slack";
          case ChannelType::Twilio_Sms:
            return "Twilio-Sms";
          default:
            EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
            if(overflowContainer)
            {
              return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
            }

            return "";
          }
        }
开发者ID:capeanalytics,项目名称:aws-sdk-cpp,代码行数:20,代码来源:ChannelType.cpp

示例5: GetNameForAliasAttributeType

        Aws::String GetNameForAliasAttributeType(AliasAttributeType enumValue)
        {
          switch(enumValue)
          {
          case AliasAttributeType::phone_number:
            return "phone_number";
          case AliasAttributeType::email:
            return "email";
          case AliasAttributeType::preferred_username:
            return "preferred_username";
          default:
            EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
            if(overflowContainer)
            {
              return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
            }

            return "";
          }
        }
开发者ID:Fahrenheit2539,项目名称:aws-sdk-cpp,代码行数:20,代码来源:AliasAttributeType.cpp

示例6: GetNameForBundleType

        Aws::String GetNameForBundleType(BundleType enumValue)
        {
          switch(enumValue)
          {
          case BundleType::tar:
            return "tar";
          case BundleType::tgz:
            return "tgz";
          case BundleType::zip:
            return "zip";
          default:
            EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
            if(overflowContainer)
            {
              return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
            }

            return "";
          }
        }
开发者ID:Bu11etmagnet,项目名称:aws-sdk-cpp,代码行数:20,代码来源:BundleType.cpp

示例7: GetNameForRouteOrigin

        Aws::String GetNameForRouteOrigin(RouteOrigin enumValue)
        {
          switch(enumValue)
          {
          case RouteOrigin::CreateRouteTable:
            return "CreateRouteTable";
          case RouteOrigin::CreateRoute:
            return "CreateRoute";
          case RouteOrigin::EnableVgwRoutePropagation:
            return "EnableVgwRoutePropagation";
          default:
            EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
            if(overflowContainer)
            {
              return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
            }

            return "";
          }
        }
开发者ID:Fahrenheit2539,项目名称:aws-sdk-cpp,代码行数:20,代码来源:RouteOrigin.cpp

示例8: GetNameForCompute

        Aws::String GetNameForCompute(Compute enumValue)
        {
          switch(enumValue)
          {
          case Compute::VALUE:
            return "VALUE";
          case Compute::STANDARD:
            return "STANDARD";
          case Compute::PERFORMANCE:
            return "PERFORMANCE";
          default:
            EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
            if(overflowContainer)
            {
              return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
            }

            return "";
          }
        }
开发者ID:chadbrewbaker,项目名称:aws-sdk-cpp,代码行数:20,代码来源:Compute.cpp

示例9: GetNameForGeoRestrictionType

        Aws::String GetNameForGeoRestrictionType(GeoRestrictionType enumValue)
        {
          switch(enumValue)
          {
          case GeoRestrictionType::blacklist:
            return "blacklist";
          case GeoRestrictionType::whitelist:
            return "whitelist";
          case GeoRestrictionType::none:
            return "none";
          default:
            EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
            if(overflowContainer)
            {
              return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
            }

            return "";
          }
        }
开发者ID:Bu11etmagnet,项目名称:aws-sdk-cpp,代码行数:20,代码来源:GeoRestrictionType.cpp

示例10: GetNameForActionConfigurationPropertyType

        Aws::String GetNameForActionConfigurationPropertyType(ActionConfigurationPropertyType enumValue)
        {
          switch(enumValue)
          {
          case ActionConfigurationPropertyType::String:
            return "String";
          case ActionConfigurationPropertyType::Number:
            return "Number";
          case ActionConfigurationPropertyType::Boolean:
            return "Boolean";
          default:
            EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
            if(overflowContainer)
            {
              return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
            }

            return "";
          }
        }
开发者ID:Bu11etmagnet,项目名称:aws-sdk-cpp,代码行数:20,代码来源:ActionConfigurationPropertyType.cpp

示例11: GetNameForComputeType

        Aws::String GetNameForComputeType(ComputeType enumValue)
        {
          switch(enumValue)
          {
          case ComputeType::BUILD_GENERAL1_SMALL:
            return "BUILD_GENERAL1_SMALL";
          case ComputeType::BUILD_GENERAL1_MEDIUM:
            return "BUILD_GENERAL1_MEDIUM";
          case ComputeType::BUILD_GENERAL1_LARGE:
            return "BUILD_GENERAL1_LARGE";
          default:
            EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
            if(overflowContainer)
            {
              return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
            }

            return "";
          }
        }
开发者ID:chadbrewbaker,项目名称:aws-sdk-cpp,代码行数:20,代码来源:ComputeType.cpp

示例12: GetNameForProjectSortByType

        Aws::String GetNameForProjectSortByType(ProjectSortByType enumValue)
        {
          switch(enumValue)
          {
          case ProjectSortByType::NAME:
            return "NAME";
          case ProjectSortByType::CREATED_TIME:
            return "CREATED_TIME";
          case ProjectSortByType::LAST_MODIFIED_TIME:
            return "LAST_MODIFIED_TIME";
          default:
            EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
            if(overflowContainer)
            {
              return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
            }

            return "";
          }
        }
开发者ID:chadbrewbaker,项目名称:aws-sdk-cpp,代码行数:20,代码来源:ProjectSortByType.cpp

示例13: GetNameForCloudHsmObjectState

        Aws::String GetNameForCloudHsmObjectState(CloudHsmObjectState enumValue)
        {
          switch(enumValue)
          {
          case CloudHsmObjectState::READY:
            return "READY";
          case CloudHsmObjectState::UPDATING:
            return "UPDATING";
          case CloudHsmObjectState::DEGRADED:
            return "DEGRADED";
          default:
            EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
            if(overflowContainer)
            {
              return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
            }

            return "";
          }
        }
开发者ID:Fahrenheit2539,项目名称:aws-sdk-cpp,代码行数:20,代码来源:CloudHsmObjectState.cpp

示例14: GetNameForMessageType

        Aws::String GetNameForMessageType(MessageType enumValue)
        {
          switch(enumValue)
          {
          case MessageType::ConfigurationItemChangeNotification:
            return "ConfigurationItemChangeNotification";
          case MessageType::ConfigurationSnapshotDeliveryCompleted:
            return "ConfigurationSnapshotDeliveryCompleted";
          case MessageType::ScheduledNotification:
            return "ScheduledNotification";
          default:
            EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
            if(overflowContainer)
            {
              return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
            }

            return "";
          }
        }
开发者ID:jliang1010,项目名称:aws-sdk-cpp,代码行数:20,代码来源:MessageType.cpp

示例15: GetNameForOAuthFlowType

        Aws::String GetNameForOAuthFlowType(OAuthFlowType enumValue)
        {
          switch(enumValue)
          {
          case OAuthFlowType::code:
            return "code";
          case OAuthFlowType::implicit:
            return "implicit";
          case OAuthFlowType::client_credentials:
            return "client_credentials";
          default:
            EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
            if(overflowContainer)
            {
              return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
            }

            return "";
          }
        }
开发者ID:marcomagdy,项目名称:aws-sdk-cpp,代码行数:20,代码来源:OAuthFlowType.cpp


注:本文中的EnumParseOverflowContainer::RetrieveOverflow方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。