toCloudWatchLogsEncoding method

CloudWatchLogsEncoding toCloudWatchLogsEncoding()

Implementation

CloudWatchLogsEncoding toCloudWatchLogsEncoding() {
  switch (this) {
    case 'ascii':
      return CloudWatchLogsEncoding.ascii;
    case 'big5':
      return CloudWatchLogsEncoding.big5;
    case 'big5hkscs':
      return CloudWatchLogsEncoding.big5hkscs;
    case 'cp037':
      return CloudWatchLogsEncoding.cp037;
    case 'cp424':
      return CloudWatchLogsEncoding.cp424;
    case 'cp437':
      return CloudWatchLogsEncoding.cp437;
    case 'cp500':
      return CloudWatchLogsEncoding.cp500;
    case 'cp720':
      return CloudWatchLogsEncoding.cp720;
    case 'cp737':
      return CloudWatchLogsEncoding.cp737;
    case 'cp775':
      return CloudWatchLogsEncoding.cp775;
    case 'cp850':
      return CloudWatchLogsEncoding.cp850;
    case 'cp852':
      return CloudWatchLogsEncoding.cp852;
    case 'cp855':
      return CloudWatchLogsEncoding.cp855;
    case 'cp856':
      return CloudWatchLogsEncoding.cp856;
    case 'cp857':
      return CloudWatchLogsEncoding.cp857;
    case 'cp858':
      return CloudWatchLogsEncoding.cp858;
    case 'cp860':
      return CloudWatchLogsEncoding.cp860;
    case 'cp861':
      return CloudWatchLogsEncoding.cp861;
    case 'cp862':
      return CloudWatchLogsEncoding.cp862;
    case 'cp863':
      return CloudWatchLogsEncoding.cp863;
    case 'cp864':
      return CloudWatchLogsEncoding.cp864;
    case 'cp865':
      return CloudWatchLogsEncoding.cp865;
    case 'cp866':
      return CloudWatchLogsEncoding.cp866;
    case 'cp869':
      return CloudWatchLogsEncoding.cp869;
    case 'cp874':
      return CloudWatchLogsEncoding.cp874;
    case 'cp875':
      return CloudWatchLogsEncoding.cp875;
    case 'cp932':
      return CloudWatchLogsEncoding.cp932;
    case 'cp949':
      return CloudWatchLogsEncoding.cp949;
    case 'cp950':
      return CloudWatchLogsEncoding.cp950;
    case 'cp1006':
      return CloudWatchLogsEncoding.cp1006;
    case 'cp1026':
      return CloudWatchLogsEncoding.cp1026;
    case 'cp1140':
      return CloudWatchLogsEncoding.cp1140;
    case 'cp1250':
      return CloudWatchLogsEncoding.cp1250;
    case 'cp1251':
      return CloudWatchLogsEncoding.cp1251;
    case 'cp1252':
      return CloudWatchLogsEncoding.cp1252;
    case 'cp1253':
      return CloudWatchLogsEncoding.cp1253;
    case 'cp1254':
      return CloudWatchLogsEncoding.cp1254;
    case 'cp1255':
      return CloudWatchLogsEncoding.cp1255;
    case 'cp1256':
      return CloudWatchLogsEncoding.cp1256;
    case 'cp1257':
      return CloudWatchLogsEncoding.cp1257;
    case 'cp1258':
      return CloudWatchLogsEncoding.cp1258;
    case 'euc_jp':
      return CloudWatchLogsEncoding.eucJp;
    case 'euc_jis_2004':
      return CloudWatchLogsEncoding.eucJis_2004;
    case 'euc_jisx0213':
      return CloudWatchLogsEncoding.eucJisx0213;
    case 'euc_kr':
      return CloudWatchLogsEncoding.eucKr;
    case 'gb2312':
      return CloudWatchLogsEncoding.gb2312;
    case 'gbk':
      return CloudWatchLogsEncoding.gbk;
    case 'gb18030':
      return CloudWatchLogsEncoding.gb18030;
    case 'hz':
      return CloudWatchLogsEncoding.hz;
    case 'iso2022_jp':
      return CloudWatchLogsEncoding.iso2022Jp;
    case 'iso2022_jp_1':
      return CloudWatchLogsEncoding.iso2022Jp_1;
    case 'iso2022_jp_2':
      return CloudWatchLogsEncoding.iso2022Jp_2;
    case 'iso2022_jp_2004':
      return CloudWatchLogsEncoding.iso2022Jp_2004;
    case 'iso2022_jp_3':
      return CloudWatchLogsEncoding.iso2022Jp_3;
    case 'iso2022_jp_ext':
      return CloudWatchLogsEncoding.iso2022JpExt;
    case 'iso2022_kr':
      return CloudWatchLogsEncoding.iso2022Kr;
    case 'latin_1':
      return CloudWatchLogsEncoding.latin_1;
    case 'iso8859_2':
      return CloudWatchLogsEncoding.iso8859_2;
    case 'iso8859_3':
      return CloudWatchLogsEncoding.iso8859_3;
    case 'iso8859_4':
      return CloudWatchLogsEncoding.iso8859_4;
    case 'iso8859_5':
      return CloudWatchLogsEncoding.iso8859_5;
    case 'iso8859_6':
      return CloudWatchLogsEncoding.iso8859_6;
    case 'iso8859_7':
      return CloudWatchLogsEncoding.iso8859_7;
    case 'iso8859_8':
      return CloudWatchLogsEncoding.iso8859_8;
    case 'iso8859_9':
      return CloudWatchLogsEncoding.iso8859_9;
    case 'iso8859_10':
      return CloudWatchLogsEncoding.iso8859_10;
    case 'iso8859_13':
      return CloudWatchLogsEncoding.iso8859_13;
    case 'iso8859_14':
      return CloudWatchLogsEncoding.iso8859_14;
    case 'iso8859_15':
      return CloudWatchLogsEncoding.iso8859_15;
    case 'iso8859_16':
      return CloudWatchLogsEncoding.iso8859_16;
    case 'johab':
      return CloudWatchLogsEncoding.johab;
    case 'koi8_r':
      return CloudWatchLogsEncoding.koi8R;
    case 'koi8_u':
      return CloudWatchLogsEncoding.koi8U;
    case 'mac_cyrillic':
      return CloudWatchLogsEncoding.macCyrillic;
    case 'mac_greek':
      return CloudWatchLogsEncoding.macGreek;
    case 'mac_iceland':
      return CloudWatchLogsEncoding.macIceland;
    case 'mac_latin2':
      return CloudWatchLogsEncoding.macLatin2;
    case 'mac_roman':
      return CloudWatchLogsEncoding.macRoman;
    case 'mac_turkish':
      return CloudWatchLogsEncoding.macTurkish;
    case 'ptcp154':
      return CloudWatchLogsEncoding.ptcp154;
    case 'shift_jis':
      return CloudWatchLogsEncoding.shiftJis;
    case 'shift_jis_2004':
      return CloudWatchLogsEncoding.shiftJis_2004;
    case 'shift_jisx0213':
      return CloudWatchLogsEncoding.shiftJisx0213;
    case 'utf_32':
      return CloudWatchLogsEncoding.utf_32;
    case 'utf_32_be':
      return CloudWatchLogsEncoding.utf_32Be;
    case 'utf_32_le':
      return CloudWatchLogsEncoding.utf_32Le;
    case 'utf_16':
      return CloudWatchLogsEncoding.utf_16;
    case 'utf_16_be':
      return CloudWatchLogsEncoding.utf_16Be;
    case 'utf_16_le':
      return CloudWatchLogsEncoding.utf_16Le;
    case 'utf_7':
      return CloudWatchLogsEncoding.utf_7;
    case 'utf_8':
      return CloudWatchLogsEncoding.utf_8;
    case 'utf_8_sig':
      return CloudWatchLogsEncoding.utf_8Sig;
  }
  throw Exception('$this is not known in enum CloudWatchLogsEncoding');
}