def preset_name=(preset_name)
      validator = EnumAttributeValidator.new('String', ["aac", "avc.intra", "crocodoc", "dash.variant", "dash.variant.audio", "dash.variant.webvtt", "dash.variant.ttml", "dash.variant.playlist", "dash.variant.nvenc", "dash.muxer", "dash.muxer.audio", "dnxhd", "h264", "h264.baseline", "h264.nvenc.telestream.mov", "h264.nvenc", "h265", "h265.4K", "hls.muxer", "hls.muxer.audio", "hls.variant", "hls.variant.audio", "hls.variant.playlist", "hls.variant.nvenc", "hls.variant.webvtt", "hss", "hss.variant", "hss.variant.audio", "hss.variant.playlist", "imx", "iphone_and_ipad", "jpeg", "m4a", "mp3", "mpeg2", "mpegps", "mpegts.h264", "mpegts.mpeg2", "oga", "ogg", "png", "prores422", "quick_one_thumbnail", "thumbnail", "transcript", "vorbis", "webm", "webm.vp8", "webm.vp9", "xdcam"])
      unless validator.valid?(preset_name)
        fail ArgumentError, "invalid value for 'preset_name', must be one of #{validator.allowable_values}."
      end
      @preset_name = preset_name
    end
def preset_name=(preset_name)
      validator = EnumAttributeValidator.new('String', ["aac", "avc.intra", "crocodoc", "dash.variant", "dash.variant.audio", "dash.variant.webvtt", "dash.variant.ttml", "dash.variant.playlist", "dash.variant.nvenc", "dash.muxer", "dash.muxer.audio", "dnxhd", "h264", "h264.baseline", "h264.nvenc.telestream.mov", "h264.nvenc", "h265", "h265.4K", "hls.muxer", "hls.muxer.audio", "hls.variant", "hls.variant.audio", "hls.variant.playlist", "hls.variant.nvenc", "hls.variant.webvtt", "hss", "hss.variant", "hss.variant.audio", "hss.variant.playlist", "imx", "iphone_and_ipad", "jpeg", "m4a", "mp3", "mpeg2", "mpegps", "mpegts.h264", "mpegts.mpeg2", "oga", "ogg", "png", "prores422", "quick_one_thumbnail", "thumbnail", "transcript", "vorbis", "webm", "webm.vp8", "webm.vp9", "xdcam"])
      unless validator.valid?(preset_name)
        fail ArgumentError, "invalid value for 'preset_name', must be one of #{validator.allowable_values}."
      end
      @preset_name = preset_name
    end
Custom attribute writer method checking allowed values (enum).
 @param [Object] preset_name Object to be assigned