本文整理汇总了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 "";
}
}
示例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 "";
}
}
示例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 "";
}
}
示例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 "";
}
}
示例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 "";
}
}
示例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 "";
}
}
示例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 "";
}
}
示例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 "";
}
}
示例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 "";
}
}
示例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 "";
}
}
示例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 "";
}
}
示例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 "";
}
}
示例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 "";
}
}
示例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 "";
}
}
示例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 "";
}
}