本文整理汇总了C++中EnumParseOverflowContainer::StoreOverflow方法的典型用法代码示例。如果您正苦于以下问题:C++ EnumParseOverflowContainer::StoreOverflow方法的具体用法?C++ EnumParseOverflowContainer::StoreOverflow怎么用?C++ EnumParseOverflowContainer::StoreOverflow使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类EnumParseOverflowContainer
的用法示例。
在下文中一共展示了EnumParseOverflowContainer::StoreOverflow方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: GetMessageTypeForName
MessageType GetMessageTypeForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == ConfigurationItemChangeNotification_HASH)
{
return MessageType::ConfigurationItemChangeNotification;
}
else if (hashCode == ConfigurationSnapshotDeliveryCompleted_HASH)
{
return MessageType::ConfigurationSnapshotDeliveryCompleted;
}
else if (hashCode == ScheduledNotification_HASH)
{
return MessageType::ScheduledNotification;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<MessageType>(hashCode);
}
return MessageType::NOT_SET;
}
示例2: GetChannelTypeForName
ChannelType GetChannelTypeForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == Facebook_HASH)
{
return ChannelType::Facebook;
}
else if (hashCode == Slack_HASH)
{
return ChannelType::Slack;
}
else if (hashCode == Twilio_Sms_HASH)
{
return ChannelType::Twilio_Sms;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<ChannelType>(hashCode);
}
return ChannelType::NOT_SET;
}
示例3: GetArtifactCategoryForName
ArtifactCategory GetArtifactCategoryForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == SCREENSHOT_HASH)
{
return ArtifactCategory::SCREENSHOT;
}
else if (hashCode == FILE_HASH)
{
return ArtifactCategory::FILE;
}
else if (hashCode == LOG_HASH)
{
return ArtifactCategory::LOG;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<ArtifactCategory>(hashCode);
}
return ArtifactCategory::NOT_SET;
}
示例4: GetBundleTypeForName
BundleType GetBundleTypeForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == tar_HASH)
{
return BundleType::tar;
}
else if (hashCode == tgz_HASH)
{
return BundleType::tgz;
}
else if (hashCode == zip_HASH)
{
return BundleType::zip;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<BundleType>(hashCode);
}
return BundleType::NOT_SET;
}
示例5: GetRouteOriginForName
RouteOrigin GetRouteOriginForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == CreateRouteTable_HASH)
{
return RouteOrigin::CreateRouteTable;
}
else if (hashCode == CreateRoute_HASH)
{
return RouteOrigin::CreateRoute;
}
else if (hashCode == EnableVgwRoutePropagation_HASH)
{
return RouteOrigin::EnableVgwRoutePropagation;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<RouteOrigin>(hashCode);
}
return RouteOrigin::NOT_SET;
}
示例6: GetFaultForName
Fault GetFaultForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == Client_HASH)
{
return Fault::Client;
}
else if (hashCode == Server_HASH)
{
return Fault::Server;
}
else if (hashCode == Unknown_HASH)
{
return Fault::Unknown;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<Fault>(hashCode);
}
return Fault::NOT_SET;
}
示例7: GetOAuthFlowTypeForName
OAuthFlowType GetOAuthFlowTypeForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == code_HASH)
{
return OAuthFlowType::code;
}
else if (hashCode == implicit_HASH)
{
return OAuthFlowType::implicit;
}
else if (hashCode == client_credentials_HASH)
{
return OAuthFlowType::client_credentials;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<OAuthFlowType>(hashCode);
}
return OAuthFlowType::NOT_SET;
}
示例8: GetMetricNameForName
MetricName GetMetricNameForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == ActivatingGameSessions_HASH)
{
return MetricName::ActivatingGameSessions;
}
else if (hashCode == ActiveGameSessions_HASH)
{
return MetricName::ActiveGameSessions;
}
else if (hashCode == ActiveInstances_HASH)
{
return MetricName::ActiveInstances;
}
else if (hashCode == AvailablePlayerSessions_HASH)
{
return MetricName::AvailablePlayerSessions;
}
else if (hashCode == CurrentPlayerSessions_HASH)
{
return MetricName::CurrentPlayerSessions;
}
else if (hashCode == IdleInstances_HASH)
{
return MetricName::IdleInstances;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<MetricName>(hashCode);
}
return MetricName::NOT_SET;
}
示例9: GetActionConfigurationPropertyTypeForName
ActionConfigurationPropertyType GetActionConfigurationPropertyTypeForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == String_HASH)
{
return ActionConfigurationPropertyType::String;
}
else if (hashCode == Number_HASH)
{
return ActionConfigurationPropertyType::Number;
}
else if (hashCode == Boolean_HASH)
{
return ActionConfigurationPropertyType::Boolean;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<ActionConfigurationPropertyType>(hashCode);
}
return ActionConfigurationPropertyType::NOT_SET;
}
示例10: GetComputeTypeForName
ComputeType GetComputeTypeForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == BUILD_GENERAL1_SMALL_HASH)
{
return ComputeType::BUILD_GENERAL1_SMALL;
}
else if (hashCode == BUILD_GENERAL1_MEDIUM_HASH)
{
return ComputeType::BUILD_GENERAL1_MEDIUM;
}
else if (hashCode == BUILD_GENERAL1_LARGE_HASH)
{
return ComputeType::BUILD_GENERAL1_LARGE;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<ComputeType>(hashCode);
}
return ComputeType::NOT_SET;
}
示例11: GetLanguageCodeForName
LanguageCode GetLanguageCodeForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == en_HASH)
{
return LanguageCode::en;
}
else if (hashCode == es_HASH)
{
return LanguageCode::es;
}
else if (hashCode == fr_HASH)
{
return LanguageCode::fr;
}
else if (hashCode == de_HASH)
{
return LanguageCode::de;
}
else if (hashCode == it_HASH)
{
return LanguageCode::it;
}
else if (hashCode == pt_HASH)
{
return LanguageCode::pt;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<LanguageCode>(hashCode);
}
return LanguageCode::NOT_SET;
}
示例12: GetProjectSortByTypeForName
ProjectSortByType GetProjectSortByTypeForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == NAME_HASH)
{
return ProjectSortByType::NAME;
}
else if (hashCode == CREATED_TIME_HASH)
{
return ProjectSortByType::CREATED_TIME;
}
else if (hashCode == LAST_MODIFIED_TIME_HASH)
{
return ProjectSortByType::LAST_MODIFIED_TIME;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<ProjectSortByType>(hashCode);
}
return ProjectSortByType::NOT_SET;
}
示例13: GetCloudHsmObjectStateForName
CloudHsmObjectState GetCloudHsmObjectStateForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == READY_HASH)
{
return CloudHsmObjectState::READY;
}
else if (hashCode == UPDATING_HASH)
{
return CloudHsmObjectState::UPDATING;
}
else if (hashCode == DEGRADED_HASH)
{
return CloudHsmObjectState::DEGRADED;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<CloudHsmObjectState>(hashCode);
}
return CloudHsmObjectState::NOT_SET;
}
示例14: GetChangeTokenStatusForName
ChangeTokenStatus GetChangeTokenStatusForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == PROVISIONED_HASH)
{
return ChangeTokenStatus::PROVISIONED;
}
else if (hashCode == PENDING_HASH)
{
return ChangeTokenStatus::PENDING;
}
else if (hashCode == INSYNC_HASH)
{
return ChangeTokenStatus::INSYNC;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<ChangeTokenStatus>(hashCode);
}
return ChangeTokenStatus::NOT_SET;
}
示例15: GetGeoRestrictionTypeForName
GeoRestrictionType GetGeoRestrictionTypeForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == blacklist_HASH)
{
return GeoRestrictionType::blacklist;
}
else if (hashCode == whitelist_HASH)
{
return GeoRestrictionType::whitelist;
}
else if (hashCode == none_HASH)
{
return GeoRestrictionType::none;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<GeoRestrictionType>(hashCode);
}
return GeoRestrictionType::NOT_SET;
}