static bool GetEnumForNameHelper1()

in aws-cpp-sdk-waf/source/model/GeoMatchConstraintValue.cpp [892:1505]


        static bool GetEnumForNameHelper1(int hashCode, GeoMatchConstraintValue& enumValue)
        {
          if (hashCode == LV_HASH)
          {
            enumValue = GeoMatchConstraintValue::LV;
            return true;
          }
          else if (hashCode == LB_HASH)
          {
            enumValue = GeoMatchConstraintValue::LB;
            return true;
          }
          else if (hashCode == LS_HASH)
          {
            enumValue = GeoMatchConstraintValue::LS;
            return true;
          }
          else if (hashCode == LR_HASH)
          {
            enumValue = GeoMatchConstraintValue::LR;
            return true;
          }
          else if (hashCode == LY_HASH)
          {
            enumValue = GeoMatchConstraintValue::LY;
            return true;
          }
          else if (hashCode == LI_HASH)
          {
            enumValue = GeoMatchConstraintValue::LI;
            return true;
          }
          else if (hashCode == LT_HASH)
          {
            enumValue = GeoMatchConstraintValue::LT;
            return true;
          }
          else if (hashCode == LU_HASH)
          {
            enumValue = GeoMatchConstraintValue::LU;
            return true;
          }
          else if (hashCode == MO_HASH)
          {
            enumValue = GeoMatchConstraintValue::MO;
            return true;
          }
          else if (hashCode == MK_HASH)
          {
            enumValue = GeoMatchConstraintValue::MK;
            return true;
          }
          else if (hashCode == MG_HASH)
          {
            enumValue = GeoMatchConstraintValue::MG;
            return true;
          }
          else if (hashCode == MW_HASH)
          {
            enumValue = GeoMatchConstraintValue::MW;
            return true;
          }
          else if (hashCode == MY_HASH)
          {
            enumValue = GeoMatchConstraintValue::MY;
            return true;
          }
          else if (hashCode == MV_HASH)
          {
            enumValue = GeoMatchConstraintValue::MV;
            return true;
          }
          else if (hashCode == ML_HASH)
          {
            enumValue = GeoMatchConstraintValue::ML;
            return true;
          }
          else if (hashCode == MT_HASH)
          {
            enumValue = GeoMatchConstraintValue::MT;
            return true;
          }
          else if (hashCode == MH_HASH)
          {
            enumValue = GeoMatchConstraintValue::MH;
            return true;
          }
          else if (hashCode == MQ_HASH)
          {
            enumValue = GeoMatchConstraintValue::MQ;
            return true;
          }
          else if (hashCode == MR_HASH)
          {
            enumValue = GeoMatchConstraintValue::MR;
            return true;
          }
          else if (hashCode == MU_HASH)
          {
            enumValue = GeoMatchConstraintValue::MU;
            return true;
          }
          else if (hashCode == YT_HASH)
          {
            enumValue = GeoMatchConstraintValue::YT;
            return true;
          }
          else if (hashCode == MX_HASH)
          {
            enumValue = GeoMatchConstraintValue::MX;
            return true;
          }
          else if (hashCode == FM_HASH)
          {
            enumValue = GeoMatchConstraintValue::FM;
            return true;
          }
          else if (hashCode == MD_HASH)
          {
            enumValue = GeoMatchConstraintValue::MD;
            return true;
          }
          else if (hashCode == MC_HASH)
          {
            enumValue = GeoMatchConstraintValue::MC;
            return true;
          }
          else if (hashCode == MN_HASH)
          {
            enumValue = GeoMatchConstraintValue::MN;
            return true;
          }
          else if (hashCode == ME_HASH)
          {
            enumValue = GeoMatchConstraintValue::ME;
            return true;
          }
          else if (hashCode == MS_HASH)
          {
            enumValue = GeoMatchConstraintValue::MS;
            return true;
          }
          else if (hashCode == MA_HASH)
          {
            enumValue = GeoMatchConstraintValue::MA;
            return true;
          }
          else if (hashCode == MZ_HASH)
          {
            enumValue = GeoMatchConstraintValue::MZ;
            return true;
          }
          else if (hashCode == MM_HASH)
          {
            enumValue = GeoMatchConstraintValue::MM;
            return true;
          }
          else if (hashCode == NA_HASH)
          {
            enumValue = GeoMatchConstraintValue::NA;
            return true;
          }
          else if (hashCode == NR_HASH)
          {
            enumValue = GeoMatchConstraintValue::NR;
            return true;
          }
          else if (hashCode == NP_HASH)
          {
            enumValue = GeoMatchConstraintValue::NP;
            return true;
          }
          else if (hashCode == NL_HASH)
          {
            enumValue = GeoMatchConstraintValue::NL;
            return true;
          }
          else if (hashCode == NC_HASH)
          {
            enumValue = GeoMatchConstraintValue::NC;
            return true;
          }
          else if (hashCode == NZ_HASH)
          {
            enumValue = GeoMatchConstraintValue::NZ;
            return true;
          }
          else if (hashCode == NI_HASH)
          {
            enumValue = GeoMatchConstraintValue::NI;
            return true;
          }
          else if (hashCode == NE_HASH)
          {
            enumValue = GeoMatchConstraintValue::NE;
            return true;
          }
          else if (hashCode == NG_HASH)
          {
            enumValue = GeoMatchConstraintValue::NG;
            return true;
          }
          else if (hashCode == NU_HASH)
          {
            enumValue = GeoMatchConstraintValue::NU;
            return true;
          }
          else if (hashCode == NF_HASH)
          {
            enumValue = GeoMatchConstraintValue::NF;
            return true;
          }
          else if (hashCode == MP_HASH)
          {
            enumValue = GeoMatchConstraintValue::MP;
            return true;
          }
          else if (hashCode == NO_HASH)
          {
            enumValue = GeoMatchConstraintValue::NO;
            return true;
          }
          else if (hashCode == OM_HASH)
          {
            enumValue = GeoMatchConstraintValue::OM;
            return true;
          }
          else if (hashCode == PK_HASH)
          {
            enumValue = GeoMatchConstraintValue::PK;
            return true;
          }
          else if (hashCode == PW_HASH)
          {
            enumValue = GeoMatchConstraintValue::PW;
            return true;
          }
          else if (hashCode == PS_HASH)
          {
            enumValue = GeoMatchConstraintValue::PS;
            return true;
          }
          else if (hashCode == PA_HASH)
          {
            enumValue = GeoMatchConstraintValue::PA;
            return true;
          }
          else if (hashCode == PG_HASH)
          {
            enumValue = GeoMatchConstraintValue::PG;
            return true;
          }
          else if (hashCode == PY_HASH)
          {
            enumValue = GeoMatchConstraintValue::PY;
            return true;
          }
          else if (hashCode == PE_HASH)
          {
            enumValue = GeoMatchConstraintValue::PE;
            return true;
          }
          else if (hashCode == PH_HASH)
          {
            enumValue = GeoMatchConstraintValue::PH;
            return true;
          }
          else if (hashCode == PN_HASH)
          {
            enumValue = GeoMatchConstraintValue::PN;
            return true;
          }
          else if (hashCode == PL_HASH)
          {
            enumValue = GeoMatchConstraintValue::PL;
            return true;
          }
          else if (hashCode == PT_HASH)
          {
            enumValue = GeoMatchConstraintValue::PT;
            return true;
          }
          else if (hashCode == PR_HASH)
          {
            enumValue = GeoMatchConstraintValue::PR;
            return true;
          }
          else if (hashCode == QA_HASH)
          {
            enumValue = GeoMatchConstraintValue::QA;
            return true;
          }
          else if (hashCode == RE_HASH)
          {
            enumValue = GeoMatchConstraintValue::RE;
            return true;
          }
          else if (hashCode == RO_HASH)
          {
            enumValue = GeoMatchConstraintValue::RO;
            return true;
          }
          else if (hashCode == RU_HASH)
          {
            enumValue = GeoMatchConstraintValue::RU;
            return true;
          }
          else if (hashCode == RW_HASH)
          {
            enumValue = GeoMatchConstraintValue::RW;
            return true;
          }
          else if (hashCode == BL_HASH)
          {
            enumValue = GeoMatchConstraintValue::BL;
            return true;
          }
          else if (hashCode == SH_HASH)
          {
            enumValue = GeoMatchConstraintValue::SH;
            return true;
          }
          else if (hashCode == KN_HASH)
          {
            enumValue = GeoMatchConstraintValue::KN;
            return true;
          }
          else if (hashCode == LC_HASH)
          {
            enumValue = GeoMatchConstraintValue::LC;
            return true;
          }
          else if (hashCode == MF_HASH)
          {
            enumValue = GeoMatchConstraintValue::MF;
            return true;
          }
          else if (hashCode == PM_HASH)
          {
            enumValue = GeoMatchConstraintValue::PM;
            return true;
          }
          else if (hashCode == VC_HASH)
          {
            enumValue = GeoMatchConstraintValue::VC;
            return true;
          }
          else if (hashCode == WS_HASH)
          {
            enumValue = GeoMatchConstraintValue::WS;
            return true;
          }
          else if (hashCode == SM_HASH)
          {
            enumValue = GeoMatchConstraintValue::SM;
            return true;
          }
          else if (hashCode == ST_HASH)
          {
            enumValue = GeoMatchConstraintValue::ST;
            return true;
          }
          else if (hashCode == SA_HASH)
          {
            enumValue = GeoMatchConstraintValue::SA;
            return true;
          }
          else if (hashCode == SN_HASH)
          {
            enumValue = GeoMatchConstraintValue::SN;
            return true;
          }
          else if (hashCode == RS_HASH)
          {
            enumValue = GeoMatchConstraintValue::RS;
            return true;
          }
          else if (hashCode == SC_HASH)
          {
            enumValue = GeoMatchConstraintValue::SC;
            return true;
          }
          else if (hashCode == SL_HASH)
          {
            enumValue = GeoMatchConstraintValue::SL;
            return true;
          }
          else if (hashCode == SG_HASH)
          {
            enumValue = GeoMatchConstraintValue::SG;
            return true;
          }
          else if (hashCode == SX_HASH)
          {
            enumValue = GeoMatchConstraintValue::SX;
            return true;
          }
          else if (hashCode == SK_HASH)
          {
            enumValue = GeoMatchConstraintValue::SK;
            return true;
          }
          else if (hashCode == SI_HASH)
          {
            enumValue = GeoMatchConstraintValue::SI;
            return true;
          }
          else if (hashCode == SB_HASH)
          {
            enumValue = GeoMatchConstraintValue::SB;
            return true;
          }
          else if (hashCode == SO_HASH)
          {
            enumValue = GeoMatchConstraintValue::SO;
            return true;
          }
          else if (hashCode == ZA_HASH)
          {
            enumValue = GeoMatchConstraintValue::ZA;
            return true;
          }
          else if (hashCode == GS_HASH)
          {
            enumValue = GeoMatchConstraintValue::GS;
            return true;
          }
          else if (hashCode == SS_HASH)
          {
            enumValue = GeoMatchConstraintValue::SS;
            return true;
          }
          else if (hashCode == ES_HASH)
          {
            enumValue = GeoMatchConstraintValue::ES;
            return true;
          }
          else if (hashCode == LK_HASH)
          {
            enumValue = GeoMatchConstraintValue::LK;
            return true;
          }
          else if (hashCode == SD_HASH)
          {
            enumValue = GeoMatchConstraintValue::SD;
            return true;
          }
          else if (hashCode == SR_HASH)
          {
            enumValue = GeoMatchConstraintValue::SR;
            return true;
          }
          else if (hashCode == SJ_HASH)
          {
            enumValue = GeoMatchConstraintValue::SJ;
            return true;
          }
          else if (hashCode == SZ_HASH)
          {
            enumValue = GeoMatchConstraintValue::SZ;
            return true;
          }
          else if (hashCode == SE_HASH)
          {
            enumValue = GeoMatchConstraintValue::SE;
            return true;
          }
          else if (hashCode == CH_HASH)
          {
            enumValue = GeoMatchConstraintValue::CH;
            return true;
          }
          else if (hashCode == SY_HASH)
          {
            enumValue = GeoMatchConstraintValue::SY;
            return true;
          }
          else if (hashCode == TW_HASH)
          {
            enumValue = GeoMatchConstraintValue::TW;
            return true;
          }
          else if (hashCode == TJ_HASH)
          {
            enumValue = GeoMatchConstraintValue::TJ;
            return true;
          }
          else if (hashCode == TZ_HASH)
          {
            enumValue = GeoMatchConstraintValue::TZ;
            return true;
          }
          else if (hashCode == TH_HASH)
          {
            enumValue = GeoMatchConstraintValue::TH;
            return true;
          }
          else if (hashCode == TL_HASH)
          {
            enumValue = GeoMatchConstraintValue::TL;
            return true;
          }
          else if (hashCode == TG_HASH)
          {
            enumValue = GeoMatchConstraintValue::TG;
            return true;
          }
          else if (hashCode == TK_HASH)
          {
            enumValue = GeoMatchConstraintValue::TK;
            return true;
          }
          else if (hashCode == TO_HASH)
          {
            enumValue = GeoMatchConstraintValue::TO;
            return true;
          }
          else if (hashCode == TT_HASH)
          {
            enumValue = GeoMatchConstraintValue::TT;
            return true;
          }
          else if (hashCode == TN_HASH)
          {
            enumValue = GeoMatchConstraintValue::TN;
            return true;
          }
          else if (hashCode == TR_HASH)
          {
            enumValue = GeoMatchConstraintValue::TR;
            return true;
          }
          else if (hashCode == TM_HASH)
          {
            enumValue = GeoMatchConstraintValue::TM;
            return true;
          }
          else if (hashCode == TC_HASH)
          {
            enumValue = GeoMatchConstraintValue::TC;
            return true;
          }
          else if (hashCode == TV_HASH)
          {
            enumValue = GeoMatchConstraintValue::TV;
            return true;
          }
          else if (hashCode == UG_HASH)
          {
            enumValue = GeoMatchConstraintValue::UG;
            return true;
          }
          else if (hashCode == UA_HASH)
          {
            enumValue = GeoMatchConstraintValue::UA;
            return true;
          }
          else if (hashCode == AE_HASH)
          {
            enumValue = GeoMatchConstraintValue::AE;
            return true;
          }
          else if (hashCode == GB_HASH)
          {
            enumValue = GeoMatchConstraintValue::GB;
            return true;
          }
          else if (hashCode == US_HASH)
          {
            enumValue = GeoMatchConstraintValue::US;
            return true;
          }
          else if (hashCode == UM_HASH)
          {
            enumValue = GeoMatchConstraintValue::UM;
            return true;
          }
          else if (hashCode == UY_HASH)
          {
            enumValue = GeoMatchConstraintValue::UY;
            return true;
          }
          else if (hashCode == UZ_HASH)
          {
            enumValue = GeoMatchConstraintValue::UZ;
            return true;
          }
          else if (hashCode == VU_HASH)
          {
            enumValue = GeoMatchConstraintValue::VU;
            return true;
          }
          else if (hashCode == VE_HASH)
          {
            enumValue = GeoMatchConstraintValue::VE;
            return true;
          }
          else if (hashCode == VN_HASH)
          {
            enumValue = GeoMatchConstraintValue::VN;
            return true;
          }
          else if (hashCode == VG_HASH)
          {
            enumValue = GeoMatchConstraintValue::VG;
            return true;
          }
          else if (hashCode == VI_HASH)
          {
            enumValue = GeoMatchConstraintValue::VI;
            return true;
          }
          return false;
        }